How can i make bar chart with different colors ?

Sairamreddy shared this question 2 years ago
Answered

Dear Yellow Fin Team,


Is it possible to make bar chart with different colors. In Pie chart with default color option will get different colors but in Bar chart we have option like max 3 colors to specify.

Request you to provide Bar chart with Default option to get multiple colors.


Regards

Sairam.K

Comments (2)

photo
1

Hi Sairam,

There are several ways to customize a bar chart's colors. If you want to color specifically by what dimensions are used, I would recommend setting up organization reference codes for these, and then selecting to color by this: http://wiki.yellowfin.com.au/display/USER73/Org+Reference+Codes

If you wish to change the default order in which colors are displayed you can adjust this from the content settings in the administration panel as seen below:

2d163f221d8cf2a18496c12944f78747

Please let me know if either of these are relevant to your needs.

Regards,

Nathan

photo
1

Hi Nathan,


Thanks for the reply, In my first screen shot i took Bar chart with out specifying any color, so its returning default color (Only one color) - Actually in this place for each bar i required a different color (See the expected in screen shot 1).

In second screen - option available to add 3 colors, which is useful but we cannot fulfill our requirement with this scenario.

photo
1

Hi Sairam,


The auto-chart allows you to place your dimensions into the "color" section of the chart and have the colors adjust accordingly. Is there a reason why this will not work for you?


adea940a49dd06462d96012f9eafd1a4


Your second option here is to use JavaScript charts, which allow a large amount of customization.


Hopefully one of these options will work for you!


Regards,

Nathan

photo
1

Hi Nathan,


Thanks for the solution, But if we are using a Proportional Chart or any other charts apart from Auto Chart, what is the possibility to give our own preferred colors. Kindly required your help on this and also can you explain me with an example about Java Script Chart.


Regards

Sairam.K

photo
1

Hi Siram,


As I mentioned in the previous response, you can color many charts by org reference codes. http://wiki.yellowfinbi.com/display/USER73Plus/Reference+Codes


Here is a good guide on JS charts to get you going. http://wiki.yellowfinbi.com/display/USER73Plus/JavaScript+Charts


Regards,

Nathan

photo
1

Thank you Nathan.


Will try the solutions provided and get back to you.


Regards,

Sairam.K

photo
photo
1

Hi Siaram,


Have you been able to get this to work? I am going to set this ticket to closed for now, but if there is anything else I can do to help here, please just let me know and the case will be re-opened!


Regards,

Nathan