SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

0
0

hi,
I am using ExpressionDark theme for my scichart surface.
I want to do ExportToFile after changing theme to BrightSpark.
When I do exporttofile after change the theme to BrightSpark, my exported image is still in ExpressionDark.

I do it like below.

ThemeManager.SetTheme(Chart, “BrightSpark”);
var tempFileName = Path.GetTempFileName();
Chart.ExportToFile(tempFileName, ExportType.Png);
var i = Image.FromFile(tempFileName);

Can some one help please?

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.