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

[mschart in Word] Can we change the color or remove the border/shape outline the chart? #85

Open
khanhhtt opened this issue Jan 12, 2023 · 2 comments
Labels

Comments

@khanhhtt
Copy link

Hi @davidgohel,

Thank you for the great package! This thread is just for asking question than reporting an issue.

I have a question regarding exporting mschart to the Word document.
Is there any option that allows us to change the color or remove the border/shape outline the chart as the image below?

image

I have tried to look into some of the potential source code that I think there will be an answer like chart_settings, chart_theme and body_add_chart, but still could not figure out the solution so far.

Thank you in advance for looking into this.

@khanhhtt khanhhtt changed the title [mschart in Word] Can we change the color or remove the border/shape outline the chart [mschart in Word] Can we change the color or remove the border/shape outline the chart? Jan 12, 2023
@davidgohel
Copy link
Member

Hello

No, there is no option for this. But it's only a setting to add in the XML, I will work on that in the next dev run.

Thanks for reporting this

@davidgohel davidgohel added the bug label Jan 12, 2023
@Med-AL
Copy link

Med-AL commented Jun 1, 2023

You can add in chart.xml after line 25 to remove borders :
<c:spPr><a:ln><a:noFill/></a:ln></c:spPr>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants