Home Forums Chart Support Remove weekend days from chart

Remove weekend days from chart

Viewing 5 posts - 1 through 5 (of 5 total)
  • #14964

    it

    Hi,

    I need to remove weekend days from this chart https://canvasjs.com/docs/charts/chart-types/html5-candle-stick-chart/

    Can you help me?

    #14971

    @itadmin,

    When you set date-time values to “x” it is not possible to skip weekends and holidays. Axis behaves linearly across the date range.

    In cases where you want to show only working days, then its better to use “label” instead of “x”. But it requires you to format the date/time into required string format before assigning. You can use the formatDate() to do the same. Here is a page on label.

    ___
    Suyash Singh
    Team CanvasJS

    #14996

    it

    Hi,

    Thanks.

    Do you have some full example?

    I use that for display currency values, so that chart also need to be live…

    #14999

    @itadmin,

    Please have a look at this jsfiddle.

    ___
    Suyash Singh
    Team CanvasJS

    #17186

    @itadmin,

    [update]

    We have just released v2.0 GA with axis scale-breaks, 5 new chart types & several other features. Please refer the release blog for more information & let us know your feedback.

    We have just released v2.0 Beta 1 with axis scale-breaks, new chart-types, crosshair, and new themes. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.
    ___
    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.