The ResultViewerBase class is a UserControl descendant that is the base class for WL8 Performance Visualizers and Optimization Visualizers.
WL8 will reverse a Viewer's GlyphResource image when it is operating in a Dark Theme. If you do not wish the image to be reversed in this manner, return true here.
Return a string that describes an Embedded Resource in the .NET library for the image that should be used in the tab in WL8 for your Viewer. If you have an Embedded Resource named MyBitmap.png in the folder Images in your project named SomeCompany.WealthLabUtils, then the corresponding string would be: "SomeCompany.WealthLabUtils.Images.MyBitmap.png".
Override this property to return the text that should appear in the tab in WL8 for your Viewer.
WL8 calls this method when your Viewer is about to be unloaded from the host window. Perform any required cleanup here.
WL8 calls this method when your Viewer is first loading into the Strategy/Optimization window. Perform any required initialization here.
This helper method sets up an instance of the TeeChart WPF charting component, establishing the proper background color for the selected theme, and setting the fonts and gridline colors to the standard ones used in WL8. If you wish to use TeeChart charting components in your Viewer, be sure to use the same package and version that's included in WL8, that is
Creates and returns a TeeChart Area chart series. This is the type of chart used in WL8's Equity Curve and Drawdown Curve Visualizers.
Creates and returns a TeeChart Bar chart series. This is the type of chart used in WL8's Profit Distribution Visualizer.
Creates and returns a TeeChart FastLine chart series. This is the type of chart used in NeuroLab's training graph.
Creates and returns a TeeChart Pie chart series. This is the type of chart used in WL8 PowerPack's Contribution Visualizer.
Creates and returns a TeeChart Point chart series. This is the type of series used in WL8 Power Pack's Analysis Series Visualizer.
Call this method to cause the chart to reset to its unzoomed view, for example after the user zoomed into the chart with the mouse.