开发者

jFreeChart: Change Bar color regardless of series

开发者 https://www.devze.com 2023-01-08 17:19 出处:网络
I need to change the color of Bars regardless of their series. so setSeriesPaint() is not useful in this ca开发者_开发百科se. Is there another way?You can override the getItemPaint() method to return

I need to change the color of Bars regardless of their series. so setSeriesPaint() is not useful in this ca开发者_开发百科se. Is there another way?


You can override the getItemPaint() method to return the desired color, as suggested here.

0

精彩评论

暂无评论...
验证码 换一张
取 消