3 writes to labelStyle
System.Web.DataVisualization (3)
Common\General\Axis.cs (2)
338labelStyle = new LabelStyle(this); 6475labelStyle = null;
Common\General\AxisLabels.cs (1)
96 labelStyle = value;
63 references to labelStyle
System.Web.DataVisualization (63)
Common\General\Axis.cs (21)
336if (labelStyle == null) 1341labelStyle.interval = tempLabelInterval; 1417labelStyle.intervalType = tempLabelIntervalType; 1519labelStyle.Paint(graph, true); 1580int currentAngle = labelStyle.Angle; 1583if (labelStyle.Angle == 0) 1587labelStyle.angle = -90; 1591labelStyle.angle = 90; 1596labelStyle.Paint(graph, false); 1599labelStyle.angle = currentAngle; 1610labelStyle.PaintCircular(graph); 1635labelStyle.Paint(graph, false); 1711 labelStyle.Paint( graph, false); 3212tempLabelInterval = labelStyle.interval; 3213tempLabelIntervalType = labelStyle.intervalType; 3316labelStyle.interval = tempLabelInterval; 3319labelStyle.intervalType = tempLabelIntervalType; 4269 double currentInterval = (axisScaleSegment == null) ? this.labelStyle.GetInterval() : axisScaleSegment.Interval; 4270 DateTimeIntervalType currentIntervalType = (axisScaleSegment == null) ? this.labelStyle.GetIntervalType() : axisScaleSegment.IntervalType; 6472if (labelStyle != null) 6474labelStyle.Dispose();
Common\General\AxisLabels.cs (33)
92 return labelStyle; 97 labelStyle.Axis = (Axis)this; 378 if( labelStyle.IsEndLabelVisible ) 406 if( fromSeries && ( labelStyle.GetIntervalOffset() != 0 || labelStyle.GetInterval() != 0 ) ) 423 if( labelStyle.GetIntervalType() != DateTimeIntervalType.Auto && 424labelStyle.GetIntervalType() != DateTimeIntervalType.Number ) 557DateTimeIntervalType offsetType = (labelStyle.GetIntervalOffsetType() == DateTimeIntervalType.Auto) ? labelStyle.GetIntervalType() : labelStyle.GetIntervalOffsetType(); 567start = ChartHelper.AlignIntervalStart(start, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries); 571 if( labelStyle.GetIntervalOffset() != 0 && axisSeries == null) 573start += ChartHelper.GetIntervalSize(start, labelStyle.GetIntervalOffset(), 590if ((viewMaximum - start) / ChartHelper.GetIntervalSize(start, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, 0, DateTimeIntervalType.Number, true) > ChartHelper.MaxNumOfGridlines) 594double endLabelMaxPosition = viewMaximum - ChartHelper.GetIntervalSize(viewMaximum, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, labelStyle.GetIntervalOffset(), offsetType, true) / 2f; 595double endLabelMinPosition = viewMinimum + ChartHelper.GetIntervalSize(viewMinimum, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, labelStyle.GetIntervalOffset(), offsetType, true) / 2f; 598dateInterval = ChartHelper.GetIntervalSize(position, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, labelStyle.GetIntervalOffset(), offsetType, true); 693for (double position = start - endLabels * labelStyle.GetInterval(); position < viewMaximum - 1.5 * labelStyle.GetInterval() * (1 - endLabels); position = (double)((decimal)position + (decimal)labelStyle.GetInterval())) 703 labValue = (double)((decimal)position + (decimal)labelStyle.GetInterval()); 707 double inter = Math.Log(labelStyle.GetInterval()); 722 if( ( viewMaximum - start ) / labelStyle.GetInterval() > ChartHelper.MaxNumOfGridlines ) 731 beginPosition = (double)((decimal)position + (decimal)labelStyle.GetInterval() * 0.5m); 732 endPosition = (double)((decimal)position + (decimal)labelStyle.GetInterval() * 1.5m);
Common\General\AxisScale.cs (9)
459 labelStyle.intervalType = value; 491 labelStyle.interval = value; 521 labelStyle.interval = newInterval; 522 labelStyle.intervalType = newIntervalType; 1167this._intervalsStore.Push(this.labelStyle.intervalOffset); 1174 this.labelStyle.intervalOffset = Double.IsNaN(this.labelStyle.intervalOffset) ? offset : this.labelStyle.intervalOffset + offset; 1202this.labelStyle.intervalOffset = this._intervalsStore.Pop();