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) && 5393this.ScaleSegments.EnforceSegment(this.ScaleSegments.FindScaleSegmentForAxisValue((label.FromPosition + label.ToPosition) / 2.0)); 5405this.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)
2177useScaleSegments = (currentAxis.ScaleSegments.Count > 0); 2186foreach (AxisScaleSegment scaleSegment in currentAxis.ScaleSegments) 2202useScaleSegments = (currentAxis.ScaleSegments.Count > 0); 2211foreach (AxisScaleSegment scaleSegment in currentAxis.ScaleSegments) 2227useScaleSegments = (currentAxis.ScaleSegments.Count > 0); 2236foreach (AxisScaleSegment scaleSegment in currentAxis.ScaleSegments) 2254useScaleSegments = (currentAxis.ScaleSegments.Count > 0); 2263foreach (AxisScaleSegment scaleSegment in currentAxis.ScaleSegments) 2322useScaleSegments = (currentAxis.ScaleSegments.Count > 0); 2334foreach (AxisScaleSegment scaleSegment in currentAxis.ScaleSegments) 2356for (int segmentIndex = 0; segmentIndex < (currentAxis.ScaleSegments.Count - 1); segmentIndex++) 2358currentAxis.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)
1569if (_axis.ScaleSegments.Count > 0) 1571AxisScaleSegment 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]);