SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
I have implemented two custom themes for use when viewing charts on screen versus printing. Unfortunately, the themes do not contain all necessary color definitions. For example, these are multi-series charts, with each series having a different color. Is there any way to extend the ThemeManager to include these additional required brushes (and of course, be able to bind to those colors from XAML).
Alternatively, if there is a way to bind to existing ThemeManager colors from XAML, i could simply use several existing but otherwise unused ThemeManager brushes for my various series stroke brushes.
I would like to call ThemeManager.SetTheme to change the theme, export an image to file, and then restore the original theme. How can I ensure that the new theme has been applied before calling ExportToFile?
is there a better way to capture a screenshot of a plot using a different theme?
I am trying to generate a general theme for all charts in all my applications. I first tried using the ResourceDictionary implementation as described in https://www.scichart.com/documentation/v4.x/webframe.html#Creating%20a%20Custom%20Theme.html unfortunatelly this solution does not seem to provide functionalities for changing the default Brush of VerticalLineAnnotations, which is important for my application. So I tried implementing my custom theme using a ThemeColorProvider object, but I can’t find a way to add it to the ThemeManager.
Setting setting the style of each plot manually using IThemeProvider.ApplyTheme(…) is not an option since the theme style of all charts needs to remain configurable via ThemeManager.
Can somebody give me an advice, on how to implement styling of VerticalLineAnnotations in XAML ResourceDictionary or how to add an ThemeColorProvider object to the ThemeManager.
Thanks a lot and regards,