Home Forums StockChart Support How to add custom timing line in a line graph in x axis

How to add custom timing line in a line graph in x axis

Viewing 2 posts - 1 through 2 (of 2 total)
  • #35245

    stock chart
    Can anyone help me i need to implement timings scale, in the above image you’ll find start time and end time in red color how can i implement it

    #35262

    @yashwanthgowda07,

    You can use stripLines on X-axis to draw a vertical line on a specific position on the chart to implement timings scale on the X-axis. To change the color of the strip lines, you can use the color property and you can use label property to set the labels for strip lines.

    JavaScript Candlestick Chart with StripLine on X-axis


    Adithya Menon
    Team CanvasJS

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

You must be logged in to reply to this topic.