Google Line Charts - GA look 'n feel -


i'm trying reproduce of google analitycs line charts styles google chart lib.

ga:

enter image description here

google line chart:

enter image description here

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

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -