When you say dynamically do you mean that for one data table its green and for the other it's red. In that case you can create the data table and the check the condition you are looking for. Then pass in the colors you want when you draw the chart based on the above condition.
http://code.google.com/apis/visualization/documentation/gallery/linechart.html#Configuration_Options HTH ChartMan On Sat, Aug 8, 2009 at 7:14 AM, Arun <[email protected]> wrote: > > I want my line color in line chart to change dynamically. Basically > iam drawing a speed/time graph. I want the line color of my chart to > change for different speeds e.g. If the speed is 40 the line color is > green and if it exceeds 60 it must be read to show overspeeding. How > to change the line color dynamically > > Regards, Arun > --~--~---------~--~----~------------~-------~--~----~ > 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]<google-visualization-api%[email protected]> > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en > -~----------~----~----~----~------~----~------~--~--- > > -- 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.
