Is it possible to change contour levels in TChartEditor ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Geocentrix
Newbie
Newbie
Posts: 8
Joined: Thu Sep 30, 2021 12:00 am

Is it possible to change contour levels in TChartEditor ?

Post by Geocentrix » Wed Jun 04, 2025 9:10 am

I am creating a countour plot in C++Builder via code. However, I am struggling to get appropriate contour levels and wondered whether the TChartEditor provides any way of adjusting the contours at run-time?

I cannot find anything in the user interface to edit the contour levels. Are there options ther that I am missing? If so, where?

Do I have to set particular flags for TChartEditor in my C++ code to add allow me to edit contour levels at run-time?

I'd be grateful if anyone could help me.

Thanks

Andrew

Yeray
Site Admin
Site Admin
Posts: 9683
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Is it possible to change contour levels in TChartEditor ?

Post by Yeray » Thu Jun 05, 2025 11:35 am

Hello Andrew,

You can show the "Levels" tab in the Chart Editor adding the "TeeContourEdit" pragma link:

.cpp:

Code: Select all

#pragma link "VCLTee.TeeContourEdit"
Levels_editor.png
Levels_editor.png (21.78 KiB) Viewed 288 times
Then you can untick the "automatic" checkbox and play with the levels.

Finally, please note that we discourage giving users access to the Chart Editor. The Chart Editor is designed to help developers create their charts; it is not intended or recommended for end users because it offers so many options that it is quite easy to select settings that make little or no sense.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Geocentrix
Newbie
Newbie
Posts: 8
Joined: Thu Sep 30, 2021 12:00 am

Re: Is it possible to change contour levels in TChartEditor ?

Post by Geocentrix » Fri Jun 06, 2025 8:53 am

Yeray

Thanks - that helps.

Andrew

Post Reply