Hi,
I am trying to create a graph of line with "I ignore Zero", or either, if the remaining portion of the values of the graphs will be 0, then they are not shown, and the line is interrupted in the last different value of 0.
Israel
Ignore zero...
Re: Ignore zero...
Hi Isreal,
You might have to explain that again, I'm not sure what you are asking...
Regards,
Dave Gilbert
You might have to explain that again, I'm not sure what you are asking...
Regards,
Dave Gilbert
Re: Ignore zero...
With the class XYSeries, I make line graph, where the series do not need to start in the same position, however the problem is that alone it serves with 2 numerical parametros (axle X and axle Y), but wanted that in axle X I could place name of people, or date for extensive and with the series starting in different positions.
Ex: Analyzing vendas of cooling in a store during the year of 2001, a sample of vendas of each was caught month. I ordered these vendas orderly decreasing and in case that vendas will be 0, I do not want that he shows in the generated graph.
How to make this?
Ex: Analyzing vendas of cooling in a store during the year of 2001, a sample of vendas of each was caught month. I ordered these vendas orderly decreasing and in case that vendas will be 0, I do not want that he shows in the generated graph.
How to make this?
Re: Ignore zero...
If you want to display non-numerical data on the x-axis, then you are probably best using the CategoryDataset interface (the DefaultCategoryDataset class implements this interface).
There's no way to exclude categories with zero values, apart from not putting them into the dataset to begin with.
Regards,
Dave Gilbert
There's no way to exclude categories with zero values, apart from not putting them into the dataset to begin with.
Regards,
Dave Gilbert
Re: Ignore zero...
If I to put 10 categories and to put only 5 values. It goes to complement the remaining values with 0?