Home › forums › Using CanvasJS › how to real time set marker when condition meet?
This topic contains 3 replies, has 2 voices, and was last updated by Priyanka M S 10 months, 2 weeks ago.
how to real time set marker dynamically in dynamic line graph when condition meet?
such as an indicator of anomaly
Can you kindly share a pictorial representation or jsfiddle depicting your requirement, so that we can understand your requirement better and help you out?
Priyanka M S
Can detect a spike in line graph ?
Can it be coded to do a marker dynamically when receive a data tell it to do a marker when it draw a dynamic line graph?
It is possible to make the marker visible only when condition is met. For which, you need to set markerSize to zero at dataSeries level and set the markerSize to a desired value for the dataPoint that satisfies the condition. Please take a look at this jsfiddle.
You must be logged in to reply to this topic.