Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Piechart css

Patrick MartinAug 1 2012
While I can style the first 8 colors in a pie chart, is it possible to specify more colors? if I specify the 9th onward, it is ignored. My pie charts tend to have many slices so only 8 colors is limiting.
.default-color0.chart-pie { -fx-pie-color: #0000FF; }
.default-color1.chart-pie { -fx-pie-color: #FF0000; }
.default-color2.chart-pie { -fx-pie-color: #00FF00; }
.default-color3.chart-pie { -fx-pie-color: #336699; }
.default-color4.chart-pie { -fx-pie-color: #ff5700; }
.default-color5.chart-pie { -fx-pie-color: #FFFFFF; }
.default-color6.chart-pie { -fx-pie-color: #ffa500; }
.default-color7.chart-pie { -fx-pie-color: #860061; }
Thanks,

- Pat
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2012
Added on Aug 1 2012
0 comments
102 views