Home forums Using CanvasJS Stock quote remove Sunday and Saturday dates

This topic contains 5 replies, has 2 voices, and was last updated by  Priyanka M S 4 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23127

    scriptzguru
    Member

    Hello for historical stock quotes for line chart how to remove Saturday and Sunday and also how to set custom date range for X axis. Thank you .

    #23132

    Priyanka M S
    Member

    @scriptzguru,

    Please take a look at this jsfiddle. You can also use scaleBreaks to achieve the same.

    __
    Priyanka M S
    Team CanvasJS

    #23142

    scriptzguru
    Member

    Thank you, may I know how to convert 2018-10-04 to 02T11 format ?

    #23143

    scriptzguru
    Member

    and My stock qoute is per day not per times in a day , so May I know how to customize it ? it contains just dates , no time .

    #23147

    scriptzguru
    Member

    hi , and I want multiple line chart on this , is it possible ? Thx .

    #23154

    Priyanka M S
    Member

    @scriptzguru,

    may I know how to convert 2018-10-04 to 02T11 format ?

    You can use valueFormatString to format x-values along axisX and xValueFormatString to format x-values in indexLabel or toolTip according to your requirement.

    and I want multiple line chart on this , is it possible ?

    Yes. Please refer to our documentation rendering multi-series charts.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.