Thanks for the response. Its a one series column chart and the solution provided by you is working perfectly.
Thanks Prakar On Feb 1, 7:30 am, EZChart <[email protected]> wrote: > There's no direct way of doing this. > However, if you only have one series, there is a reasonable workaround. > Split the data table column of your series into two, one for the positive > values, and one for the negative ones. Also set the chart option isStacked > to true. > See > example:http://savedbythegoog.appspot.com/?id=f4535985879eb3c01c5e30451fefeec... > > If you have more than one series to begin with, then there's no workaround > that I know of. > > On Wed, Feb 1, 2012 at 6:09 AM, prakar <[email protected]>wrote: > > > > > > > > > Hi, > > > I am trying to show different colors for same columns in ColumnChart > > based on the values but not sure how to achieve this. > > > The raw_data for my column chart is something like this which contains > > both positive and negative values. > > var raw_data = [['Austria', -1336060, 1538156, -1576579, 1600652, > > -1968113, 1901067]]; > > > I want to show the positive values in green color and negative values > > in red color. > > Is there any configuration options in the column chart that I can use > > to achieve this? > > > I greatly appreciate any guidance on how to solve this issue. > > > Thanks > > Prakar > > > -- > > 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. -- 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.
