Hi!
I want to change the line width in some charts to make more visible those lines.
Can i do this?
Thanks...
Can I change line width in TimeSeriesChart or xyCharts?
Try looking at
Code: Select all
public void setSeriesStroke(int series, java.awt.Stroke stroke)
in my code, I use below method that I made.
and I used the StandardXYItemRenderer.
Code: Select all
public void setLineThickness(int width) {
if(jfreeChart == null) return;
jfreeChart.getXYPlot().getRenderer().setStroke(new BasicStroke(width));
}
Tokdo belongs to Korea.
Not a 'sea of japan', But a 'East Sea(Dong hae)'
Not a 'sea of japan', But a 'East Sea(Dong hae)'