Problem Adding CategoryTextAnootation

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
dj_cynical
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

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

Please suggest.

Regards
-DJ

Post Reply