addSubCategory method and category values

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Desbaratizador
Posts: 4
Joined: Tue Sep 26, 2006 12:17 pm

addSubCategory method and category values

Post by Desbaratizador » Thu Oct 19, 2006 7:31 pm

Hi

I want to build a bar chart with subcategories but i can't map the category values to the subcategories because, in my context, each category have three subcategories and nine values.

Any help ?

demonhead
Posts: 24
Joined: Thu May 25, 2006 5:44 am

Re: addSubCategory method and category values

Post by demonhead » Fri Oct 20, 2006 9:28 am

Desbaratizador wrote:Hi

I want to build a bar chart with subcategories but i can't map the category values to the subcategories because, in my context, each category have three subcategories and nine values.

Any help ?
if you have bought the Developer guide u can have a look at keytogroupmap class which will solve your problem .Ironically i think u have to use groupstackedbarrenderer that means a stacked bar chart.

Locked