Home forums Using CanvasJS Printing datapoints in a table form

This topic contains 1 reply, has 2 voices, and was last updated by  Sanjoy 5 months ago.

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

    echhabra
    Member

    Hi all,

    I am having troubles with printing the datapoints in a row and column form.

    As in I want the x-axis data(date), which is being plotted in the datapoints, to be printed in 1 row and its corresponding y-axis datapoint in the 2nd row underneath its respectable x-axis datapoint.

    EX.

    If my plotted datapoints are:

    Sep 06 2015,1
    Oct 06 2015,1
    Nov 06 2015,2
    Dec 06 2015,3
    Jan 06 2016,7
    Feb 06 2016,34
    Mar 06 2016,7
    Apr 06 2016,3

    I want to print them underneath its graph like this
    ________________________________________________________________________________________________________
    |Sep 06 2015 |Oct 06 2015 |Nov 06 2015 |Dec 06 2015 |Jan 06 2016 |Feb 06 2016 |Mar 06 2016 |Apr 06 2016|
    ________________________________________________________________________________________________________
    |1 |1 |2 |3 |7 |34 |7 |3 |
    ________________________________________________________________________________________________________

    PS: The below numbers are supposed to be below respective dates

    • This topic was modified 5 months ago by  echhabra.
    #11500

    Sanjoy
    Moderator

    Sorry echhabra,

    As of now Axis doesn’t support tabular format. But please check once labelFormatter if you can come-up with any alternative workarounds like this example.

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

You must be logged in to reply to this topic.