Home forums Using CanvasJS Column name as header

This topic contains 1 reply, has 2 voices, and was last updated by  Sunil Urs 3 years, 2 months ago.

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

    Savak
    Participant

    Hi Sunil, any chance to get the column name as the label of our graph?

    Example query:
    “SELECT sum(cmv13.column1) AS ‘Column 1’, sum(cmv13.column1) AS ‘Column 1’
    FROM cmv13”

    And i wanted my json to be like:

    label: Column 1
    y: number (sum of column 1)

    label: Column 2
    y: number (sum of column 2)

    Im stuck here… 🙁

    #5269

    Sunil Urs
    Keymaster

    Savak,

    Here is an example that might be of help.


    Sunil Urs

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

You must be logged in to reply to this topic.