Search found 5 matches

by sachinkt
Thu Apr 06, 2006 1:49 pm
Forum: JFreeChart
Topic: How to generate Tooltip For Bar Chart
Replies: 2
Views: 6346

try this

JFreeChart chart = ChartFactory.createBarChart("", "", "", dataset, PlotOrientation.VERTICAL, true, true, true);
by sachinkt
Thu Apr 06, 2006 1:48 pm
Forum: JFreeChart
Topic: Reducing Width of bar and series key in the side
Replies: 2
Views: 5277

try this

CategoryPlot categoryplot = chart.getCategoryPlot();
BarRenderer barrenderer = (BarRenderer)categoryplot.getRenderer();
barrenderer.setMaxBarWidth(0.015f);
by sachinkt
Thu Apr 06, 2006 1:45 pm
Forum: JFreeChart
Topic: Anyone got an example for timeseries bar chart!!!!
Replies: 1
Views: 5009

import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.text.SimpleDateFormat; import java.util.StringTokenizer; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.CategoryAxis; import org...
by sachinkt
Thu Apr 06, 2006 1:42 pm
Forum: JFreeChart
Topic: Tooltips in bar chart
Replies: 1
Views: 4084

try this

JFreeChart chart = ChartFactory.createBarChart("", "", "", dataset, PlotOrientation.VERTICAL, true, true, true);
by sachinkt
Thu Apr 06, 2006 1:36 pm
Forum: JFreeChart
Topic: How can I make the TITLE SIZE FIXED !?
Replies: 2
Views: 5288

try this


TextTitle eventTitle = new TextTitle("", new Font("Arial", Font.BOLD, 13));
eventTitle.setPosition(RectangleEdge.TOP);
chart.setTitle(eventTitle);