Pre loader

Standard Theme definitions

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies