I'm quite confused. Should the number of series names be equal to the length of the sub-arrays I created?
Any advice will be greatly appreciated! Thanks.
series name in horizontal bar chart
Re: series name in horizontal bar chart
The DefaultCategoryDataset fetches data values from a two dimensional array where the first dimension is the series and the second dimension is the category:
return data[series][categoryIndex]
So the number of series names should be equal to the size you use for the first dimension, and the number of categories should be equal to the size you use for the second dimension.
It is confusing...
Regards,
DG.
return data[series][categoryIndex]
So the number of series names should be equal to the size you use for the first dimension, and the number of categories should be equal to the size you use for the second dimension.
It is confusing...
Regards,
DG.