pChart 2.x forum
http://wiki.pchart.net/forum/

Regarding Line Charts
http://wiki.pchart.net/forum/viewtopic.php?f=3&t=65
Page 1 of 1

Author:  SandmanXC [ Sun Jan 09, 2011 3:48 pm ]
Post subject:  Regarding Line Charts

Basically I need a line chart that skips void values and draws lines between any two non-VOID values. It would also be great if I could make some plot-like points around the existing values.

Cheers! :)

Author:  jean-damien [ Mon Jan 10, 2011 2:42 pm ]
Post subject:  Re: Regarding Line Charts

Hi,

The VOID management topic has been discussed here : Breakless VOIDs.

Regarding the plot overlay, you can to the same way than in pChart v1, 1st draw your line or spline chart then draw a plot chart on top ;o)

JD.

Author:  SandmanXC [ Mon Jan 10, 2011 2:55 pm ]
Post subject:  Re: Regarding Line Charts

Hey,

I just discovered the article. However, it does not seem to work if there are more than one missing points. Or is it a new feature?

Sorry for continuously hassling you, but I really need to get a project done, and my client NEEDS a line chart to plot a discrete set. *faceroll*

**EDIT**
I understand that this is implemented in 2.0.12. Where / when can I get it? :D

Cheers!

Author:  SandmanXC [ Mon Jan 10, 2011 3:35 pm ]
Post subject:  Re: Regarding Line Charts

Another one.. Any way to make the lines thicker? I tried some keywords, but none worked.

**EDIT to avoid spamming**
Any way to make the line start from (0,0) without actually adding a point? I want to draw a plot graph on top of the line graph and that point would look rather ugly. Also, I would like the 0 point not to show on the X axis, but the line to start from the origin.

Author:  jean-damien [ Mon Jan 10, 2011 3:58 pm ]
Post subject:  Re: Regarding Line Charts

I've sent you the pre-2.0.12 link by PM.

The line weight can be adjusted with the [url=http://wiki.pchart.net/doc.dataset.setserieweight.html]setSerieWeight()[url] function by default it's set to the smallest drawable value. This setting only applies to line and spline (2.0.12) charts.

Can you show me a screenshot of what you want to do? I'm not sure to catch the (0,0) question ;o)

Author:  SandmanXC [ Mon Jan 10, 2011 4:21 pm ]
Post subject:  Re: Regarding Line Charts

This is what I (and by that I mean "my client") want. Ignore the text, please, it's in Romanian. So, basically there should be a mock point at the intersection of the axes.

Image

Also, setSerieWeight doesn't seem to have any effect. Could it be because of the unreleased version?
Also, could I remove a single point from a serie, or remove some series and add them again with the point removed, and with the same colour?

Cheers!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/