category « Dataset « JFreeChart Q&A





1. Jfreechart - Display all x values in a category dataset    stackoverflow.com

I have drawn a jfreechart using DefaultCategoryDataset. The problem is even I have added around 150 values (as columns and rows) it only shows only the last 11 x values in ...

2. limited categories at defaultcategorydataset?    jfree.org

hello, i've build a vertical stacked bar chart consisting of several categories per month. if i want to use more than 11 categories i dont get a correct chart. when adding to the dataset with ... for each month for each category dataset.addValue(value[month][category],categoryname,monthname) ... the dataset is filled only with 11 categories. up from index 11 there is no data in ...

3. Table Model for Category Dataset    jfree.org

hi I'm using JFreeChart for an application... And I need to make jtable with the data of the chart here I'm posting an example that I hope can work as starting point to someone who needs it... I'm not porting the final implementation for my program because I transform it, so I can use with my custom JTable for sorting and ...

5. DefaultCategoryDataset set a Comparable category Value    jfree.org

DefaultCategoryDataset set a Comparable category Value by zeckon Wed Jan 23, 2008 5:42 pm In my bar3d graph code the following works: ... this.dataset.setValue(50, "a","b"); this.dataset.setValue(70, "a","c"); this.dataset.setValue(100, "b","c"); ... however when i try the following code, 3rd bar doesn't show ... this.dataset.setValue(50, "a",new BarCategory("b","b"); this.dataset.setValue(70, "a",new BarCategory("c","c"); this.dataset.setValue(100, "b",new BarCategory("c","c"); ... BarCategory class: Code: Select all public class BarCategory ...

6. CategoryDataset -- show or hide a category line    jfree.org

I am working with freechart 1.0.10 I see that setSeriesVisible(boolean) in the following snippet is deprecated. CategoryPlot plot = chart.getCategoryPlot(); final CategoryItemRenderer renderer = plot.getRenderer(); renderer.setSeriesVisible(true); What is the best way to show/hide a particular line in a category line chart? Also in my chart based on a CategoryDataset, how do I get a reference to a particular category or series? ...

7. Sliding Category Dataset Demo2    jfree.org

Hi everyone, I've been searching for a while for a sample code that generates a graph like the Sliding Category Dataset Demo2 Example found in the JfreeChart 1.0.13 Demo Jar. Can anyone post this Sliding Category Dataset Demo2 sample code or give me hints how the SlidingCategoryDataset class works. My main concern is to generate an X-Axis scrollbar on a stacked ...

8. Mixed categories with two different-sized datasets?    jfree.org

To draw the category labels, the category axis requests a list of categories from the CategoryPlot to which it has been assigned. This category list will contain all unique category keys for all datasete tat are mapped to the given axis. To draw the category items, only the category count of the current dataset is taken into account. I am not ...