-
-
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
How to make a double Y axis chart by using excelize? #518
Comments
all the charts are single Y-axis, but i need to draw a double Y-axis chart, it is difficult by using current excelize, do you have some ideas? |
您好 请问这个问题您是否进行了处理?我看到您在584说会在518进行讨论,但是我在这两个问题中都没有找到答案 |
Sorry, it's still no progress, maybe taken a while to implement this feature. |
Hi, contributors. I would like to use a chart with a secondary axis, is there any progress on this feature? |
Sorry for the late reply. I have added support for creating chart with a secondary series axis, please upgrade to the master branch code, and this feature will be released in the next version. Now you can specifies the series vertical axis as the secondary axis like this: err := f.AddChart("Sheet1", "D1", &excelize.Chart{
Type: excelize.Col,
Series: []excelize.ChartSeries{
// ...
},
Title: excelize.ChartTitle{Name: "Chart Title"},
}, &excelize.Chart{
Type: excelize.Line,
Series: []excelize.ChartSeries{
// ...
},
YAxis: excelize.ChartAxis{
+ Secondary: true,
},
}) |
No description provided.
The text was updated successfully, but these errors were encountered: