Home Forums StockChart Support Trend line with slope in stock chart

Trend line with slope in stock chart

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

    Hi,
    There seems to be way to draw trend lines parallel to the axis, but how can I draw a trend line with an arbitrary slope?

    I’m using the JavaScript based library

    Thanks
    Tülle

    #44018

    Tülle,

    You can add another dataseries of line type to show a trend line with a slope. Please take a look at this JSFiddle for an example of your requirement.

    StockChart with trend line
    __
    Rohith Nagaral
    Team CanvasJS

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

You must be logged in to reply to this topic.