Skip to content
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

Ability to remove outline for charts #1706

Closed
abdelaziz-ouhammou opened this issue Oct 31, 2023 · 1 comment
Closed

Ability to remove outline for charts #1706

abdelaziz-ouhammou opened this issue Oct 31, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@abdelaziz-ouhammou
Copy link
Contributor

When creating a chart, by default, it will have a border around it. This can be removed from excel by selecting "no outline". Any Chance this feature can be added to Excelize ? Much appreciated.

@xuri xuri added enhancement New feature or request in progress Working in progress labels Nov 2, 2023
@xuri xuri closed this as completed in 4e936da Nov 2, 2023
@xuri
Copy link
Member

xuri commented Nov 2, 2023

Thanks for your issue. I have added new Border field in the Chart type to set the chart area border, please try to upgrade the master branch code, and this feature will be released in the next version. Now, you can remove chart area border like this:

err := f.AddChart("Sheet1", "E1", &excelize.Chart{
    // ...
+   Border: excelize.ChartLine{
+       Type: excelize.ChartLineNone,
+   },
})

@xuri xuri removed the in progress Working in progress label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants