If you want all of the areas to be (roughly) equally spaced, you can have them auto-calculated: http://jsfiddle.net/asgallant/yaUtp/27/
With this method, it is actually possible to have the last area cover zero rows of data when the number of rows and areas meets a rather complicated set of conditions (which I believe is a * floor (r / (a - 1)) + 1 > r, where a = # of areas and r = # or rows). You could also do something similar, except demarcate the boundaries manually: http://jsfiddle.net/asgallant/yaUtp/30/ On Monday, August 20, 2012 2:20:42 PM UTC-4, Hangas wrote: > > Exactly that! > > Ok, I got the trick! No I'll just have to find a way to efficiently > manipulate the original data source (or a copy). > > I'll give it a try. Txs! > > > On Monday, August 20, 2012 5:28:25 PM UTC+1, asgallant wrote: >> >> You mean something like this: http://jsfiddle.net/asgallant/yaUtp/2/? >> >> If so, the key is to duplicate the data rows where you want the color >> change to occur, except switch the area series to the next in line. >> >> >> -- 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/-/--MQgbdQInIJ. 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.
