highlight youngest point in standard trend

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
boticheli
Posts:2
Joined: Fri Jun 14, 2019 12:24 pm

highlight youngest point in standard trend

Post by boticheli »

Hello,

I want to have trend line without points and to highlight the youngest point as i.e. red square. Just the last, youngest point of the curve.
There is "curveYoungestPointColor" function but it is apparently just for value-over-value trends, but I need this functionality for standard value-time trend. Any clue?
Version is v3.18.

Could I represent curve with just the one point, the youngest point? And how?

BR

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: highlight youngest point in standard trend

Post by gschijndel »

boticheli wrote: ↑ Mon Feb 28, 2022 10:09 pm Could I represent curve with just the one point, the youngest point? And how?

With the trend property 'curveValues' you could read the values of your pointless curve and set the value of the highlight curve. Not sure if this will remove the previous point, but it can be removed with 'curveRemoveData'.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: highlight youngest point in standard trend

Post by leoknipp »

A trend will always draw a line for the values which have been received while the trend was opened.
What is the use case of having a trend without a trend curve?

Best Regards
Leopold Knipp
Senior Support Specialist

3 posts • Page 1 of 1