Parent: UserControl
Descendants: VisualizerBase , OptimizationVisualizerBase , StrategyEvolverVisualizerBase
Derived from WPF UserControl, serves as a base class for WL8 Visualizers.
WL8 calls this method when your Viewer is about to be unloaded from the host window. Perform any required cleanup here.
WL8 will reverse an item'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 that should be used as the icon in the Visualizer's tab. 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".
WL8 calls this method when your Viewer is first loading into the Strategy/Optimization window. Perform any required initialization here.
Return the text that should appear in the Visualizer's tab.
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 Steema.TeeChart.NET (4.2024.1.19).
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 ErrorBar chart series.
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 Gantt chart series. This is the type of series used to display the WFO optimization windows.
Creates and returns a TeeChart Line chart series.
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.
Causes the TeeChart chart to reset back to an unzoomed state after the user has zoomed in on a portion of the chart.