I have developed a simple Timeline chart that reads data from a csv
file. I also create a set of checkboxes that allows me to turn on and
off individual data series. Everything works fine on the computer that
I developed it on, but on other computers the ability to turn series'
on and off is not working.
1. I thought it may be a security setting, but I haven't been able to
track any differences down.
2. Thought it may be the Google API key .. I tried a new one
(localhost) and still not working.
3. Thought about posting code ... can't figure out how to attach files
to this forum ... should I paste the full code inline?
4. I've tested on 4 other computers and none of them work. The alerts
work properly though.
Does anyone else have checkbox code they can share? Here is a snipet
of the code (more available upon request):
----------
Javascript function:
function readCheckbox(chkbox, dataCol) {
alert("ChkBox: " + chkbox.checked + "datacol: " + dataCol);
if (chkbox.checked){
alert("Show Column: " + dataCol);
chart.showDataColumns(dataCol);
}
else {
chart.hideDataColumns(dataCol);
alert("Hide Column: " + dataCol);
}
};
----------
----------
HTML checkbox were I call the function:
<input name="001-00" onclick="readCheckbox(this, 0);" type="checkbox">
----------
Any ideas?
Thanks.
Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
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
-~----------~----~----~----~------~----~------~--~---