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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

Can you post the style definitions for the current eight standard themes? I would like to create two new themes that are close to existing, with several color and configuration tweaks.

I understand these themes may change with later versions, but having snapshots of the 4.1 or 4.2 versions as a starting point would be a tremendous time saver.

Bill

Version
4.2
  • You must to post comments
0
0

Hi Bill,

We can do one better than that – we can show you how to take an existing theme and just modify one color key.

Please take a look at Overriding Colors of our Themes.

If you wanted to dump out the brushes / colors of a single theme you can also do this in visual studio by getting the IThemeProvider and iterating properties:

IThemeProvider tcp = ThemeManager.GetThemeProvider("SciChartv4Dark");
Console.WriteLine(tcp.AxisBandsFill);
Console.WriteLine(tcp.CursorLabelBackgroundBrush);
// etc... 

To see all the properties in IThemeProvider please see the documentation here: IThemeProvider

Let me know if this helps!

-Andrew

  • You must to post comments
0
0

Ok, I can put together a utility program to dump the Theme definitions. I prefer to have actual themes, since (per my previous posts), I want to switch themes when exporting the plot to a bitmap, then switch back. Different plots in the application will have different theme pairs.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.