Home forums Using CanvasJS Problem in plotting line graph

Tagged: 

This topic contains 6 replies, has 4 voices, and was last updated by  Suyash Singh 3 months, 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14980

    Hi. In line graph, x-Axis data is Time and Y-Axis data is Student Names. I want to draw a line chart based on which student is present on that time.
    For Ex:
    1. 11.10AM -> Michael
    2. 11.15AM -> John
    3. 11.30AM -> Julie

    Please help me how to draw a line chart with this data.

    Thanks,
    Surendiran

    #14983

    Suyash Singh
    Moderator

    Surendiran,

    Are you looking for something like this.

    ___
    Suyash Singh
    Team CanvasJS

    #14984

    Thank you Suyash. But i need name on y-Axis and time on x-Axis
    And i also want to hide the x-Axis labels.

    Thanks,
    Surendiran

    #14988

    Sanjoy
    Moderator

    Surendiran,

    Are you looking for something like this.

    ___
    Sanjoy Debnath
    Team CanvasJS

    #14990

    Thank you so much Sanjoy!!!. You created what actually i expected. Thanks again.

    Thanks,
    Surendiran

    #15022

    van
    Member

    Hi

    How can I convert String like “2014,10,21,18,48,05” to datapoints?

    Thank you!

    #15030

    Suyash Singh
    Moderator

    @van,

    x value can be a dateTime value, but it needs to be in a valid Date-Time format. Please have a look on documentation page on working with data and Date & Time Axis.

    ___
    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.