Home forums Using CanvasJS Vertical lines with candlestick charts and displaying custom values

This topic contains 2 replies, has 2 voices, and was last updated by  EpiphanyMania 1 month, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17302

    Hi,
    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?

    #17317

    Sanjoy
    Moderator

    @epiphanymania,

    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.

    #17319

    Was very helpful. Thanks for the reply

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.