Search found 13 matches
- Fri Oct 09, 2009 9:34 am
- Forum: JFreeChart
- Topic: Minimum BAR Width of XYBar Chart
- Replies: 4
- Views: 6450
Minimum BAR Width of XYBar Chart
Following is part of my code creating a bar chart: ....................... for(int k=0;k<numR;k++){ dataset.addValue(Double.valueOf(filteredData[k]), xArrayData[k], ""+k); } ................................ When the XY bar graph is created the width of the bar is very small just like a small line. I...
- Wed Aug 19, 2009 6:00 am
- Forum: JFreeChart
- Topic: Starting co-ordinate(plot) for X-axis
- Replies: 4
- Views: 4042
Re: Starting co-ordinate(plot) for X-axis
Thanks Dave. I got your point. With the reference of the topic http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=28316 I made some simulation, thus, it seems the plotting the first category starts from (0,0) itself. It works properly for Line Chart, but it is not working for bar chart. Or, is there so...
- Mon Aug 17, 2009 6:18 am
- Forum: JFreeChart
- Topic: Starting co-ordinate(plot) for X-axis
- Replies: 4
- Views: 4042
Re: Starting co-ordinate(plot) for X-axis
H Dave,
Thanks for your reply. Still I am stuck. I wanted some kind of property set like categoryAxis.setLowerMargin(0); so the DomainAxis can be started from co-ordinate(0,0). After setting categoryAxis.setLowerMargin(0), the plot of first co-ordinate is not started from (0,0).
Thanks for your reply. Still I am stuck. I wanted some kind of property set like categoryAxis.setLowerMargin(0); so the DomainAxis can be started from co-ordinate(0,0). After setting categoryAxis.setLowerMargin(0), the plot of first co-ordinate is not started from (0,0).
- Thu Aug 06, 2009 10:46 am
- Forum: JFreeChart
- Topic: Starting co-ordinate(plot) for X-axis
- Replies: 4
- Views: 4042
Starting co-ordinate(plot) for X-axis
In my line chart, when the values along the x-axis is very large in number, the first plotting point(1st co-ordinate) is started plotting far away from (0,0) point along x-axis. IF I want start plotting from (0,0) itself, what option I have to set.
Thanks in Advance
Thanks in Advance
- Thu Jun 04, 2009 5:14 am
- Forum: JFreeChart
- Topic: Remove series value from x-axis
- Replies: 2
- Views: 2769
Re: Remove series value from x-axis
I have explore many articles on net... i hope there is no solution for the above problem...
can anybody tell me how to change the font color of the above values to make it simulation
can anybody tell me how to change the font color of the above values to make it simulation
- Wed Jun 03, 2009 11:03 am
- Forum: JFreeChart
- Topic: Remove series value from x-axis
- Replies: 2
- Views: 2769
Remove series value from x-axis
Following is the part of Line chart: // create the dataset... final DefaultCategoryDataset dataset = new DefaultCategoryDataset(); dataset.addValue(15.0, series1, "type1"); dataset.addValue(4.0, series1, "type2"); dataset.addValue(3.0, series1, type3); dataset.addValue(5.0, series1, type4); return d...
- Tue May 26, 2009 10:55 am
- Forum: JFreeChart
- Topic: displaying values at the top of each bar---Bar Chart
- Replies: 1
- Views: 3598
Re: displaying values at the top of each bar---Bar Chart
I got it...... I have to add renderer.setSeriesItemLabelGenerator(0, new StandardCategoryItemLabelGenerator()); renderer.setSeriesItemLabelsVisible(1, true); renderer.setBaseItemLabelsVisible(true); renderer.setBaseSeriesVisible(true); chart.getCategoryPlot().setRenderer(renderer);
- Tue May 26, 2009 10:54 am
- Forum: JFreeChart
- Topic: values on top of bars in barchart ? possible ?
- Replies: 3
- Views: 10319
Re: values on top of bars in barchart ? possible ?
I got it.... I forget adding
chart.getCategoryPlot().setRenderer(renderer);
chart.getCategoryPlot().setRenderer(renderer);
- Tue May 26, 2009 7:43 am
- Forum: JFreeChart
- Topic: values on top of bars in barchart ? possible ?
- Replies: 3
- Views: 10319
Re: values on top of bars in barchart ? possible ?
Hi, I am also facing the same problem. I cant display values at corresponding columns.... Following is part of my code final JFreeChart chart = ChartFactory.createBarChart( "Bar Chart Demo 3", // chart title "Category", // domain axis label "Value", // range axis label dataset, // data PlotOrientati...
- Tue May 26, 2009 7:13 am
- Forum: JFreeChart
- Topic: displaying values at the top of each bar---Bar Chart
- Replies: 1
- Views: 3598
displaying values at the top of each bar---Bar Chart
I have a simple bar chart.. Part of the code is as follows: final JFreeChart chart = ChartFactory.createBarChart( "Bar Chart Demo 3", // chart title "Category", // domain axis label "Value", // range axis label dataset, // data PlotOrientation.VERTICAL, // the plot orientation false, // include lege...
- Mon May 25, 2009 12:55 pm
- Forum: JFreeChart
- Topic: Adding value Line chart
- Replies: 0
- Views: 1821
Adding value Line chart
the following is my simple line chart: final String type1 = "India"; final String type2 = "China"; final String type3 = "Japan"; final String type4 = "London"; // create the dataset... final DefaultCategoryDataset dataset = new DefaultCategoryDataset(); dataset.addValue(15.0, series1, type1); datase...
- Fri May 22, 2009 8:08 am
- Forum: JFreeChart
- Topic: Changing Line color -XY Line chart
- Replies: 2
- Views: 22386
Re: Changing Line color -XY Line chart
Thanks David..
- Fri May 22, 2009 7:00 am
- Forum: JFreeChart
- Topic: Changing Line color -XY Line chart
- Replies: 2
- Views: 22386
Changing Line color -XY Line chart
Please I need your help... The following is my line chard part of the code: final DefaultCategoryDataset dataset = new DefaultCategoryDataset(); final String series1 = xyLabel; final JFreeChart chart = ChartFactory.createLineChart( title, // chart title xLabel, // domain axis label yLabel, // range ...