border « Plot « JFreeChart Q&A

Home
JFreeChart Q&A
1.Axis
2.BarChart
3.Chart
4.Color
5.Component
6.Dataset
7.Development
8.GanttChart
9.Graph
10.Image
11.Interoperability
12.Label
13.Layout
14.Legend
15.LineChart
16.PieChart
17.Plot
18.Renderer
19.Series
20.ToolTip
21.XYLineChart
JFreeChart Q&A » Plot » border 

1. How to know the size of borders before plotting ?    jfree.org

Hi, I have to plot a large amount of data. Classic chartpanel is really to slow, I can have a graph much quicker using chart.getChart().createBufferedImage(...). I used this way to draw my chart. My problem is that I need to know now the value pointed by my user on image created from the chart . I had a mouselistener on the ...

2. XYPlot border    jfree.org

4. Legend Border (XYPlot)    jfree.org

chart_panel.getChart().getLegend().setItemPaint(Color.GREEN); // legend color - that works, legend text turns green chart_panel.getChart().getLegend().setBackgroundPaint(Color.BLUE); // that works too, background blue - but how to make the border disappear? plot.getLegendItems().get(0).setOutlinePaint(Color.RED); - doesn't do anything plot.getLegendItems().get(0).setLabelPaint(Color.RED); - doesn't do anything System.out.println(chart_panel.getChart().getLegend().getWrapper() == null); // produces true - but the legend border is visible. if I set this wrapper, I have 2 borders around the text ...

5. Plot at range border of a range restricted XYLinePlot    jfree.org

Hi, i need a XYLinePlot with fixed ranges for both axis. I tried with NumberAxis.setRange(0, 1) and it works with the restriction, that values directly on the range-borders are cutted off (See the image as example). How can i change this to not cut off the plot and also keeping the fixed range? It is okay for me to show more ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.