46 references to ScaleSegments
System.Web.DataVisualization (46)
Common\General\Axis.cs (10)
4051
if(this.
ScaleSegments
.Count == 0)
4058
this.
ScaleSegments
.AllowOutOfScaleValues = true;
4061
foreach(AxisScaleSegment axisScaleSegment in this.
ScaleSegments
)
4071
foreach(AxisScaleSegment scaleSegment in this.
ScaleSegments
)
4079
if(segmentIndex < this.
ScaleSegments
.Count - 1 &&
4152
this.
ScaleSegments
.AllowOutOfScaleValues = false;
4164
if( (this.IntervalAutoMode == IntervalAutoMode.VariableCount || this.
ScaleSegments
.Count > 0) &&
5393
this.
ScaleSegments
.EnforceSegment(this.
ScaleSegments
.FindScaleSegmentForAxisValue((label.FromPosition + label.ToPosition) / 2.0));
5405
this.
ScaleSegments
.EnforceSegment(null);
Common\General\AxisScale.cs (2)
1855
AxisScaleSegment scaleSegment = this.
ScaleSegments
.FindScaleSegmentForAxisValue(axisValue);
1863
if(!this.
ScaleSegments
.AllowOutOfScaleValues)
Common\General\ChartArea.cs (13)
2177
useScaleSegments = (currentAxis.
ScaleSegments
.Count > 0);
2186
foreach (AxisScaleSegment scaleSegment in currentAxis.
ScaleSegments
)
2202
useScaleSegments = (currentAxis.
ScaleSegments
.Count > 0);
2211
foreach (AxisScaleSegment scaleSegment in currentAxis.
ScaleSegments
)
2227
useScaleSegments = (currentAxis.
ScaleSegments
.Count > 0);
2236
foreach (AxisScaleSegment scaleSegment in currentAxis.
ScaleSegments
)
2254
useScaleSegments = (currentAxis.
ScaleSegments
.Count > 0);
2263
foreach (AxisScaleSegment scaleSegment in currentAxis.
ScaleSegments
)
2322
useScaleSegments = (currentAxis.
ScaleSegments
.Count > 0);
2334
foreach (AxisScaleSegment scaleSegment in currentAxis.
ScaleSegments
)
2356
for (int segmentIndex = 0; segmentIndex < (currentAxis.
ScaleSegments
.Count - 1); segmentIndex++)
2358
currentAxis.
ScaleSegments
[segmentIndex].PaintBreakLine(graph, currentAxis.
ScaleSegments
[segmentIndex + 1]);
Common\General\ChartAreaAxes.cs (11)
349
currentAxis.ScaleBreakStyle.GetAxisSegmentForScaleBreaks(currentAxis.
ScaleSegments
);
352
if(currentAxis.
ScaleSegments
.Count > 0)
357
if(currentAxis.minimum < currentAxis.
ScaleSegments
[0].ScaleMinimum)
359
currentAxis.minimum = currentAxis.
ScaleSegments
[0].ScaleMinimum;
361
if(currentAxis.minimum > currentAxis.
ScaleSegments
[currentAxis.
ScaleSegments
.Count - 1].ScaleMaximum)
363
currentAxis.minimum = currentAxis.
ScaleSegments
[currentAxis.
ScaleSegments
.Count - 1].ScaleMaximum;
377
useScaleSegments = (currentAxis.
ScaleSegments
.Count > 0);
388
foreach(AxisScaleSegment scaleSegment in currentAxis.
ScaleSegments
)
398
if(segmentIndex < (currentAxis.
ScaleSegments
.Count - 1) &&
Common\General\Label.cs (6)
1569
if (_axis.
ScaleSegments
.Count > 0)
1571
AxisScaleSegment scaleSegment = _axis.
ScaleSegments
.FindScaleSegmentForAxisValue(middlePoint);
1572
_axis.
ScaleSegments
.AllowOutOfScaleValues = true;
1573
_axis.
ScaleSegments
.EnforceSegment(scaleSegment);
1793
_axis.
ScaleSegments
.EnforceSegment(null);
1794
_axis.
ScaleSegments
.AllowOutOfScaleValues = false;
Common\General\SmartLabels.cs (4)
1346
&& currentAxis.
ScaleSegments
.Count > 0)
1348
for(int index = 0; index < (currentAxis.
ScaleSegments
.Count - 1); index++)
1351
RectangleF breakPosition = currentAxis.
ScaleSegments
[index].GetBreakLinePosition(common.graph, currentAxis.
ScaleSegments
[index + 1]);