Page 1 of 1

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

Posted: Mon Aug 19, 2024 9:57 am
by 16594956
We often show process values/parameters using multiple Line series:
Capture.PNG
Capture.PNG (213.53 KiB) Viewed 17317 times
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 something on the Canvas in the OnAfterDraw event of the Chart etc.

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

Posted: Mon Aug 19, 2024 11:52 am
by yeray
Hello,

I believe you are trying to achieve something very similar to what was discussed in this thread.
Take a look at the example here.

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

Posted: Mon Aug 19, 2024 5:12 pm
by 16594956
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.
CaptureNew.PNG
CaptureNew.PNG (245.7 KiB) Viewed 17279 times
But maybe I will use your tip for some other purpose.

Thanks and best regards,

Thomas

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

Posted: Tue Aug 20, 2024 6:44 am
by yeray
Hello,

Of course drawing the horizontal threshold line(s) is just an option.
Also note it's simpler if you only want to draw pointers where the values are out of the range; the tricky part in that example was to change the line pen between the in-range and the out-range points.