-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combo Column + Line chart with secondary invisible axis produces unexpected results. #1921
Comments
user1121114685
added a commit
to user1121114685/excelize
that referenced
this issue
Jun 17, 2024
10 tasks
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: ";;;"}}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.):
The text was updated successfully, but these errors were encountered: