Search code examples
chartsgoogle-visualizationarea

How to display the point value in the line chart stroke of google api area chart?


I need to display the point value in my area chart. I found how to do it in the line chart but not the area chart. Can someone point me in the right direction, please?


Solution

  • the annotation column should follow each series column that should be displayed,
    as follows...

    ["Month", "2018", {type: "string", role: "annotation"}, "2019", {type: "string", role: "annotation"}, "2020", {type: "string', role: "annotation"}],
    ["Jan", 30.4, "30.4", 24.9, "24.9", 26, "26"],