Set the 'focusTarget' option to 'category': focusTarget: 'category'
On Thursday, May 3, 2012 7:48:54 AM UTC-4, svh1985 wrote: > > Hello, > > I've been playing with the Google Graphs Playground editor to shape my > graph. > In the editor a very nice feature was the: Compare Mode. > > I want to implement it in my Line Chart but I cannot find the right API > parameter for it. > > This article describes the feature: > http://support.google.com/docs/bin/answer.py?hl=en&answer=190676 > > The code I've tried : > > new >> google.visualization.LineChart(document.getElementById('visualization')). >> draw(data, { >> curveType: "function", >> title : 'CVR - last 2 weeks', >> isStacked: true, >> width: 900, >> height: 300, >> theme: 'maximized', >> * compareMode: true,* >> legend: {'position':'inside'}, >> vAxis: {title: "", maxValue: 100}, >> hAxis: {title: "Day", minValue:0} >> } ); > > > Can anyone tell me what parameter is the right one? > > Thanks! > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/HSAcwohICRUJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
