Search found 2 matches

by dj_cynical
Thu Sep 06, 2018 6:53 am
Forum: JFreeChart
Topic: Problem Adding CategoryTextAnootation
Replies: 0
Views: 5948

Problem Adding CategoryTextAnootation

Hi, I have a stacked bar chart. In the category plot I am unable to add any CategoryAnnotation. For every kind of annotation I add I get the exception "Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid category index: -1". This is happening for any kind of CategoryAn...
by dj_cynical
Tue Sep 04, 2018 11:59 am
Forum: JFreeChart
Topic: How To Partially Fill The Bars in BarChart
Replies: 1
Views: 3990

How To Partially Fill The Bars in BarChart

Hi, I have created a bar chart with 5 bars. By default all bars would be 100%. The bars would be by default white in colour with black outline. Now I want to fill the bars with GRAY colour partially (% wise) depending on the dataset value. For e.g - If the dataset value passed is 30 then the first b...