Hi,
I want to print a chart using SaveToFile method and I want to set the chart background color to white (like the paper).
If I set the Background property to White, the exported file have the ColorTheme background and not the white I set.
How can I do this?
How to set chart background color
Moderator: Queue Moderators
Re: How to set chart background color
Thanks for bringing this up. We'll look into this.
Re: How to set chart background color
I resolved setting ChartBackground property and not Background property (like the guide says)
Code: Select all
m_chart.ChartBackground = new Fill() { Color = Colors.White, GradientColor = Colors.White };