Search found 18 matches

by X-ray
Wed Aug 20, 2025 5:54 am
Forum: VCL
Topic: How to add Text to annotation of ColorLineTool
Replies: 6
Views: 3189

Re: How to add Text to annotation of ColorLineTool

Thanks, Yeray, this works like a Charm, perfect!
Just this doesn't compile under VCL:

Code: Select all

 Chart1.Canvas.Brush.Transparency:=200;
I think thats maybe FMX only?
by X-ray
Tue Aug 19, 2025 8:56 am
Forum: VCL
Topic: How to add Text to annotation of ColorLineTool
Replies: 6
Views: 3189

Re: How to add Text to annotation of ColorLineTool

Hello,
The 2 lines produce 4 quadrants. Is it possible to draw one of the quadrants with a different background color?.
Actually the left/bottom one.
SNRvsWPercentQuadrant.png
4 Quadrants
SNRvsWPercentQuadrant.png (194.32 KiB) Viewed 1685 times
by X-ray
Mon Aug 18, 2025 5:39 pm
Forum: VCL
Topic: How to add Text to annotation of ColorLineTool
Replies: 6
Views: 3189

Re: How to add Text to annotation of ColorLineTool

Hello Yeray,

Thanks, that works fine now!
by X-ray
Tue Aug 12, 2025 8:38 am
Forum: VCL
Topic: How to add Text to annotation of ColorLineTool
Replies: 6
Views: 3189

How to add Text to annotation of ColorLineTool

Hello TeeChart Team, How can I add (prefix) some text to the numerical output (Annotation) shown of the TColorLineTool? I tried to change the Text in the OnDragLine Event like: procedure TfrmXYPlot.XYLimitDragLine(Sender: TColorLineTool); begin Sender.Annotation.Text := 'XY Limit: ' + Sender.Value.T...
by X-ray
Fri Jul 11, 2025 3:03 pm
Forum: VCL
Topic: Performance Issue
Replies: 2
Views: 23169

Re: Performance Issue

Hello Yeray, By Binning the Matrix down to about screen resolution I was able to improve the performance. In addition I used Series.SetNull(Index) to hide areas. Like this: if FIsoLines3D then begin var IndexSurface := ScanSurfaceSeries.AddXYZ(aX, ScanSurfaceSeries.DefaultNullValue, aZ); ScanSurface...
by X-ray
Thu Jul 10, 2025 1:23 pm
Forum: VCL
Topic: Performance Issue
Replies: 2
Views: 23169

Performance Issue

Hello, We have some performance problems drawing large TColorGridSeries of sparse matrices, see attached plot. Basically, there is only the small diagonal patch in the middle where there is data to plot: IsoLinesPlotScreenshot 2025-07-10 150510.png The area of the Red Triangles is empty and doesn’t ...
by X-ray
Mon Aug 19, 2024 5:12 pm
Forum: VCL
Topic: How to best show/highlight series values that are hitting min/max limits?
Replies: 3
Views: 42710

Re: How to best show/highlight series values that are hitting min/max limits?

Hello Yeray, Thanks for the Tip, but all these lines add too much "Noise" to the graphics. I am now creating an extra TPointSeries that contains the violating Points as Yellow semitransparent circles. So the graphics only gets more populated with "stuff" in case there are min/max violations. Capture...
by X-ray
Mon Aug 19, 2024 9:57 am
Forum: VCL
Topic: How to best show/highlight series values that are hitting min/max limits?
Replies: 3
Views: 42710

How to best show/highlight series values that are hitting min/max limits?

We often show process values/parameters using multiple Line series: Capture.PNG Now we want to highlight values per Line series that are outside certain user given min/max limits. Is there a TChart Tool or a certain Series for that, or do we need to develop our own tool for that? Like drawing someth...
by X-ray
Fri Apr 05, 2024 10:07 am
Forum: VCL
Topic: How to get correct Legend for ColorGrid AND Line Series
Replies: 7
Views: 67945

Re: How to get correct Legend for ColorGrid AND Line Series

Ok, I just had to populate the Title properties of the Line Series, all perfect now, thanks!
Latest2Capture.PNG
Latest2Capture.PNG (498.9 KiB) Viewed 67877 times
by X-ray
Fri Apr 05, 2024 9:38 am
Forum: VCL
Topic: How to get correct Legend for ColorGrid AND Line Series
Replies: 7
Views: 67945

Re: How to get correct Legend for ColorGrid AND Line Series

Thanks a lot, we are practically there: NewCapture.PNG I am setting the Position in the Create of the form but it looks like I need to update the position of the extra legend before the painting. One other quick question, how can I change/influence the texts that are shown in the Extra legend, I'd l...
by X-ray
Thu Apr 04, 2024 2:03 pm
Forum: VCL
Topic: How to get correct Legend for ColorGrid AND Line Series
Replies: 7
Views: 67945

Re: How to get correct Legend for ColorGrid AND Line Series

To phrase this question differently, how can I explicitly decide in which of both (or more) Legends any Series is shown?
Because Series.ShowInLegend is global for all Legends.
by X-ray
Thu Apr 04, 2024 7:36 am
Forum: VCL
Topic: How to get correct Legend for ColorGrid AND Line Series
Replies: 7
Views: 67945

Re: How to get correct Legend for ColorGrid AND Line Series

Hello Yeray,

Thanks for the quick response, that indeed seems to be a way to proceed.
But how can I make sure to just just show the 3 Line Series in THAT extra legend?

Best regards,

Thomas
by X-ray
Wed Apr 03, 2024 1:59 pm
Forum: VCL
Topic: How to get correct Legend for ColorGrid AND Line Series
Replies: 7
Views: 67945

How to get correct Legend for ColorGrid AND Line Series

Hello, We produce graphics like in the attached plot with TChart, where we use a ColorGrid plus 3 Line Series. Usually we display the Colors of the Color Grid in the Legend. Now we want in addition to show a legend for the 3 Line Series. But when we include the Line Series in the Legend the Color Gr...
by X-ray
Fri Dec 15, 2023 9:05 pm
Forum: VCL
Topic: Palette Update Problem
Replies: 2
Views: 25730

Re: Palette Update Problem

I just found out that I can fix this problem by calling "CreateDefaultPalette()" After populating TSurfaceSeries or TColorGridSeries.
That call was not required in previous versions of TChart VCL.
by X-ray
Fri Dec 15, 2023 1:30 pm
Forum: VCL
Topic: Palette Update Problem
Replies: 2
Views: 25730

Palette Update Problem

Hello TChart Team, There is a problem/bug since the latest version of TChart VCL, with the Display of 3DGridSeries when "UsePalette" is set/used. Everything is displayed in just ONE color and the Legend just shows Zeros. PaletteProblemCapture1.PNG When I then go into the Chart dialog and Set "UsePal...