162 references to Chart
System.Windows.Forms.DataVisualization (162)
Common\Annotation\AnnotationBase.cs (36)
385if (Chart != null && Chart.ChartAreas != null) 387Chart.ChartAreas.VerifyNameReference(value); 2351 this.Chart != null && 2352 this.Chart.chartPicture != null) 2502 if(this.Chart != null && this.Chart.IsDesignMode()) 2758 if(this.Chart != null && this.Chart.IsDesignMode()) 2800 if(this.Chart != null && 2801 this.Chart.chartPicture != null) 2822PointF newlocation = this.Chart.chartPicture.annotationSmartLabel.AdjustSmartLabelPosition( 2824this.Chart.chartPicture.ChartGraph, 2847RectangleF newPosition = this.Chart.chartPicture.annotationSmartLabel.GetLabelPosition( 2848this.Chart.chartPicture.ChartGraph, 2865this.Chart.chartPicture.annotationSmartLabel.AddSmartLabelPosition( 2866this.Chart.chartPicture.ChartGraph, 3132 movingDistance = Chart.chartPicture.ChartGraph.GetRelativeSize(movingDistance); 3275if (Chart != null && dataPointName.Length > 0) 3287dataPoint = Chart.Series[seriesName].Points[index]; 3308if (Chart != null && axisName.Length > 0) 3319axis = Chart.ChartAreas[areaName].AxisX; 3322axis = Chart.ChartAreas[areaName].AxisY; 3325axis = Chart.ChartAreas[areaName].AxisX2; 3328axis = Chart.ChartAreas[areaName].AxisY2; 3396 if(Chart != null) 3398 collection = Chart.Annotations; 3429 if(Chart != null) 3431 collection = Chart.Annotations; 3948 if(this.Chart != null) 3955 if(this.Chart.ChartAreas.IndexOf(this.AnchorDataPoint.series.ChartArea) >= 0) 3957 area = this.Chart.ChartAreas[this.AnchorDataPoint.series.ChartArea]; 3964 if(this.Chart.ChartAreas.IndexOf(this._anchorDataPoint2.series.ChartArea) >= 0) 3966 area = this.Chart.ChartAreas[this._anchorDataPoint2.series.ChartArea]; 4175if (dataPoint != null && dataPoint.series != null && Chart != null) 4178ChartArea chartArea = Chart.ChartAreas[dataPoint.series.ChartArea];
Common\Annotation\ImageAnnotation.cs (2)
555 if(this._imageName.Length == 0 && this.Chart.IsDesignMode() ) 696 if(this.Chart != null)
Common\Annotation\RectangleAnnotation.cs (2)
699 this.Chart != null && 700 this.Chart.chartPicture != null &&
Common\ChartTypes\BarChart.cs (2)
846 ser.Chart, 1850 ser.Chart,
Common\ChartTypes\BoxPlotChart.cs (2)
898 ser.Chart, 1589Chart control = boxPlotSeries.Chart;
Common\ChartTypes\ColumnChart.cs (2)
1224series.Chart, 1337pointEx.dataPoint.series.Chart,
Common\ChartTypes\ErrorBarChart.cs (3)
955ser.Chart, 1801 if(String.Compare(errorBarSeries.ChartTypeName, ChartTypeNames.ErrorBar, StringComparison.OrdinalIgnoreCase) != 0 || errorBarSeries.Chart == null) 1823 Chart control = errorBarSeries.Chart;
Common\ChartTypes\FunnelChart.cs (1)
1640 point.series.Chart,
Common\ChartTypes\KagiChart.cs (2)
114 Chart chart = series.Chart; 217 Chart chart = series.Chart;
Common\ChartTypes\PieChart.cs (4)
314 Chart chart = series.Chart; 481 Chart chart = series.Chart; 1732 series.Chart, 5647 point.series.Chart,
Common\ChartTypes\PointAndFigureChart.cs (2)
130 Chart chart = series.Chart; 241 Chart chart = series.Chart;
Common\ChartTypes\PointChart.cs (1)
685ser.Chart,
Common\ChartTypes\RadarChart.cs (1)
1057ser.Chart,
Common\ChartTypes\RenkoChart.cs (2)
121 Chart chart = series.Chart; 222Chart chart = series.Chart;
Common\ChartTypes\StackedAreaChart.cs (2)
1009ser.Chart, 1496pointEx.dataPoint.series.Chart,
Common\ChartTypes\StackedBarChart.cs (2)
1063series.Chart, 1830ser.Chart,
Common\ChartTypes\StackedColumnChart.cs (2)
1143series.Chart, 1859series.Chart,
Common\ChartTypes\StockChart.cs (1)
980ser.Chart,
Common\ChartTypes\ThreeLineBreakChart.cs (2)
123 Chart chart = series.Chart; 223Chart chart = series.Chart;
Common\Converters\CustomAttributesConverters.cs (1)
319 ChartArea chartArea = series.Chart.ChartAreas[series.ChartArea];
Common\Converters\LegendConverters.cs (12)
106 if(title.Chart != null && title.Chart.chartPicture != null) 108 areaCollection = title.Chart.chartPicture.ChartAreas; 115 if(annotation.Chart != null && annotation.Chart.chartPicture != null) 117 areaCollection = annotation.Chart.chartPicture.ChartAreas; 152if (title.Chart != null && title.Chart.chartPicture != null) 154areaCollection = title.Chart.chartPicture.ChartAreas; 161if (annotation.Chart != null && annotation.Chart.chartPicture != null) 163areaCollection = annotation.Chart.chartPicture.ChartAreas;
Common\DataManager\DataManager.cs (2)
229if (Chart!=null) 231validAreaName = Chart.ChartAreas.IsNameReferenceValid(dataSeries.ChartArea);
Common\DataManager\DataPoint.cs (12)
1944 this.Chart, 2475 this.Chart, 2493 this.Chart, 2513 this.Chart, 2525 Chart, 2536 Chart, 2949 if(Chart != null && Chart.serializing) 2990 if(Chart != null) 2992return Chart.serializing; 3019 if(Chart != null) 3021 serializing = Chart.serializing;
Common\DataManager\DataSeries.cs (21)
1109 this.Chart, 1121 this.Chart, 1133 this.Chart, 1145 this.Chart, 1157 this.Chart, 1169 this.Chart, 1520if (this.Chart != null && !this.Chart.IsDesignMode()) 1562 if(this.Chart == null || this.Chart.serializing == false) 1594Chart.ChartAreas.VerifyNameReference(this.ChartArea); 1611 if(Chart.IsDesignMode()) 1694 if(this.Chart != null && this.Chart.chartPicture.SuppressExceptions) 1697 Axis axisY = this.Chart.ChartAreas[this.ChartArea].GetAxis(AxisName.Y, this.YAxisType, this.YSubAxisName); 1887if (Chart != null && Chart.Legends != null) 1889Chart.Legends.VerifyNameReference(value); 2492if (Chart != null && Chart.ChartAreas != null) 2494Chart.ChartAreas.VerifyNameReference(value);
Common\General\Chart.cs (9)
1808 OnBeforePaint(new ChartPaintEventArgs(this.Chart, this.ChartGraph, this.Common, new ElementPosition(0, 0, 100, 100))); 1935this.Chart.CallOnPrePaint(new ChartPaintEventArgs(this.Chart, this.ChartGraph, this.Common, new ElementPosition(0, 0, 100, 100))); 1971this.Chart.CallOnPostPaint(new ChartPaintEventArgs(this.Chart, this.ChartGraph, this.Common, new ElementPosition(0, 0, 100, 100))); 2013 OnAfterPaint(new ChartPaintEventArgs(this.Chart, this.ChartGraph, this.Common, new ElementPosition(0, 0, 100, 100))); 2029if (this.Chart.IsDesignMode()) 2031this.Chart.MapAreas.RemoveNonCustom(); 3427if (this.Chart.IsDesignMode() && ((width * height) > (100 * 1024 *1024)))
Common\General\ChartArea.cs (5)
358if (Chart != null && Chart.ChartAreas != null) 360Chart.ChartAreas.VerifyNameReference(value); 601 if(this.Chart != null && this.Chart.serializationStatus == SerializationStatus.Saving )
Common\General\GridTickMarks.cs (2)
1776if (this._axis.Chart != null && this._axis.Chart.serializing != false)
Common\General\Legend.cs (4)
2191 series.Chart, 2644if (Chart != null && Chart.ChartAreas != null) 2646Chart.ChartAreas.VerifyNameReference(value);
Common\General\LegendColumns.cs (5)
1602 if(Chart.BackColor != Color.Transparent && 1603 Chart.BackColor != Color.Black) 1605 resultColor = ChartGraphics.GetGradientColor( Chart.BackColor, Color.Black, 0.2 ); 1947this.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height))); 1966this.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
Common\General\Selection.cs (1)
1534this._chartControl = this.ChartPicture.Chart;
Common\General\Title.cs (8)
426if (Chart != null && Chart.ChartAreas != null) 428Chart.ChartAreas.VerifyNameReference(value); 522if (Chart != null && Chart.serializationStatus == SerializationStatus.Saving) 1278 this.Chart != null) 1280 if(this.Chart.ChartAreas.IndexOf(this.DockedToChartArea) >= 0) 1283 ChartArea area = this.Chart.ChartAreas[this.DockedToChartArea];
Common\Utilities\ElementPosition.cs (9)
149 if(Chart != null && Chart.IsDesignMode() && !Chart.serializing && Chart.Site != null) 152 if(Chart.ChartAreas.Count > 1) 154 bool firstAutoValue = Chart.ChartAreas[0].Position.Auto; 156 foreach(ChartArea area in Chart.ChartAreas) 179IDesignerMessageBoxDialog confirm = Chart.Site.GetService(typeof(IDesignerMessageBoxDialog)) as IDesignerMessageBoxDialog; 182foreach (ChartArea area in Chart.ChartAreas)