Hi
I'm new to Goolge charts and was wondering if I take the below sample code
if one could change the color of the last field in the table. For instance
if I set the last field to "true" a black right thick gets inserted in the
field, if I then set the last field to "false" and (X) gets inserted in the
last field - can I set this to color "Red" to indicate to the user that
this is a problem?
<title>
Test Table
</title>
<script type="text/javascript"
src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load('visualization', '1', {packages: ['table']});
</script>
<script type="text/javascript">
function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['Account', 'Account Plan', 'DB-Count', 'Threshold', 'CR-Count',
'Threshold'],
['idrive1','pre-pay', 42, true, 0, false],
['idrive2', contr', 8, false, 100, true],
['idrive3', 'pay1', 0, false, 60, true],
['idrive4', 'pay2', 64, true, 20, true],
['idrive5', 'pre-pay',100, true, 80, true]
--
You received this message because you are subscribed to the Google Groups
"Google Chart API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-chart-api/-/RDzJ-W9LeB0J.
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-chart-api?hl=en.