excelize icon indicating copy to clipboard operation
excelize copied to clipboard

Can I make smoothing disable at line chart?

Open tetsuyanh opened this issue 2 years ago • 3 comments

I want to do it. Why is it enable by default?

tetsuyanh avatar Jul 27 '22 00:07 tetsuyanh

I had read documentation, and know nothing like function or argument. If there is a way, please let me know.

tetsuyanh avatar Jul 27 '22 00:07 tetsuyanh

Thanks for your issue. This library doesn't support specifying if using the smoothed line of the chart currently. We need to add a smooth field like this for the line chart in the internal drawChartSeries function:

Smooth: &attrValBool{Val: boolPtr(false)},

I'll consider adding this support later.

xuri avatar Jul 27 '22 06:07 xuri

Thanks to quick reply.

tetsuyanh avatar Jul 28 '22 04:07 tetsuyanh

I have add a new smooth field in chart format parameter, support specify if smooth line chart. Please upgrade to the master branch code, and this feature will be released in the next version.

xuri avatar Aug 23 '22 16:08 xuri