I'm afraid that's not supported at the moment. You can hack something by drawing 2 lines rather than 1, both with the exact same data, the first line won't have intervals, and the second line will be of some other color (the series option), lineWidth zero, and will have intervals.
On Mon, May 28, 2012 at 8:31 PM, far m <[email protected]> wrote: > I have the same question. I have tried many different formats but nothing > worked. > > > On Monday, May 28, 2012 1:04:58 AM UTC-7, Anuroop wrote: >> >> Hi, >> >> I am using Google Charts DataTable Roles https://developers.** >> google.com/chart/interactive/**docs/roles<https://developers.google.com/chart/interactive/docs/roles>experimental >> feature to draw intervals and annotations in graphs as specified in the >> above link. >> >> But I want to explicitly specify color of the interval. For example, in >> the below charts the color of the interval is blue:- >> >> [image: Google Charts Interval DataTable role] >> >> How can I change the color of the intervals to say yellow? I have >> observed that by default, it takes the color of the curve, for example, the >> color of the line is blue and hence the color of the interval is blue. >> >> I tried the following approach but failed:- >> >> addColumn({type:'number', role:'interval', color: 'yellow'}); >> >> Any help would be very appreciated. >> > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-visualization-api/-/Iei9719g9-wJ. > > 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. > -- 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.
