on 12-08-2011 5:45 AM
Hi all,
I want to display a bar chart which is having different colored bars. For example, i am now using equipment wise bar chart, if i am having 50 equipments, all 50 equipments should be displayed in different colors in bar chart. Now i am getting output for those 50 equipments having same color. I tried by giving that equipment column in DATA MAPPING -
> LABEL COLUMNS, I got only 32 bars which is in different colors in output. Kindly give me some solution for this.
thanks in advance
Dear Aravinth,
As per my knowledge, there are only 32 columns in bar chart. If your requirement is changing dynamically u can manage it either by JS in code or through query templates.
Give Points if found useful.
Regards,
Swapnil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may have more than 32 bars but they will be the same data series and therefore the same color. For separate colors the limit is 32 (I think you'll see that pens 17-32 repeat the colors from pen 1-16 in the default template).
It sounds like your best bet is using ValueColumn for your numerical field and then LabelColumn for the string name field. This way, depending upon the results returned it will provide good coloration between bars, but it may also be decreasingly relevant beyond the first 'x' items. A normal Pareto chart might use the notion of top 10 or top 20, which would be well within the 32 color limit.
Hi Aravind,
As per my knowledge we can add upto 32 columns in a bar chart. To display all 50 equipment's in one bar chart is not possible.
Generate 2 query templates, such that each query template gives 25 equipment's. You can generate 2 display templates based on query template, of bar chart having 25 equipment's in different color.
Hope it helps.
Thanks
Rajesh.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Now i am getting more than 32 equipments in output, but is same color. But i want those bars to be displayed in different colors.
I tried In ichart, under Data mapping----->Label Columns, i add my Equipment field which is having more than 32 equipments. It is giving only 32 bars in different colours and rest of the equipments are not displayed.
Regards,
Aravinth
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.