I'm attempting to display a control wrapper for a line chart.
Here's the function that generates this linechart.
function drawChart() {
var data = google.visualization.arrayToDataTable([
[month, Hopong, Kalaw, Loilen],
["2018-09", 0, 0, 0],
["2018-11", 0, 0, 0],
["2018-12", 0.2, 0.3, 0.4],
["2019-01", 4, 5, 6]]);
var dataTable = google.visualization.arrayToDataTable(mainArray);
var options = {
title: 'Pentration Rate',
curveType: 'function',
legend: { position: 'bottom' },
vAxis: {
viewWindow: {
min: 0
}
}
};
var chart = new
google.visualization.LineChart(document.getElementById('pentration_chart'));
chart.draw(dataTable, options)
}
How do I create a ControlWrapper (dropdown) containing a list of townships eg:
Hopong, Kalaw,Loilen etc, to filter by the township for penetration rate values
for each month for a particular township.?
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/5e14434c-cdd0-4241-b9b7-14cdfafbbad7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.