I fixed it.
My syntax was a mess. Here's the final successful code:
var colorZone = 0;
if(@thisWeek < 0){colorZone = 0} else {colorZone = @thisWeek};
This way, if the gauge is showing a negative value, there's no colorZone to
display.
--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.