3 writes to labelStyle
System.Web.DataVisualization (3)
Common\General\Axis.cs (2)
338
labelStyle
= new LabelStyle(this);
6475
labelStyle
= null;
Common\General\AxisLabels.cs (1)
96
labelStyle
= value;
63 references to labelStyle
System.Web.DataVisualization (63)
Common\General\Axis.cs (21)
336
if (
labelStyle
== null)
1341
labelStyle
.interval = tempLabelInterval;
1417
labelStyle
.intervalType = tempLabelIntervalType;
1519
labelStyle
.Paint(graph, true);
1580
int currentAngle =
labelStyle
.Angle;
1583
if (
labelStyle
.Angle == 0)
1587
labelStyle
.angle = -90;
1591
labelStyle
.angle = 90;
1596
labelStyle
.Paint(graph, false);
1599
labelStyle
.angle = currentAngle;
1610
labelStyle
.PaintCircular(graph);
1635
labelStyle
.Paint(graph, false);
1711
labelStyle
.Paint( graph, false);
3212
tempLabelInterval =
labelStyle
.interval;
3213
tempLabelIntervalType =
labelStyle
.intervalType;
3316
labelStyle
.interval = tempLabelInterval;
3319
labelStyle
.intervalType = tempLabelIntervalType;
4269
double currentInterval = (axisScaleSegment == null) ? this.
labelStyle
.GetInterval() : axisScaleSegment.Interval;
4270
DateTimeIntervalType currentIntervalType = (axisScaleSegment == null) ? this.
labelStyle
.GetIntervalType() : axisScaleSegment.IntervalType;
6472
if (
labelStyle
!= null)
6474
labelStyle
.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 &&
424
labelStyle
.GetIntervalType() != DateTimeIntervalType.Number )
557
DateTimeIntervalType offsetType = (
labelStyle
.GetIntervalOffsetType() == DateTimeIntervalType.Auto) ?
labelStyle
.GetIntervalType() :
labelStyle
.GetIntervalOffsetType();
567
start = ChartHelper.AlignIntervalStart(start,
labelStyle
.GetInterval(),
labelStyle
.GetIntervalType(), axisSeries);
571
if(
labelStyle
.GetIntervalOffset() != 0 && axisSeries == null)
573
start += ChartHelper.GetIntervalSize(start,
labelStyle
.GetIntervalOffset(),
590
if ((viewMaximum - start) / ChartHelper.GetIntervalSize(start,
labelStyle
.GetInterval(),
labelStyle
.GetIntervalType(), axisSeries, 0, DateTimeIntervalType.Number, true) > ChartHelper.MaxNumOfGridlines)
594
double endLabelMaxPosition = viewMaximum - ChartHelper.GetIntervalSize(viewMaximum,
labelStyle
.GetInterval(),
labelStyle
.GetIntervalType(), axisSeries,
labelStyle
.GetIntervalOffset(), offsetType, true) / 2f;
595
double endLabelMinPosition = viewMinimum + ChartHelper.GetIntervalSize(viewMinimum,
labelStyle
.GetInterval(),
labelStyle
.GetIntervalType(), axisSeries,
labelStyle
.GetIntervalOffset(), offsetType, true) / 2f;
598
dateInterval = ChartHelper.GetIntervalSize(position,
labelStyle
.GetInterval(),
labelStyle
.GetIntervalType(), axisSeries,
labelStyle
.GetIntervalOffset(), offsetType, true);
693
for (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;
1167
this._intervalsStore.Push(this.
labelStyle
.intervalOffset);
1174
this.
labelStyle
.intervalOffset = Double.IsNaN(this.
labelStyle
.intervalOffset) ? offset : this.
labelStyle
.intervalOffset + offset;
1202
this.
labelStyle
.intervalOffset = this._intervalsStore.Pop();