Thank you for the code-snippet provided.
When you export the ChartView to png, the background of the image should be the same as the background of the ChartView. If you are using e.g. Expression_Dark theme or you have set Background property of the chart to black, then the image should have the same color. However, you can change the Background of the chart only by export:
var initialColor =
(Stream fileStream = File.Open(filename, FileMode.OpenOrCreate))
.chart.Background = initialColor;
I hope this information helps.
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.