コード例 #1
0
        public void AddRow()
        {
            ChartGridItem c = new ChartGridItem();

            c.Chart               = new CartesianChart();
            c.Chart.Name          = "Chart" + SeriesList.Count;
            c.Title               = "Series " + chartCounter;
            c.DataSeries          = GetDataSeries();
            c.DragSelectionBorder = new System.Windows.Controls.Border();
            c.DragSelectionCanvas = new System.Windows.Controls.Canvas();

            Data.Add(c);
        }
コード例 #2
0
        public void DrawVars()
        {
            foreach (var item in SeriesList)
            {
                ChartGridItem c = new ChartGridItem();
                c.Chart               = new CartesianChart();
                c.Chart.Name          = "Chart" + chartCounter;
                c.Title               = "Series " + chartCounter;
                c.DataSeries          = GetDataSeries();
                c.DragSelectionBorder = new System.Windows.Controls.Border();
                c.DragSelectionCanvas = new System.Windows.Controls.Canvas();

                Data.Add(c);
                chartCounter++;
            }
        }