162 references to Chart
System.Windows.Forms.DataVisualization (162)
Common\Annotation\AnnotationBase.cs (36)
385
if (
Chart
!= null &&
Chart
.ChartAreas != null)
387
Chart
.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)
2822
PointF newlocation = this.
Chart
.chartPicture.annotationSmartLabel.AdjustSmartLabelPosition(
2824
this.
Chart
.chartPicture.ChartGraph,
2847
RectangleF newPosition = this.
Chart
.chartPicture.annotationSmartLabel.GetLabelPosition(
2848
this.
Chart
.chartPicture.ChartGraph,
2865
this.
Chart
.chartPicture.annotationSmartLabel.AddSmartLabelPosition(
2866
this.
Chart
.chartPicture.ChartGraph,
3132
movingDistance =
Chart
.chartPicture.ChartGraph.GetRelativeSize(movingDistance);
3275
if (
Chart
!= null && dataPointName.Length > 0)
3287
dataPoint =
Chart
.Series[seriesName].Points[index];
3308
if (
Chart
!= null && axisName.Length > 0)
3319
axis =
Chart
.ChartAreas[areaName].AxisX;
3322
axis =
Chart
.ChartAreas[areaName].AxisY;
3325
axis =
Chart
.ChartAreas[areaName].AxisX2;
3328
axis =
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];
4175
if (dataPoint != null && dataPoint.series != null &&
Chart
!= null)
4178
ChartArea 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
,
1589
Chart control = boxPlotSeries.
Chart
;
Common\ChartTypes\ColumnChart.cs (2)
1224
series.
Chart
,
1337
pointEx.dataPoint.series.
Chart
,
Common\ChartTypes\ErrorBarChart.cs (3)
955
ser.
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)
685
ser.
Chart
,
Common\ChartTypes\RadarChart.cs (1)
1057
ser.
Chart
,
Common\ChartTypes\RenkoChart.cs (2)
121
Chart chart = series.
Chart
;
222
Chart chart = series.
Chart
;
Common\ChartTypes\StackedAreaChart.cs (2)
1009
ser.
Chart
,
1496
pointEx.dataPoint.series.
Chart
,
Common\ChartTypes\StackedBarChart.cs (2)
1063
series.
Chart
,
1830
ser.
Chart
,
Common\ChartTypes\StackedColumnChart.cs (2)
1143
series.
Chart
,
1859
series.
Chart
,
Common\ChartTypes\StockChart.cs (1)
980
ser.
Chart
,
Common\ChartTypes\ThreeLineBreakChart.cs (2)
123
Chart chart = series.
Chart
;
223
Chart 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;
152
if (title.
Chart
!= null && title.
Chart
.chartPicture != null)
154
areaCollection = title.
Chart
.chartPicture.ChartAreas;
161
if (annotation.
Chart
!= null && annotation.
Chart
.chartPicture != null)
163
areaCollection = annotation.
Chart
.chartPicture.ChartAreas;
Common\DataManager\DataManager.cs (2)
229
if (
Chart
!=null)
231
validAreaName =
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)
2992
return
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
,
1520
if (this.
Chart
!= null && !this.
Chart
.IsDesignMode())
1562
if(this.
Chart
== null || this.
Chart
.serializing == false)
1594
Chart
.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);
1887
if (
Chart
!= null &&
Chart
.Legends != null)
1889
Chart
.Legends.VerifyNameReference(value);
2492
if (
Chart
!= null &&
Chart
.ChartAreas != null)
2494
Chart
.ChartAreas.VerifyNameReference(value);
Common\General\Chart.cs (9)
1808
OnBeforePaint(new ChartPaintEventArgs(this.
Chart
, this.ChartGraph, this.Common, new ElementPosition(0, 0, 100, 100)));
1935
this.
Chart
.CallOnPrePaint(new ChartPaintEventArgs(this.
Chart
, this.ChartGraph, this.Common, new ElementPosition(0, 0, 100, 100)));
1971
this.
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)));
2029
if (this.
Chart
.IsDesignMode())
2031
this.
Chart
.MapAreas.RemoveNonCustom();
3427
if (this.
Chart
.IsDesignMode() && ((width * height) > (100 * 1024 *1024)))
Common\General\ChartArea.cs (5)
358
if (
Chart
!= null &&
Chart
.ChartAreas != null)
360
Chart
.ChartAreas.VerifyNameReference(value);
601
if(this.
Chart
!= null && this.
Chart
.serializationStatus == SerializationStatus.Saving )
Common\General\GridTickMarks.cs (2)
1776
if (this._axis.
Chart
!= null && this._axis.
Chart
.serializing != false)
Common\General\Legend.cs (4)
2191
series.
Chart
,
2644
if (
Chart
!= null &&
Chart
.ChartAreas != null)
2646
Chart
.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 );
1947
this.
Chart
.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
1966
this.
Chart
.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
Common\General\Selection.cs (1)
1534
this._chartControl = this.ChartPicture.
Chart
;
Common\General\Title.cs (8)
426
if (
Chart
!= null &&
Chart
.ChartAreas != null)
428
Chart
.ChartAreas.VerifyNameReference(value);
522
if (
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)
179
IDesignerMessageBoxDialog confirm =
Chart
.Site.GetService(typeof(IDesignerMessageBoxDialog)) as IDesignerMessageBoxDialog;
182
foreach (ChartArea area in
Chart
.ChartAreas)