Closed vsemichev closed 2 weeks ago
Thanks for your issue. This issue has been fixed. Please upgrade to the master branch code, and this patch will be released in the next version. Currently, this library doesn't support add trend line and set grid line color for the chart, but you can set data label color and disable secondary vertical axis by following modifications based on your code:
-PlotArea: excelize.ChartPlotArea{ShowVal: true, NumFmt: excelize.ChartNumFmt{CustomNumFmt: "#\"\""}},
+PlotArea: excelize.ChartPlotArea{ShowVal: true, NumFmt: excelize.ChartNumFmt{CustomNumFmt: "[White]#\"\""}},
-YAxis: excelize.ChartAxis{Secondary: true, None: true},
+YAxis: excelize.ChartAxis{Secondary: true, NumFmt: excelize.ChartNumFmt{CustomNumFmt: ";;;"}},
Description The following book contains two charts - Top one produced by the program below, Bottom one - the expected output.
Book1.xlsx
Things I had to adjust on the default combo chat generated by Excel to match my requirements:
Steps to reproduce the issue: Run the following code
Describe the results you received:
Describe the results you expected:
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):