View unanswered posts | View active topics It is currently Fri Sep 21, 2018 3:27 pm



Reply to topic  [ 1 post ] 
Missing drawFilledCubicCurve in pChart 2 - no replacement 
Author Message
New pChart user
New pChart user

Joined: Sun Dec 29, 2013 12:41 pm
Posts: 1
Post Missing drawFilledCubicCurve in pChart 2 - no replacement
I was using pChart1 library for some time and it still works fine.
I wanted to upgrade to the latest version 2.x.
Unfortunately, I discovered that the drawFilledCubicCurve function does not exist anymore.

I trued to use drawFilledSplineChart but its output is far from drawFilledCubicCurve.

See some examples:

Chart created by pChart 1 drawFilledCubicCurve:

Image

Chart created by pChart 2 drawFilledSplineChart:

Image

Another example:

Chart created by pChart 1 drawFilledCubicCurve:

Image

Chart created by pChart 2 drawFilledSplineChart:

Image

Another example:

Chart created by pChart 1 drawFilledCubicCurve:

Image

Chart created by pChart 2 drawFilledSplineChart:

Image

As you can see the curve is not smooth and rounded as it was with CubicCurve. This is even more evident when the points are far apart.

The fill is also far from complete fill.

Am I missing something or this is a bug?

I would really appreciate if there would be a complete replacement for the old drawFilledCubicCurve function.

Thanks,
Igor


Sun Dec 29, 2013 12:59 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
cron