Пример #1
0
        internal MiscellaneousConfiguration(EasyChartX parentChart, ChartViewManager viewManager, PlotManager plotManager,
                                            DataMarkerManager markerManager)
        {
            this._parentChart   = parentChart;
            this._plotManager   = plotManager;
            this._viewManager   = viewManager;
            this._markerManager = markerManager;

            this.ShowFunctionMenu = true;
        }
Пример #2
0
        internal ChartViewManager(EasyChartX parentChart, Chart plotChart, PlotManager plotManager)
        {
            this._parentChart = parentChart;
            this._plotChart   = plotChart;
            this._plotManager = plotManager;
            this.MainPlotArea = new EasyChartXPlotArea(parentChart, plotChart.ChartAreas[0]);
            this.MainPlotArea.ChartArea.Position.Auto = true;
            this._sortDirection    = EasyChartXSortDirection.LeftToRight;
            this.UseMainAreaConfig = true;

            this.SplitPlotAreas = new EasyChartXPlotAreaCollection(parentChart, plotChart.ChartAreas);
            AdaptView();
        }