Home Forums Chart Support Average of database column

Average of database column

  • This topic has 0 replies, 1 voice, and was last updated 5 years ago by JD26.
Viewing 1 post (of 1 total)
  • #27649

    Hi everyone,

    I’ve been trying this for days now with the example code, but I have no idea how this could work.. would really appreciate some help with this.

    This is my database:
    (want to insert a pic here but doesn’t work?)

    I want to show the average of each column in a column chart, like the “Column Charts with Multiple Axes” example.
    So the average of PD1 in blue and of PD2 in red, SVK1 in blue, SVK2 in red and so on. I know I can get the average with the SQL AVG() function but then I don’t know how to put them into the dataPoints array.

    Can anyone help?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.