Set color of individuals bars base on value in XY chart

Hello,
I wonder if possible to set the color of individuals bars base on their values in XY Chart?
For example if a value lower than 0, the color change yellow and in other cases the bars are blue.

Share

Under the column >> appearance property category, you should see a deriveFieldsFromData grouping. You’ll need to add a color field to your datasource and set the value of this to the appropriate color for each data point. You then set the deriveFieldsFromData fill and/or stroke color value to the name of the “color” field in your dataSource.

Only other dynamic option I’m aware of are the heatRules but I don’t think that will give you the flexibility that you need for this particular situation.

2 Likes

Thanks a lot Will. What a masterpiece and mystery are this XY Chart. They will design every things.