Search found 1634 matches
- Fri Dec 21, 2007 9:16 am
- Forum: JFreeChart
- Topic: chart not visible for large data
- Replies: 4
- Views: 3948
Hi karun, what kind of "dataset" are you using? XYDataset or CategoryDataset? What are the "data values" of which you have more than 250 ? It seems that these are individual series, each of which its producing is own entry in the legend. In that case, your problem is probably less of a JFreeChart/la...
- Thu Dec 20, 2007 3:57 pm
- Forum: JFreeChart
- Topic: Two range axis for one dataset
- Replies: 1
- Views: 2657
- Thu Dec 13, 2007 1:20 pm
- Forum: JFreeChart
- Topic: XYDataSet
- Replies: 8
- Views: 7428
I just read the API documentation for the JDBCXYDataset class and had a look at the source. The dataset is populated via a call to executeQuery with the string sql query. The sql query must return at least two columns. The first column will be the x-axis and remaining columns y-axis values. executeQ...
- Thu Dec 13, 2007 12:24 am
- Forum: JFreeChart
- Topic: XYDataSet
- Replies: 8
- Views: 7428
Sorry, I still don´t get it! A Dataset may contain several series (each of which is characterized by a "name", i.e. an instance of Comparable) which in turn may contain several items or "data points". So you can add Series to a Dataset but no Dataset to another Dataset! You could, however add all se...
- Wed Dec 12, 2007 3:57 pm
- Forum: JFreeChart
- Topic: XYDataSet
- Replies: 8
- Views: 7428
Hi, could you please specify which classes your are talking about? The XYDataset-Interface only declares methods for getting data out (since this is what is needed during generation of the chart) but it does not declare any methods for getting data in. The methods to put data in an XYDataset-instanc...
- Tue Dec 11, 2007 8:01 pm
- Forum: JFreeChart
- Topic: Chart is not getting displayed
- Replies: 3
- Views: 2799
- Tue Dec 11, 2007 6:02 pm
- Forum: JFreeChart
- Topic: Chart is not getting displayed
- Replies: 3
- Views: 2799
Hi pills, I assume that the first part of your code resides in the main method of your application class? In the rpeent form, your code is not compilable which makes it difficult for people to check what is going on. Since your "chart" is not displayed at all I assume that you are not even seeing a ...
- Sun Dec 09, 2007 10:04 am
- Forum: JFreeChart
- Topic: How to change line color and thickness in XYPlot?
- Replies: 3
- Views: 3436
Hi Jason, you set these and other attributes in the renderer. You assign a renderer to an XYPlot (or more precisely to a dataset of a plot) in the method XYPlot.setRenderer. Within the renderer, you can define the stroke, size and lots of other things by calling, e. g., AbstractRenderer.setSeriesStr...
- Sat Dec 08, 2007 6:27 pm
- Forum: JFreeChart
- Topic: I want lines and dots, need help!
- Replies: 2
- Views: 2795
Hi vache, you are right that renderers can only be applied to dataset. But within the renderer you have the possibility to specify index-specific settings, such as the methods setSeriesShapesVisible and setSeriesLinesVisible in class XYLineAndShapeRenderer. They accept an int parameter that denotes ...
- Thu Dec 06, 2007 11:10 am
- Forum: JFreeChart
- Topic: getseriespaint
- Replies: 7
- Views: 4937
- Sat Dec 01, 2007 7:03 pm
- Forum: JFreeChart
- Topic: Dataset with two series
- Replies: 3
- Views: 2834
- Tue Nov 27, 2007 3:04 pm
- Forum: JFreeChart
- Topic: Font in stackedBarChart3D doesn't change
- Replies: 10
- Views: 7467
- Mon Nov 26, 2007 8:25 pm
- Forum: JFreeChart
- Topic: Font in stackedBarChart3D doesn't change
- Replies: 10
- Views: 7467
Hi urishmueli, your code looks ok! (sorry for my stupid questions earlier today ) :( If I get you right, you see a chart, but the labels are still in the default font? Or are you trying to update an existing chart that simply doesn´t change? In the latter case, make sure that the chart you are chang...
- Mon Nov 26, 2007 7:26 am
- Forum: JFreeChart
- Topic: Font in stackedBarChart3D doesn't change
- Replies: 10
- Views: 7467
Hi, what means "it doesn´t work" ? 1. Code cannot be compiled 2. Code can be compiled and runs but generates an error message upon trying to change the font 3. Code runs and does not produce an error message, but nothing happens. Please not that getCategoryPlot, getDomainAxis and setLabelFont are me...
- Thu Nov 01, 2007 10:55 pm
- Forum: JFreeChart
- Topic: DefaultXYDataset.renameSeries
- Replies: 1
- Views: 2418
Since I have already started to ask: In another part of the GUI, changing the order of the series within a set is required. I thus added the following method to my dataset class: public void setIndexOf(Comparable seriesKey,int newIndex) { if (seriesKey == null) { throw new IllegalArgumentException( ...