Home › forums › Using CanvasJS › Vertical lines with candlestick charts and displaying custom values
Tagged: candlestick chart
This topic contains 2 replies, has 2 voices, and was last updated by EpiphanyMania 1 year, 6 months ago.
I have a requirement from a client. To draw a vertical line on a candlestick chart, the tooltips on the vertical line must indicate the max value in the visible range. I used strip lines for adding a vertical line. But I’m not able to get the functionality of displaying maximum value of the visible range in the tooltip. Is there a way to do it?
Sorry, as of now tooltip is shown only for dataPoints. However, for showing the maximum y value on the stripLines (vertical lines) you can use corresponding stripLines label. Please take a look at this example.
Was very helpful. Thanks for the reply
You must be logged in to reply to this topic.