406 references to ChartArea
System.Web.DataVisualization (406)
Common\Annotation\AnnotationBase.cs (30)
2190
if(horizAxis != null && horizAxis.
ChartArea
!= null)
2192
chartArea = horizAxis.
ChartArea
;
2194
if(vertAxis != null && vertAxis.
ChartArea
!= null)
2196
chartArea = vertAxis.
ChartArea
;
2706
if(horizAxis != null && horizAxis.
ChartArea
!= null)
2708
chartArea = horizAxis.
ChartArea
;
2710
if(vertAxis != null && vertAxis.
ChartArea
!= null)
2712
chartArea = vertAxis.
ChartArea
;
2933
if(horizAxis != null && horizAxis.
ChartArea
!= null)
2935
chartArea = horizAxis.
ChartArea
;
2937
if(vertAxis != null && vertAxis.
ChartArea
!= null)
2939
chartArea = vertAxis.
ChartArea
;
3375
if(axis.
ChartArea
!= null)
3377
name = axis.
ChartArea
.Name +
3497
if(horizAxis != null && horizAxis.
ChartArea
!= null)
3499
chartArea = horizAxis.
ChartArea
;
3501
if(vertAxis != null && vertAxis.
ChartArea
!= null)
3503
chartArea = vertAxis.
ChartArea
;
3973
area = this.AxisX.
ChartArea
;
3977
area = this.AxisY.
ChartArea
;
4058
chartArea = horizAxis.
ChartArea
;
4062
chartArea = vertAxis.
ChartArea
;
4204
if(this.AxisX != null && this.AxisX.
ChartArea
!= null)
4206
if(this.AxisX.
ChartArea
.switchValueAxes)
4215
if(this.AxisY != null && this.AxisY.
ChartArea
!= null)
4217
if(this.AxisY.
ChartArea
.switchValueAxes)
4235
if (horizAxis != null && horizAxis.
ChartArea
!= null && horizAxis.
ChartArea
.switchValueAxes)
4245
if (vertAxis != null && vertAxis.
ChartArea
!= null && vertAxis.
ChartArea
.switchValueAxes)
Common\Converters\AnnotationConverters.cs (2)
123
if (axis.
ChartArea
!= null)
125
return axis.
ChartArea
.Name + " - " + axis.Name;
Common\General\Axis.cs (187)
1542
if (
ChartArea
!= null &&
ChartArea
.chartAreaIsCurcular)
1547
ICircularChartType chartType =
ChartArea
.GetCircularChartType();
1551
float[] axesLocation = chartType.GetYAxisLocations(
ChartArea
);
1559
graph.GetAbsolutePoint(
ChartArea
.circularCenter));
1748
if (
ChartArea
.Area3DStyle.Enable3D && !
ChartArea
.chartAreaIsCurcular)
1764
axisPosition =
ChartArea
.PlotAreaPosition.Bottom;
1766
axisPosition =
ChartArea
.PlotAreaPosition.Bottom - axisPosition;
1772
axisPosition =
ChartArea
.PlotAreaPosition.Y;
1774
axisPosition = axisPosition -
ChartArea
.PlotAreaPosition.Y;
1780
axisPosition =
ChartArea
.PlotAreaPosition.Right;
1782
axisPosition =
ChartArea
.PlotAreaPosition.Right - axisPosition;
1788
axisPosition =
ChartArea
.PlotAreaPosition.X;
1790
axisPosition = axisPosition -
ChartArea
.PlotAreaPosition.X;
1815
_titlePosition =
ChartArea
.PlotAreaPosition.ToRectangleF();
1819
_titlePosition.X =
ChartArea
.PlotAreaPosition.X - titleSizeWithoutSpacing - axisSize;
1820
_titlePosition.Y =
ChartArea
.PlotAreaPosition.Y;
1824
SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing,
ChartArea
.PlotAreaPosition.Height);
1844
SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing,
ChartArea
.PlotAreaPosition.Height));
1850
_titlePosition.Y +=
ChartArea
.PlotAreaPosition.Height / 2f - _titlePosition.Height / 2f;
1862
_titlePosition.X =
ChartArea
.PlotAreaPosition.Right + axisSize;
1863
_titlePosition.Y =
ChartArea
.PlotAreaPosition.Y;
1867
SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing,
ChartArea
.PlotAreaPosition.Height);
1887
SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing,
ChartArea
.PlotAreaPosition.Height));
1893
_titlePosition.Y +=
ChartArea
.PlotAreaPosition.Height / 2f - _titlePosition.Height / 2f;
1905
_titlePosition.Y =
ChartArea
.PlotAreaPosition.Y - titleSizeWithoutSpacing - axisSize;
1907
_titlePosition.X =
ChartArea
.PlotAreaPosition.X;
1908
_titlePosition.Width =
ChartArea
.PlotAreaPosition.Width;
1921
_titlePosition.Y =
ChartArea
.PlotAreaPosition.Bottom + axisSize;
1923
_titlePosition.X =
ChartArea
.PlotAreaPosition.X;
1924
_titlePosition.Width =
ChartArea
.PlotAreaPosition.Width;
2039
RectangleF rect =
ChartArea
.PlotAreaPosition.ToRectangleF();
2058
float angle =
ChartArea
.CircularPositionToAngle(position);
2062
if (
ChartArea
.CircularUsePolygons)
2065
graph.Clip = new Region(graph.GetPolygonCirclePath(rect,
ChartArea
.CircularSectorsNumber));
2069
PointF centerPoint = graph.GetAbsolutePoint(
ChartArea
.circularCenter);
2114
if (
ChartArea
.CircularUsePolygons)
2140
RectangleF rect =
ChartArea
.PlotAreaPosition.ToRectangleF();
2168
if (
ChartArea
.CircularUsePolygons)
2171
graph.DrawCircleAbs(circlePen, null, rect,
ChartArea
.CircularSectorsNumber, false);
2187
if (
ChartArea
.CircularUsePolygons)
2189
path = graph.GetPolygonCirclePath(rect,
ChartArea
.CircularSectorsNumber);
2260
if (
ChartArea
.ReverseSeriesOrder)
2286
rotationCenter = new PointF(
ChartArea
.PlotAreaPosition.X,
ChartArea
.PlotAreaPosition.Y +
ChartArea
.PlotAreaPosition.Height / 2f);
2289
rotationCenter.Y =
ChartArea
.PlotAreaPosition.Bottom - axisTitleSize.Height / 2f;
2293
rotationCenter.Y =
ChartArea
.PlotAreaPosition.Y + axisTitleSize.Height / 2f;
2298
rotationCenter = new PointF(
ChartArea
.PlotAreaPosition.Right,
ChartArea
.PlotAreaPosition.Y +
ChartArea
.PlotAreaPosition.Height / 2f);
2301
rotationCenter.Y =
ChartArea
.PlotAreaPosition.Bottom - axisTitleSize.Height / 2f;
2305
rotationCenter.Y =
ChartArea
.PlotAreaPosition.Y + axisTitleSize.Height / 2f;
2310
rotationCenter = new PointF(
ChartArea
.PlotAreaPosition.X +
ChartArea
.PlotAreaPosition.Width / 2f,
ChartArea
.PlotAreaPosition.Y);
2313
rotationCenter.X =
ChartArea
.PlotAreaPosition.X + axisTitleSize.Width / 2f;
2317
rotationCenter.X =
ChartArea
.PlotAreaPosition.Right - axisTitleSize.Width / 2f;
2322
rotationCenter = new PointF(
ChartArea
.PlotAreaPosition.X +
ChartArea
.PlotAreaPosition.Width / 2f,
ChartArea
.PlotAreaPosition.Bottom);
2325
rotationCenter.X =
ChartArea
.PlotAreaPosition.X + axisTitleSize.Width / 2f;
2329
rotationCenter.X =
ChartArea
.PlotAreaPosition.Right - axisTitleSize.Width / 2f;
2345
ChartArea
.matrix3D.TransformPoints(rotationCenterPoints);
2364
ChartArea
.matrix3D.TransformPoints(rotationCenterPoints);
2533
if (
ChartArea
.chartAreaIsCurcular)
2541
if (!
ChartArea
.Area3DStyle.Enable3D ||
ChartArea
.chartAreaIsCurcular)
2559
opositeAxis =
ChartArea
.AxisX;
2562
opositeAxis =
ChartArea
.AxisX2;
2565
opositeAxis =
ChartArea
.AxisY2;
2568
opositeAxis =
ChartArea
.AxisY;
2571
opositeAxis =
ChartArea
.AxisX;
2608
if (backElements || !
ChartArea
.Area3DStyle.Enable3D ||
ChartArea
.chartAreaIsCurcular)
2661
if (
ChartArea
.chartAreaIsCurcular)
2687
if (
ChartArea
.Area3DStyle.Enable3D && !
ChartArea
.chartAreaIsCurcular)
2700
ChartArea
.matrix3D.TransformPoints(points3D);
2788
float zPositon =
ChartArea
.IsMainSceneWallOnFront() ?
ChartArea
.areaSceneDepth : 0f;
2789
SurfaceNames surfName =
ChartArea
.IsMainSceneWallOnFront() ? SurfaceNames.Front : SurfaceNames.Back;
2790
if (
ChartArea
.ShouldDrawOnSurface(SurfaceNames.Back, backElements, tickMarksOnEdge))
2798
ChartArea
.matrix3D,
2813
zPositon =
ChartArea
.IsMainSceneWallOnFront() ? 0f :
ChartArea
.areaSceneDepth;
2814
surfName =
ChartArea
.IsMainSceneWallOnFront() ? SurfaceNames.Back : SurfaceNames.Front;
2815
if (
ChartArea
.ShouldDrawOnSurface(surfName, backElements, tickMarksOnEdge))
2819
(this.AxisPosition == AxisPosition.Bottom &&
ChartArea
.IsBottomSceneWallVisible()) ||
2820
(this.AxisPosition == AxisPosition.Left &&
ChartArea
.IsSideSceneWallOnLeft()) ||
2821
(this.AxisPosition == AxisPosition.Right && !
ChartArea
.IsSideSceneWallOnLeft()))
2828
ChartArea
.matrix3D,
2845
if (
ChartArea
.ShouldDrawOnSurface(surfaceName, backElements, tickMarksOnEdge))
2849
(this.AxisPosition == AxisPosition.Bottom && (
ChartArea
.IsBottomSceneWallVisible() ||
ChartArea
.IsSideSceneWallOnLeft())) ||
2850
(this.AxisPosition == AxisPosition.Left &&
ChartArea
.IsSideSceneWallOnLeft()) ||
2851
(this.AxisPosition == AxisPosition.Right && !
ChartArea
.IsSideSceneWallOnLeft()) ||
2852
(this.AxisPosition == AxisPosition.Top &&
ChartArea
.IsSideSceneWallOnLeft()))
2859
ChartArea
.matrix3D,
2861
new Point3D(point1.X, point1.Y,
ChartArea
.areaSceneDepth),
2876
if (
ChartArea
.ShouldDrawOnSurface(surfaceName, backElements, tickMarksOnEdge))
2880
(this.AxisPosition == AxisPosition.Bottom && (
ChartArea
.IsBottomSceneWallVisible() || !
ChartArea
.IsSideSceneWallOnLeft())) ||
2881
(this.AxisPosition == AxisPosition.Left && (
ChartArea
.IsSideSceneWallOnLeft() ||
ChartArea
.IsBottomSceneWallVisible())) ||
2882
(this.AxisPosition == AxisPosition.Right && (!
ChartArea
.IsSideSceneWallOnLeft() ||
ChartArea
.IsBottomSceneWallVisible())) ||
2883
(this.AxisPosition == AxisPosition.Top && !
ChartArea
.IsSideSceneWallOnLeft())
2891
ChartArea
.matrix3D,
2893
new Point3D(point2.X, point2.Y,
ChartArea
.areaSceneDepth),
2922
if (this.AxisPosition == AxisPosition.Bottom && (
ChartArea
.IsBottomSceneWallVisible() || !axisOnEdge))
2924
wallZPosition =
ChartArea
.areaSceneDepth;
2926
if (this.AxisPosition == AxisPosition.Left && (
ChartArea
.IsSideSceneWallOnLeft() || !axisOnEdge))
2928
wallZPosition =
ChartArea
.areaSceneDepth;
2930
if (this.AxisPosition == AxisPosition.Right && (!
ChartArea
.IsSideSceneWallOnLeft() || !axisOnEdge))
2932
wallZPosition =
ChartArea
.areaSceneDepth;
2936
wallZPosition =
ChartArea
.areaSceneDepth;
2940
if (
ChartArea
.IsMainSceneWallOnFront())
2943
wallZPosition = (wallZPosition == 0f) ?
ChartArea
.areaSceneDepth : 0f;
3112
if (
ChartArea
.BackColor == Color.Empty)
3114
stripLine.BackColor = (
ChartArea
.Area3DStyle.Enable3D) ? Color.DarkGray : Color.LightGray;
3116
else if (
ChartArea
.BackColor == Color.Transparent)
3129
stripLine.BackColor = ChartGraphics.GetGradientColor(
ChartArea
.BackColor, Color.Black, 0.2);
3441
if (
ChartArea
.AxisY.ArrowStyle != AxisArrowStyle.None)
3443
arrowSizePrimary =
ChartArea
.AxisY.GetArrowSize(out arrowOrientation);
3450
if (
ChartArea
.AxisY2.ArrowStyle != AxisArrowStyle.None)
3452
arrowSizeSecondary =
ChartArea
.AxisY2.GetArrowSize(out arrowOrientation);
3461
if (
ChartArea
.AxisX.ArrowStyle != AxisArrowStyle.None)
3463
arrowSizePrimary =
ChartArea
.AxisX.GetArrowSize(out arrowOrientation);
3470
if (
ChartArea
.AxisX2.ArrowStyle != AxisArrowStyle.None)
3472
arrowSizeSecondary =
ChartArea
.AxisX2.GetArrowSize(out arrowOrientation);
3575
if (
ChartArea
.Area3DStyle.Enable3D &&
3576
!
ChartArea
.chartAreaIsCurcular &&
3577
ChartArea
.BackColor != Color.Transparent &&
3578
ChartArea
.Area3DStyle.WallWidth > 0)
3580
SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(
ChartArea
.Area3DStyle.WallWidth,
ChartArea
.Area3DStyle.WallWidth));
3613
maxLabelSize = (float)GetAxisPosition() -
ChartArea
.Position.Y;
3615
maxLabelSize =
ChartArea
.Position.Bottom - (float)GetAxisPosition();
3617
maxLabelSize = (float)GetAxisPosition() -
ChartArea
.Position.X;
3619
maxLabelSize =
ChartArea
.Position.Right - (float)GetAxisPosition();
3624
maxLabelSize = plotArea.Y -
ChartArea
.Position.Y;
3626
maxLabelSize =
ChartArea
.Position.Bottom - plotArea.Bottom;
3628
maxLabelSize = plotArea.X -
ChartArea
.Position.X;
3630
maxLabelSize =
ChartArea
.Position.Right - plotArea.Right;
3673
if(
ChartArea
.Area3DStyle.Enable3D)
3705
!
ChartArea
.chartAreaIsCurcular)
3725
if (
ChartArea
.IsSameFontSizeForAllAxes)
3727
size = (float)Math.Min(size,
ChartArea
.axesAutoFontSize);
3786
else if (!
ChartArea
.Area3DStyle.Enable3D &&
3787
!
ChartArea
.chartAreaIsCurcular &&
3891
autoLabelAngle += (
ChartArea
.Area3DStyle.Enable3D) ? 45 : 30;
3944
else if (
ChartArea
.Area3DStyle.Enable3D &&
3945
!
ChartArea
.chartAreaIsCurcular &&
4170
if(!
ChartArea
.requireAxes)
4841
PointF areaCenterAbs = graph.GetAbsolutePoint(
ChartArea
.circularCenter);
5106
if (
ChartArea
!= null &&
ChartArea
.IsSameFontSizeForAllAxes)
5109
foreach (Axis currentAxis in
ChartArea
.Axes)
5234
maxLabelSize = (float)GetAxisPosition() -
ChartArea
.Position.Y;
5236
maxLabelSize =
ChartArea
.Position.Bottom - (float)GetAxisPosition();
5238
maxLabelSize = (float)GetAxisPosition() -
ChartArea
.Position.X;
5240
maxLabelSize =
ChartArea
.Position.Right - (float)GetAxisPosition();
5245
maxLabelSize = this.PlotAreaPosition.Y -
ChartArea
.Position.Y;
5247
maxLabelSize =
ChartArea
.Position.Bottom - this.PlotAreaPosition.Bottom;
5249
maxLabelSize = this.PlotAreaPosition.X -
ChartArea
.Position.X;
5251
maxLabelSize =
ChartArea
.Position.Right - this.PlotAreaPosition.Right;
5258
maxLabelSize =
ChartArea
.Position.Height;
5260
maxLabelSize =
ChartArea
.Position.Width;
5466
(secondPass) ? rect.Size :
ChartArea
.Position.ToRectangleF().Size,
5480
(secondPass) ? rect.Size :
ChartArea
.Position.ToRectangleF().Size,
5641
RectangleF rectLabels =
ChartArea
.Position.ToRectangleF();
5852
if (
ChartArea
.Area3DStyle.Enable3D && !
ChartArea
.chartAreaIsCurcular)
6028
if (
ChartArea
!= null &&
ChartArea
.chartAreaIsCurcular)
6066
if (this.Common != null && this.Common.DataManager.Series != null &&
ChartArea
!= null)
6073
if (series.ChartArea ==
ChartArea
.Name && series.IsVisible())
6187
opositeAxis =
ChartArea
.AxisX;
6190
opositeAxis =
ChartArea
.AxisX2;
6193
opositeAxis =
ChartArea
.AxisY2;
6196
opositeAxis =
ChartArea
.AxisY;
6199
opositeAxis =
ChartArea
.AxisX;
6348
if (
ChartArea
!= null &&
ChartArea
.chartAreaIsCurcular)
6431
ChartArea
.matrix3D.TransformPoints(axisPoints);
Common\General\AxisLabels.cs (13)
195
foreach (string seriesName in this.
ChartArea
.Series)
222
return
ChartArea
.GetAxis(
290
if(this.
ChartArea
!= null && this.
ChartArea
.chartAreaIsCurcular)
294
ICircularChartType type = this.
ChartArea
.GetCircularChartType();
309
this.
ChartArea
.chartAreaIsCurcular)
342
dataSeries =
ChartArea
.GetXAxesSeries( AxisType.Primary, ((Axis)this).SubAxisName );
345
dataSeries =
ChartArea
.GetYAxesSeries( AxisType.Primary, ((Axis)this).SubAxisName );
348
dataSeries =
ChartArea
.GetXAxesSeries( AxisType.Secondary, ((Axis)this).SubAxisName );
351
dataSeries =
ChartArea
.GetYAxesSeries( AxisType.Secondary, ((Axis)this).SubAxisName );
384
IChartType chartType = Common.ChartTypeRegistry.GetChartType(
ChartArea
.GetFirstSeries().ChartTypeName );
542
List<string> seriesArray =
ChartArea
.GetXAxesSeries((axisType == AxisName.X) ? AxisType.Primary : AxisType.Secondary, ((Axis)this).SubAxisName);
563
if(!this.
ChartArea
.chartAreaIsCurcular ||
Common\General\AxisScale.cs (35)
1122
if (
ChartArea
.Series.Count == 0)
1129
Series ser =
ChartArea
.GetFirstSeries();
1257
if( min < 0.0 || ( !shouldStartFromZero && !
ChartArea
.stacked ) )
1607
list =
ChartArea
.GetXAxesSeries( AxisType.Primary, ((Axis)this).SubAxisName );
1621
list =
ChartArea
.GetXAxesSeries( AxisType.Secondary, ((Axis)this).SubAxisName );
1635
list =
ChartArea
.GetYAxesSeries( AxisType.Primary, ((Axis)this).SubAxisName );
1649
list =
ChartArea
.GetYAxesSeries( AxisType.Secondary, ((Axis)this).SubAxisName );
1673
if( Common.ChartTypeRegistry.GetChartType( (string)
ChartArea
.ChartTypes[0] ).ZeroCrossing )
1755
list =
ChartArea
.GetXAxesSeries( AxisType.Primary, ((Axis)this).SubAxisName );
1758
oppositeAxis =
ChartArea
.AxisY;
1761
oppositeAxis =
ChartArea
.AxisY.GetSubAxis(Common.DataManager.Series[list[0]].YSubAxisName);
1763
oppositeAxis =
ChartArea
.AxisY2.GetSubAxis(Common.DataManager.Series[list[0]].YSubAxisName);
1767
list =
ChartArea
.GetXAxesSeries( AxisType.Secondary, ((Axis)this).SubAxisName );
1770
oppositeAxis =
ChartArea
.AxisY2;
1773
oppositeAxis =
ChartArea
.AxisY.GetSubAxis(Common.DataManager.Series[list[0]].YSubAxisName);
1775
oppositeAxis =
ChartArea
.AxisY2.GetSubAxis(Common.DataManager.Series[list[0]].YSubAxisName);
1779
list =
ChartArea
.GetYAxesSeries( AxisType.Primary, ((Axis)this).SubAxisName );
1782
oppositeAxis =
ChartArea
.AxisX;
1785
oppositeAxis =
ChartArea
.AxisX.GetSubAxis(Common.DataManager.Series[list[0]].XSubAxisName);
1787
oppositeAxis =
ChartArea
.AxisX2.GetSubAxis(Common.DataManager.Series[list[0]].XSubAxisName);
1791
list =
ChartArea
.GetYAxesSeries( AxisType.Secondary, ((Axis)this).SubAxisName );
1794
oppositeAxis =
ChartArea
.AxisX2;
1797
oppositeAxis =
ChartArea
.AxisX.GetSubAxis(Common.DataManager.Series[list[0]].XSubAxisName);
1799
oppositeAxis =
ChartArea
.AxisX2.GetSubAxis(Common.DataManager.Series[list[0]].XSubAxisName);
1813
bool circularArea = (
ChartArea
== null || !
ChartArea
.chartAreaIsCurcular) ?
1968
if (
ChartArea
.SeriesIntegerType( this.axisType, string.Empty ))
2127
if(
ChartArea
.hundredPercent)
2176
ChartArea
.Area3DStyle.Enable3D &&
2177
!
ChartArea
.chartAreaIsCurcular)
2255
diff =
ChartArea
.GetPointsInterval( false, 10 );
2270
ChartArea
.Area3DStyle.Enable3D &&
2271
!
ChartArea
.chartAreaIsCurcular)
2332
if(
ChartArea
.hundredPercent)
2342
if(
ChartArea
.hundredPercent)
Common\General\AxisScaleBreaks.cs (9)
427
if(this.axis == null || this.axis.
ChartArea
== null || this.axis.
ChartArea
.Common.Chart == null)
433
if(this.axis.
ChartArea
.Area3DStyle.Enable3D)
470
IChartType chartType = this.axis.
ChartArea
.Common.ChartTypeRegistry.GetChartType(series.ChartTypeName);
496
if(axis != null && axis.
ChartArea
!= null && axis.
ChartArea
.Common.Chart != null)
499
foreach(Series series in axis.
ChartArea
.Common.Chart.Series)
502
if(series.ChartArea == axis.
ChartArea
.Name &&
993
IChartType chartType = this.axis.
ChartArea
.Common.ChartTypeRegistry.GetChartType(series.ChartTypeName);
Common\General\AxisScaleSegments.cs (21)
385
if( this.axis.
ChartArea
.ShadowOffset != 0 && !this.axis.
ChartArea
.ShadowColor.IsEmpty)
391
shadowPartRect.Y += this.axis.
ChartArea
.ShadowOffset;
392
shadowPartRect.Height -= this.axis.
ChartArea
.ShadowOffset;
394
shadowPartRect.Width = this.axis.
ChartArea
.ShadowOffset + 2;
398
shadowPartRect.X += this.axis.
ChartArea
.ShadowOffset;
399
shadowPartRect.Width -= this.axis.
ChartArea
.ShadowOffset;
401
shadowPartRect.Height = this.axis.
ChartArea
.ShadowOffset + 2;
411
float size = this.axis.
ChartArea
.ShadowOffset;
422
int transparencyStep = (int)(this.axis.
ChartArea
.ShadowColor.A / size);
429
clipRegion.X += this.axis.
ChartArea
.ShadowOffset;
430
clipRegion.Width += this.axis.
ChartArea
.ShadowOffset;
434
clipRegion.Y += this.axis.
ChartArea
.ShadowOffset;
435
clipRegion.Height += this.axis.
ChartArea
.ShadowOffset;
458
this.axis.
ChartArea
.ShadowColor.A - transparencyStep * index,
459
this.axis.
ChartArea
.ShadowColor);
510
Chart chart = this.axis.
ChartArea
.Common.Chart;
713
breakPosition.X -= this.axis.
ChartArea
.BorderWidth;
714
breakPosition.Width += 2 * this.axis.
ChartArea
.BorderWidth;
719
breakPosition.Y -= this.axis.
ChartArea
.BorderWidth;
720
breakPosition.Height += 2 * this.axis.
ChartArea
.BorderWidth;
Common\General\AxisScrollZoom.cs (17)
214
if(this.axis != null && this.axis.
ChartArea
!= null && this.axis.
ChartArea
.chartAreaIsCurcular)
223
if(this.axis != null && this.axis.
ChartArea
!= null && this.axis.
ChartArea
.chartAreaIsCurcular)
234
if(this.axis != null && this.axis.
ChartArea
!= null && this.axis.Common != null && this.axis.Common.ChartPicture != null)
236
if(!this.axis.
ChartArea
.alignmentInProcess)
240
this.axis.Common.ChartPicture.AlignChartAreasAxesView(this.axis.
ChartArea
, orientation);
269
if(this.axis != null && this.axis.
ChartArea
!= null && this.axis.
ChartArea
.chartAreaIsCurcular)
279
if(this.axis != null && this.axis.
ChartArea
!= null && this.axis.
ChartArea
.chartAreaIsCurcular)
291
if(this.axis != null && this.axis.
ChartArea
!= null && this.axis.Common != null && this.axis.Common.ChartPicture != null)
293
if(!this.axis.
ChartArea
.alignmentInProcess)
297
this.axis.Common.ChartPicture.AlignChartAreasAxesView(this.axis.
ChartArea
, orientation);
337
if(this.axis != null && this.axis.
ChartArea
!= null && this.axis.Common != null && this.axis.Common.ChartPicture != null)
339
if(!this.axis.
ChartArea
.alignmentInProcess)
343
this.axis.Common.ChartPicture.AlignChartAreasAxesView(this.axis.
ChartArea
, orientation);
Common\General\ChartArea.cs (2)
2151
if (currentAxis.
ChartArea
!= null && currentAxis.
ChartArea
.chartAreaIsCurcular)
Common\General\GridTickMarks.cs (31)
198
List<string> seriesArray = Axis.
ChartArea
.GetXAxesSeries((Axis.axisType == AxisName.X) ? AxisType.Primary : AxisType.Secondary, Axis.SubAxisName);
221
if (!Axis.
ChartArea
.chartAreaIsCurcular ||
445
if (this.Axis != null && this.Axis.
ChartArea
!= null)
447
if (this.Axis.
ChartArea
.chartAreaIsCurcular &&
499
if (this.Axis.
ChartArea
.chartAreaIsCurcular)
513
else if (!this.Axis.
ChartArea
.Area3DStyle.Enable3D || this.Axis.
ChartArea
.chartAreaIsCurcular)
530
if (!this.Axis.
ChartArea
.Area3DStyle.Enable3D || this.Axis.
ChartArea
.chartAreaIsCurcular)
748
if (!this.Axis.
ChartArea
.Area3DStyle.Enable3D || this.Axis.
ChartArea
.chartAreaIsCurcular)
763
if (!this.Axis.
ChartArea
.Area3DStyle.Enable3D || this.Axis.
ChartArea
.chartAreaIsCurcular)
792
ChartArea area = this.Axis.
ChartArea
;
1259
List<string> seriesArray = _axis.
ChartArea
.GetXAxesSeries((_axis.axisType == AxisName.X) ? AxisType.Primary : AxisType.Secondary, _axis.SubAxisName);
1312
if(!_axis.
ChartArea
.chartAreaIsCurcular ||
1489
if( this._axis.
ChartArea
.Area3DStyle.Enable3D && !this._axis.
ChartArea
.chartAreaIsCurcular)
1492
graph.Draw3DGridLine(this._axis.
ChartArea
, borderColor, borderWidth, borderDashStyle, first, second, ( _axis.AxisPosition == AxisPosition.Left || _axis.AxisPosition == AxisPosition.Right ), common, this );
1494
else if(!this._axis.
ChartArea
.chartAreaIsCurcular)
1519
if(_axis.
ChartArea
.chartAreaIsCurcular)
1527
ICircularChartType chartType = this._axis.
ChartArea
.GetCircularChartType();
1534
else if(!this._axis.
ChartArea
.Area3DStyle.Enable3D || this._axis.
ChartArea
.chartAreaIsCurcular)
1540
graph.Draw3DGridLine( this._axis.
ChartArea
, borderColor, borderWidth, borderDashStyle, first, second, ( _axis.AxisPosition == AxisPosition.Left || _axis.AxisPosition == AxisPosition.Right ), _axis.Common, this );
1588
if( !this._axis.
ChartArea
.Area3DStyle.Enable3D || this._axis.
ChartArea
.chartAreaIsCurcular )
1611
graph.Draw3DGridLine(this._axis.
ChartArea
, borderColor, borderWidth, borderDashStyle, first, second, ( _axis.AxisPosition == AxisPosition.Left || _axis.AxisPosition == AxisPosition.Right ), common, this );
1617
if(!this._axis.
ChartArea
.Area3DStyle.Enable3D || this._axis.
ChartArea
.chartAreaIsCurcular)
1623
graph.Draw3DGridLine(this._axis.
ChartArea
, borderColor, borderWidth, borderDashStyle, first, second, ( _axis.AxisPosition == AxisPosition.Left || _axis.AxisPosition == AxisPosition.Right ), _axis.Common, this );
Common\General\Label.cs (30)
1147
CircularAxisLabelsStyle labelsStyle = this._axis.
ChartArea
.GetCircularAxisLabelsStyle();
1150
ArrayList circularAxes = this._axis.
ChartArea
.GetCircularAxisList();
1162
this._axis.
ChartArea
.circularCenter.X,
1163
this._axis.
ChartArea
.PlotAreaPosition.Y);
1173
ICircularChartType chartType = this._axis.
ChartArea
.GetCircularChartType();
1176
if (!double.IsNaN(this._axis.
ChartArea
.AxisX.Crossing))
1178
labelAngle += (float)this._axis.
ChartArea
.AxisX.Crossing;
1190
newMatrix.RotateAt(labelAngle, graph.GetAbsolutePoint(this._axis.
ChartArea
.circularCenter));
1378
if (this._axis.
ChartArea
.Area3DStyle.Enable3D && !this._axis.
ChartArea
.chartAreaIsCurcular)
1385
RectangleF rectLabels = _axis.
ChartArea
.Position.ToRectangleF();
1527
List<string> seriesArray = _axis.
ChartArea
.GetXAxesSeries((_axis.axisType == AxisName.X) ? AxisType.Primary : AxisType.Secondary, _axis.SubAxisName);
1986
!this._axis.
ChartArea
.ShouldDrawOnSurface(SurfaceNames.Top, backElements, false))
1991
!this._axis.
ChartArea
.ShouldDrawOnSurface(SurfaceNames.Left, backElements, false))
1996
!this._axis.
ChartArea
.ShouldDrawOnSurface(SurfaceNames.Right, backElements, false))
2001
if (adjustForWallWidth && this._axis.
ChartArea
.Area3DStyle.WallWidth > 0)
2005
labelsZPosition -= this._axis.
ChartArea
.areaSceneWallWidth.Width;
2009
labelsZPosition -= this._axis.MajorTickMark.Size + this._axis.
ChartArea
.areaSceneWallWidth.Width;
2013
labelsZPosition -= this._axis.MajorTickMark.Size / 2f + this._axis.
ChartArea
.areaSceneWallWidth.Width;
2030
RectangleF rectLabels = this.GetAllLabelsRect(this._axis.
ChartArea
, this._axis.AxisPosition, format);
2305
this._axis.
ChartArea
.matrix3D.TransformPoints(rectPoints);
2315
this._axis.
ChartArea
.matrix3D.TransformPoints(rectPoints);
2327
this._axis.
ChartArea
.matrix3D.TransformPoints(rectPoints);
2337
RectangleF rightLabelsRect = this.GetAllLabelsRect(this._axis.
ChartArea
, labelsPosition, format);
2345
RectangleF rightLabelsRect = this.GetAllLabelsRect(this._axis.
ChartArea
, labelsPosition, format);
2358
this._axis.
ChartArea
.matrix3D.TransformPoints(rectPoints);
2369
RectangleF rightLabelsRect = this.GetAllLabelsRect(this._axis.
ChartArea
, labelsPosition, format);
2383
RectangleF rightLabelsRect = this.GetAllLabelsRect(this._axis.
ChartArea
, labelsPosition, format);
2399
foreach (Axis curAxis in this._axis.
ChartArea
.Axes)
2466
this._axis.
ChartArea
.matrix3D.TransformPoints(labelPositionPoints);
Common\General\Selection.cs (13)
2328
result.ChartArea = axis.
ChartArea
;
2362
result.ChartArea = gridLines.Axis.
ChartArea
;
2384
result.ChartArea = stripLines.Axis.
ChartArea
;
2392
result.ChartArea = tickMarks.Axis.
ChartArea
;
2404
result.ChartArea = label.Axis!=null ? label.Axis.
ChartArea
: null;
2412
result.ChartArea = label.Axis!=null ? label.Axis.
ChartArea
: null;
2419
result.ChartArea = result.Axis.
ChartArea
;
2759
if (!IsArea3D(grid.Axis.
ChartArea
))
2761
if (IsChartAreaCircular(grid.Axis.
ChartArea
))
2842
if (!IsArea3D(axis.
ChartArea
))
3079
if (axis.
ChartArea
.chartAreaIsCurcular)
3096
ChartArea area = axis.
ChartArea
;
3109
axis.
ChartArea
.matrix3D.TransformPoints(points);
Common\General\StripLine.cs (16)
251
if(this.Axis.
ChartArea
.chartAreaIsCurcular)
257
RectangleF plotAreaPosition = this.Axis.
ChartArea
.PlotAreaPosition.ToRectangleF();
270
List<string> seriesArray = Axis.
ChartArea
.GetXAxesSeries((Axis.axisType == AxisName.X) ? AxisType.Primary : AxisType.Secondary, Axis.SubAxisName);
287
if(!Axis.
ChartArea
.chartAreaIsCurcular ||
396
if(!this.Axis.
ChartArea
.Area3DStyle.Enable3D)
419
if(!this.Axis.
ChartArea
.Area3DStyle.Enable3D)
463
if(!this.Axis.
ChartArea
.Area3DStyle.Enable3D)
469
graph.Draw3DGridLine(this.Axis.
ChartArea
, _borderColor, _borderWidth, _borderDashStyle, point1, point2, horizontal, Axis.Common, this );
524
ChartArea area = this.Axis.
ChartArea
;
699
if (this.Axis.
ChartArea
.Area3DStyle.Enable3D)
703
zPositon = this.Axis.
ChartArea
.IsMainSceneWallOnFront() ? this.Axis.
ChartArea
.areaSceneDepth : 0f;
709
this.Axis.
ChartArea
.matrix3D.TransformPoints(textSizeProjection);
712
int index = this.Axis.
ChartArea
.IsMainSceneWallOnFront() ? 0 : 1;
753
if (this.Axis.
ChartArea
.Area3DStyle.Enable3D)
768
this.Axis.
ChartArea
.matrix3D.TransformPoints(rotationCenterProjection);