Google Line Charts - GA look 'n feel -
i'm trying reproduce of google analitycs line charts styles google chart lib.
ga:
google line chart:
there 2 things i'm struggling reproducing:
i can't find way fill area below line background color
i did not find how make dots on line displayed (currently, can display 1 of them when clicking on line)
they using area chart, not line chart. https://developers.google.com/chart/interactive/docs/gallery/areachart
for points appearing on line time, see points documentation. https://developers.google.com/chart/interactive/docs/points
just off top of head, here's other settings of note (details of these appear @ bottom of areachart documentation page):
var options = { legend: { position: 'top', alignment: 'start' }, vaxis: { textposition: 'in' }, focustarget: 'category' // if multiple lines, data appear in tooltip };
Comments
Post a Comment