Hi,
In the begining thanks for this good product.
My question is about the DefautPieDataSet, here is the code :
DefaultPieDataset data= new DefaultPieDataset();
data.setValue("Category 1", new Double(43.2));
data.setValue("Category 2", new Double(0));
data.setValue("Category 3", new Double(79.5));
The obtained Pie chart plots only Category 1 & 2 (label) but not the Category 3.
Is there any problem with the ZERO values ?
Thanks a lot.
null data in DefaultPieDataset
Re: null data in DefaultPieDataset
Tarik wrote:
> In the begining thanks for this good product.
No problem!
> My question is about the DefautPieDataSet, here is the code :
>
> DefaultPieDataset data= new DefaultPieDataset();
> data.setValue("Category 1", new Double(43.2));
> data.setValue("Category 2", new Double(0));
> data.setValue("Category 3", new Double(79.5));
>
> The obtained Pie chart plots only Category 1 & 2 (label) but
> not the Category 3.
>
> Is there any problem with the ZERO values ?
I think there is a problem in the labelling for the legend, which another developer has been looking at. I'll follow up with him.
Regards,
DG.
> In the begining thanks for this good product.
No problem!
> My question is about the DefautPieDataSet, here is the code :
>
> DefaultPieDataset data= new DefaultPieDataset();
> data.setValue("Category 1", new Double(43.2));
> data.setValue("Category 2", new Double(0));
> data.setValue("Category 3", new Double(79.5));
>
> The obtained Pie chart plots only Category 1 & 2 (label) but
> not the Category 3.
>
> Is there any problem with the ZERO values ?
I think there is a problem in the labelling for the legend, which another developer has been looking at. I'll follow up with him.
Regards,
DG.