goat1000/SVGGraph

How to smooth a line chart

Opened this issue · 4 comments

How to smooth a line chart

There is no option for that at the moment. I'll work on it for the next version.

When can you add this option in the future? Thank you!

I have just committed 34afe28 - this adds a line_curve option to enable drawing curved lines.

The value of line_curve should be 0 for straight lines (the default) and about 1.0 for curved lines. Numbers smaller than 1.0 will make the lines straighter, values greater than 1.0 will make the lines more curved (up to a maximum value of 5.0).

I have just committed 34afe28 - this adds a line_curve option to enable drawing curved lines.

The value of line_curve should be 0 for straight lines (the default) and about 1.0 for curved lines. Numbers smaller than 1.0 will make the lines straighter, values greater than 1.0 will make the lines more curved (up to a maximum value of 5.0).

Thank you very much! Thank you!Thank you!