[visualization-api] Re: Group the legends

2014-08-29 Thread Schabagh
Hi Andrew, thanks. How can I make a connection between my own legend and the chart, so that I get the information that I need to build the legend? Thanks Am Freitag, 29. August 2014 00:29:01 UTC+2 schrieb Andrew Gallant: You cannot group your legend items, sorry. You can, however, turn off

[visualization-api] Re: Group the legends

2014-08-29 Thread Andrew Gallant
For most of the charts, the columns in your DataTable determine the data series. You can get the labels by reading the column labels out of the DataTable: // skip column 0 since that is typically the domain axis values and not a data series for (var i = 1; i data.getNumberOfColumns(); i++) {

[visualization-api] Re: Group the legends

2014-08-28 Thread Andrew Gallant
You cannot group your legend items, sorry. You can, however, turn off the legend in the chart and build your own legend in HTML that uses whatever layout you want. On Thursday, August 28, 2014 9:06:30 AM UTC-4, Schabagh wrote: Hello, is that possible to group the legends? my legend looks