Can I change line width in TimeSeriesChart or xyCharts?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
khipras
Posts: 15
Joined: Mon Feb 07, 2005 6:41 pm
Location: Mexico D.F.
Contact:

Can I change line width in TimeSeriesChart or xyCharts?

Post by khipras » Thu Jun 23, 2005 7:30 pm

Hi!
I want to change the line width in some charts to make more visible those lines.
Can i do this?
Thanks...

khipras
Posts: 15
Joined: Mon Feb 07, 2005 6:41 pm
Location: Mexico D.F.
Contact:

Post by khipras » Mon Jun 27, 2005 9:10 pm

Some tips to change Width line in some lineal charts?

khipras
Posts: 15
Joined: Mon Feb 07, 2005 6:41 pm
Location: Mexico D.F.
Contact:

Post by khipras » Fri Jul 29, 2005 4:15 pm

There is nothing available to change the line width?
Any hints are welcome, or if there no any way to make, I appreciate to tell me.
Thanks

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Fri Jul 29, 2005 4:29 pm

Try looking at

Code: Select all

public void setSeriesStroke(int series, java.awt.Stroke stroke)

silent
Posts: 50
Joined: Wed Mar 16, 2005 2:55 pm
Location: Korea
Contact:

Post by silent » Sat Jul 30, 2005 4:48 am

in my code, I use below method that I made.

Code: Select all

public void setLineThickness(int width) {
        if(jfreeChart == null) return;
        jfreeChart.getXYPlot().getRenderer().setStroke(new BasicStroke(width));
    }
and I used the StandardXYItemRenderer.
Tokdo belongs to Korea.

Not a 'sea of japan', But a 'East Sea(Dong hae)'

Locked