/// <summary> /// Initializes a new instance of the <see cref="Plotter"/> class. /// </summary> protected Plotter(PlotterLoadMode loadMode) { current = this; this.loadMode = loadMode; SetPlotter(this, this); if (loadMode == PlotterLoadMode.Normal) { UpdateUIParts(); } children = new PlotterChildrenCollection(this); children.CollectionChanged += OnChildrenCollectionChanged; Loaded += Plotter_Loaded; Unloaded += Plotter_Unloaded; genericResources = (ResourceDictionary)Application.LoadComponent(new Uri("/DynamicDataDisplay;component/Themes/Generic.xaml", UriKind.Relative)); ContextMenu = null; foreach (var panel in GetAllPanels().Where(panel => panel != null)) { Plotter.SetIsDefaultPanel(panel, true); } }
protected Plotter2D(PlotterLoadMode loadMode) : base(loadMode) { if (loadMode != PlotterLoadMode.Empty) { InitViewport(); } }
/// <summary> /// Initializes a new instance of the <see cref="Plotter"/> class. /// </summary> protected Plotter(PlotterLoadMode loadMode) { this.loadMode = loadMode; if (loadMode == PlotterLoadMode.Normal) { UpdateUIParts(); } children.CollectionChanged += OnChildrenCollectionChanged; Loaded += Plotter_Loaded; Unloaded += Plotter_Unloaded; genericResources = (ResourceDictionary)Application.LoadComponent(new Uri("/DynamicDataDisplay;component/Themes/Generic.xaml", UriKind.Relative)); ContextMenu = null; }
protected ChartPlotter(PlotterLoadMode loadMode) : base(loadMode) { }