Problem Adding CategoryTextAnootation

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
Posts: 2
Joined: Tue Sep 04, 2018 11:54 am
antibot: No, of course not.

Problem Adding CategoryTextAnootation

Post by dj_cynical » Thu Sep 06, 2018 6:53 am


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 CategoryAnnotation.

Please suggest.


Post Reply