Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pie chart throws error when there are more colours than data series

Wendy Fergusson November 4, 2012

I'm running Confluence 3.5.13. I have a pie chart which graphs a dynamic set of data, which contains up to 4 data series. The color parameter specifies four colour values. When the dataset includes fewer than 4 data series the macro throws a "java.lang.ClassCastException" error.

Eg.

{chart:type=pie|dataOrientation=vertical|colors=maroon,blue,yellow,cyan}
|| Priority || Num Defects ||
| 2 | 1 |
| 3 | 1 |
{chart}

Is this a known issue? Is it going to be fixed?

The problem also exists on Confluence 4.3.2, the error shows as "java.lang.String cannot be cast to java.lang.Integer"

2 answers

0 votes
Wendy Fergusson December 17, 2012

Looks like that's the only way I'll get any help with this - opened https://jira.atlassian.com/browse/CONF-27584.

0 votes
Luzia Mendes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2012

You should report that at jira.atlassian.com, on Confluence project. It seems a bug.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events