Closed hangstrap closed 9 years ago
Could please add an example of how to add an event to the LineChart class.
The following code produces a compile errors about missing methods and getters
LineChart chart = new LineChart(document.getElementById('pdfChartValues')); selectHandler(_) { var selectedItem = chart.getSelection()[0]; }
chart.onSelect.listen( selectHandler); chart.draw(dataTable, options);
Could please add an example of how to add an event to the LineChart class.
The following code produces a compile errors about missing methods and getters
LineChart chart = new LineChart(document.getElementById('pdfChartValues')); selectHandler(_) { var selectedItem = chart.getSelection()[0]; }
chart.onSelect.listen( selectHandler); chart.draw(dataTable, options);