|
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
The lines should not be lower 0
Author |
Message |
Lordesse
New pChart user
Joined: Sun Sep 25, 2011 9:48 pm Posts: 1
|
The lines should not be lower 0
I draw the splinechart, Y-axis is from -1 to 7. All my values more than 0, but because of auto-smoothing it somtimes displays lower 0. How i can avoid this?
|
Mon Sep 26, 2011 6:54 am |
|
|
brian
Regular pChart user
Joined: Sat Feb 19, 2011 1:00 am Posts: 16
|
Re: The lines should not be lower 0
I get this also
|
Tue Sep 27, 2011 12:34 am |
|
|
Wilwarin
pChart Guru
Joined: Sun Jun 19, 2011 6:36 pm Posts: 52
|
Re: The lines should not be lower 0
Hmm if there would be an extra point on X axis between the two on 0 then it would not go lower. I can't find a better solution.
_________________ Hope I helped
If I helped, say thanks, so that I can see that my work isn't useless.
|
Sun Oct 02, 2011 12:13 am |
|
|
emiswelt
pChart user
Joined: Wed Oct 05, 2011 9:18 am Posts: 4
|
Re: The lines should not be lower 0
It's not possible without adding more points, since a spline is a polynomal function which is built by interpolationg your given coordinates. Have a look at this wikipedia article: http://en.wikipedia.org/wiki/Spline_(mathematics)Alternatively, you can use a line chart which is 100% accurate: http://wiki.pchart.net/doc.chart.drawlinechart.html. If you are plotting a known function, you can also use createFunctionSerie: http://wiki.pchart.net/doc.dataset.createfunctionserie.htmlregards from Central Europe, Emi
|
Wed Oct 05, 2011 10:17 am |
|
|
patrikos
New pChart user
Joined: Tue Nov 22, 2011 5:14 pm Posts: 3
|
Re: The lines should not be lower 0
It really would be handy to be able to cap the spline curve, especially when the curve hits an axis for example. The need to do this must be very common, stocks can't be priced less than $0, you can't have negative people showing up for a class, your sales team can't sell negative cars in March. I'm currently looking at my chart which shows negative hours worked for some days!
Even with lots of internal points with value=0 the spline still overshoots and it's just asking for comments from clients. Of course a line chart is more accurate, it's just not so ...sexy!
I've seen this capping feature on other charting programs, so let's add this to the wish list.
Just my two cents
Patrick
|
Tue Nov 29, 2011 12:31 am |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 9 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|
|