This is a migrated thread and some comments may be shown as answers.

[Solved] Is it possible to have each series value have a different color in a bar chart?

1 Answer 28 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Caleb
Top achievements
Rank 1
Caleb asked on 24 Apr 2012, 08:48 AM
Hi,

I'm just trailing the MVC tools to see if I can spike out some charts that we require before purchasing a license.  What we would like to do is essentially create a chart where we only have one series with three values which has these values and category names:

FEB: $40000
MAR: $45000
APR: $30000

We then want to color the bars depending on the value.  So for example if the value is under 35k we want it to be red, if under 40k blue and if over 40k green.  I haven't been able to find a way to do this yet.

One way I've been able to achieve something similar to what I want is to create 3 separate series with only a single value in each.  The downside of this though is that then I have to use a legend to show what each column represents and if I have two red columns you won't be able to tell which is which (it isn't just months we want to label, but also categories of items).

Any help would be much appreciated.

Cheers,

Caleb

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 26 Apr 2012, 02:10 PM
Hello Caleb,

  I am afraid that this functionality is not supported by the Chart component and at this point the workaround that you found is the only one available. The good news is that such feature is in our plans for the Q2 version of our Kendo UI Chart widget which will appear this summer.


Regards,
Iliana Nikolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Chart
Asked by
Caleb
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or