Home forums Chart Support scalebreaks and StockChart weekends

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32176

    Is there a proven answer for adding scalebreaks for stockcharts, removing weekends and holidays?

    Autobreaks seem to leave X axis and datapoints out of alignment.

    #32183

    @grantbeckmann,

    You can use customBreaks for removing weekend gap from the chart. With the use of scaleBreaks, there are possibilities that the axis labels may appear at an unequal interval and they may overlap with each other. You can overcome this by using stripLines’s label.

    Please take a look at this JSFiddle for an example on the same.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.