Home Forums Chart Support plotting graph

plotting graph

Viewing 11 posts - 1 through 11 (of 11 total)
  • #25547

    Hii iam tring to plot the graph.I have two csv files one is having timestamp data, and second file having normal values.
    i have written if condition to seperate these two graphs.timestamp graph is working properly,in this graph i have used date.utc method. In normal graph x axis raeding deafault date and time values how to solve can you plz tell me.

    #25552

    @jameela,

    Can you kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    #25684

    thanks for response

    #25685

    Hii in line graph iam giving x axis values randomly like this
    {x:43, y:54}
    {x:0, y:23}
    {x:24, y:14}
    {x:12, y:44}
    {x:54, y:14}
    but it is not plotting in linear order

    when we give x axis values in increasing order like this
    {x:10, y:54}
    {x:20, y:23}
    {x:30, y:14}
    {x:40, y:44}
    {x:50, y:14} then only it is plotting correctly.
    can u plz tell me how to solve this.

    #25697

    @jameela,

    CanvasJS just renders the dataPoints in the order passed by you, it doesn’t sort the dataPoints. However with few lines of code, you can sort dataPoints to render chart with linear order of x as shown in this JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

    #25751

    thanks for your response now it is working properly

    #25752

    In line graph i want zoom particular area

    for ex: i want to see the values between 1 to 1000
    can you please suggest how to do this
    in this line graph iam reading data from csv file

    And one more query how to handle huge data like by days or weeks.

    #25768

    @jameela,

    You can programmatically zoom / pan to a region by setting viewportMinimum and viewportMaximum.

    And one more query how to handle huge data like by days or weeks.

    Can you kindly brief us more about your requirement along with some example or pictorial representation so that we can understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    #25923

    Thanks manoj for your response

    #25965

    hii iam plotting line graph.Iam reading data from csv file.
    I want to read lable names from csv file like this.
    Temperature,Tag
    22,Tag1
    11
    45
    5
    76,Tag2
    56
    33
    23,Tag3
    it is possible can u please suggest

    #25988

    @jameela,

    Please take a look at this documentation page for step by step tutorial on rendering chart from CSV file along with an example.


    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.