317 references to DateTimeIntervalType
System.Windows.Forms.DataVisualization (317)
Common\ChartTypes\BarChart.cs (1)
439
if(!double.IsNaN(vAxis.majorGrid.GetInterval()) && vAxis.majorGrid.GetIntervalType() !=
DateTimeIntervalType
.NotSet)
Common\ChartTypes\ColumnChart.cs (1)
353
if (!double.IsNaN(hAxis.majorGrid.GetInterval()) && hAxis.majorGrid.GetIntervalType() !=
DateTimeIntervalType
.NotSet)
Common\ChartTypes\KagiChart.cs (4)
164
if(xAxis.Interval == 0 && xAxis.IntervalType ==
DateTimeIntervalType
.Auto)
196
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.Auto;
264
xAxis.intervalType =
DateTimeIntervalType
.Auto;
Common\ChartTypes\PointAndFigureChart.cs (4)
188
if(xAxis.Interval == 0 && xAxis.IntervalType ==
DateTimeIntervalType
.Auto)
220
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.Auto;
299
xAxis.intervalType =
DateTimeIntervalType
.Auto;
Common\ChartTypes\RenkoChart.cs (4)
169
if(xAxis.Interval == 0 && xAxis.IntervalType ==
DateTimeIntervalType
.Auto)
201
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.Auto;
272
xAxis.intervalType =
DateTimeIntervalType
.Auto;
Common\ChartTypes\StackedBarChart.cs (1)
707
if (!double.IsNaN(vAxis.majorGrid.GetInterval()) && vAxis.majorGrid.GetIntervalType() !=
DateTimeIntervalType
.NotSet)
Common\ChartTypes\StackedColumnChart.cs (1)
716
if (!double.IsNaN(hAxis.majorGrid.GetInterval()) && hAxis.majorGrid.GetIntervalType() !=
DateTimeIntervalType
.NotSet)
Common\ChartTypes\ThreeLineBreakChart.cs (4)
170
if(xAxis.Interval == 0 && xAxis.IntervalType ==
DateTimeIntervalType
.Auto)
202
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.Auto;
274
xAxis.intervalType =
DateTimeIntervalType
.Auto;
Common\Converters\AxisConverters.cs (15)
73
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.Auto;
80
intervalType = (
DateTimeIntervalType
)propertyInfo.GetValue(context.Instance, null);
91
if(intervalType ==
DateTimeIntervalType
.Auto)
119
if(intervalType !=
DateTimeIntervalType
.Number && intervalType !=
DateTimeIntervalType
.Auto)
122
if(intervalType <
DateTimeIntervalType
.Hours)
150
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.Auto;
156
intervalType = (
DateTimeIntervalType
)propertyInfo.GetValue(context.Instance, null);
160
if(intervalType ==
DateTimeIntervalType
.Auto)
185
if (stringValue != null && intervalType !=
DateTimeIntervalType
.Number && intervalType !=
DateTimeIntervalType
.Auto)
388
if (axis.InternalIntervalType ==
DateTimeIntervalType
.Auto)
400
if (axis.InternalIntervalType !=
DateTimeIntervalType
.Number)
Common\General\Axis.cs (67)
265
internal
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.Auto;
270
internal
DateTimeIntervalType
intervalOffsetType =
DateTimeIntervalType
.Auto;
369
majorTickMark.IntervalType =
DateTimeIntervalType
.NotSet;
370
majorTickMark.IntervalOffsetType =
DateTimeIntervalType
.NotSet;
381
majorGrid.IntervalType =
DateTimeIntervalType
.NotSet;
382
majorGrid.IntervalOffsetType =
DateTimeIntervalType
.NotSet;
702
majorGrid.IntervalType =
DateTimeIntervalType
.NotSet;
704
majorGrid.IntervalOffsetType =
DateTimeIntervalType
.NotSet;
771
majorTickMark.IntervalType =
DateTimeIntervalType
.NotSet;
773
majorTickMark.IntervalOffsetType =
DateTimeIntervalType
.NotSet;
1389
DefaultValue(
DateTimeIntervalType
.Auto),
1396
public
DateTimeIntervalType
IntervalType
1405
if (value ==
DateTimeIntervalType
.NotSet)
1407
intervalType =
DateTimeIntervalType
.Auto;
1429
DefaultValue(
DateTimeIntervalType
.Auto),
1436
public
DateTimeIntervalType
IntervalOffsetType
1445
if (value ==
DateTimeIntervalType
.NotSet)
1447
intervalOffsetType =
DateTimeIntervalType
.Auto;
4270
DateTimeIntervalType
currentIntervalType = (axisScaleSegment == null) ? this.labelStyle.GetIntervalType() : axisScaleSegment.IntervalType;
4271
DateTimeIntervalType
lastFitIntervalType = currentIntervalType;
4315
DateTimeIntervalType
newIntervalType =
DateTimeIntervalType
.Number;
4425
ref
DateTimeIntervalType
axisIntervalType)
4432
if( axisIntervalType ==
DateTimeIntervalType
.Auto ||
4433
axisIntervalType ==
DateTimeIntervalType
.NotSet ||
4434
axisIntervalType ==
DateTimeIntervalType
.Number)
4461
if( axisIntervalType ==
DateTimeIntervalType
.Minutes ||
4462
axisIntervalType ==
DateTimeIntervalType
.Seconds)
4492
if(axisIntervalType ==
DateTimeIntervalType
.Years)
4495
axisIntervalType =
DateTimeIntervalType
.Months;
4497
else if(axisIntervalType ==
DateTimeIntervalType
.Months)
4500
axisIntervalType =
DateTimeIntervalType
.Weeks;
4502
else if(axisIntervalType ==
DateTimeIntervalType
.Weeks)
4505
axisIntervalType =
DateTimeIntervalType
.Days;
4507
else if(axisIntervalType ==
DateTimeIntervalType
.Days)
4510
axisIntervalType =
DateTimeIntervalType
.Hours;
4512
else if(axisIntervalType ==
DateTimeIntervalType
.Hours)
4515
axisIntervalType =
DateTimeIntervalType
.Minutes;
4517
else if(axisIntervalType ==
DateTimeIntervalType
.Minutes)
4520
axisIntervalType =
DateTimeIntervalType
.Seconds;
4522
else if(axisIntervalType ==
DateTimeIntervalType
.Seconds)
4525
axisIntervalType =
DateTimeIntervalType
.Milliseconds;
4548
ref
DateTimeIntervalType
axisIntervalType)
4555
if( axisIntervalType ==
DateTimeIntervalType
.Auto ||
4556
axisIntervalType ==
DateTimeIntervalType
.NotSet ||
4557
axisIntervalType ==
DateTimeIntervalType
.Number)
4582
if(axisIntervalType ==
DateTimeIntervalType
.Years)
4586
else if(axisIntervalType ==
DateTimeIntervalType
.Months)
4591
axisIntervalType =
DateTimeIntervalType
.Years;
4594
else if(axisIntervalType ==
DateTimeIntervalType
.Weeks)
4599
axisIntervalType =
DateTimeIntervalType
.Months;
4602
else if(axisIntervalType ==
DateTimeIntervalType
.Days)
4607
axisIntervalType =
DateTimeIntervalType
.Weeks;
4610
else if(axisIntervalType ==
DateTimeIntervalType
.Hours)
4615
axisIntervalType =
DateTimeIntervalType
.Days;
4618
else if(axisIntervalType ==
DateTimeIntervalType
.Minutes)
4623
axisIntervalType =
DateTimeIntervalType
.Hours;
4626
else if(axisIntervalType ==
DateTimeIntervalType
.Seconds)
4631
axisIntervalType =
DateTimeIntervalType
.Minutes;
4634
else if(axisIntervalType ==
DateTimeIntervalType
.Milliseconds)
4639
axisIntervalType =
DateTimeIntervalType
.Seconds;
6039
internal
DateTimeIntervalType
GetAxisIntervalType()
6041
if(InternalIntervalType ==
DateTimeIntervalType
.Auto)
6048
return
DateTimeIntervalType
.Years;
6051
return
DateTimeIntervalType
.Number;
Common\General\AxisLabels.cs (6)
423
if( labelStyle.GetIntervalType() !=
DateTimeIntervalType
.Auto &&
424
labelStyle.GetIntervalType() !=
DateTimeIntervalType
.Number )
557
DateTimeIntervalType
offsetType = (labelStyle.GetIntervalOffsetType() ==
DateTimeIntervalType
.Auto) ? labelStyle.GetIntervalType() : labelStyle.GetIntervalOffsetType();
574
offsetType, axisSeries, 0,
DateTimeIntervalType
.Number, true, false);
590
if ((viewMaximum - start) / ChartHelper.GetIntervalSize(start, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, 0,
DateTimeIntervalType
.Number, true) > ChartHelper.MaxNumOfGridlines)
Common\General\AxisScale.cs (43)
165
private
DateTimeIntervalType
_internalIntervalType =
DateTimeIntervalType
.Auto;
182
internal
DateTimeIntervalType
tempGridIntervalType =
DateTimeIntervalType
.NotSet;
183
internal
DateTimeIntervalType
tempTickMarkIntervalType =
DateTimeIntervalType
.NotSet;
184
internal
DateTimeIntervalType
tempLabelIntervalType =
DateTimeIntervalType
.NotSet;
427
DefaultValue(
DateTimeIntervalType
.Auto),
435
internal
DateTimeIntervalType
InternalIntervalType
502
internal void SetIntervalAndType(double newInterval,
DateTimeIntervalType
newIntervalType)
1368
out
DateTimeIntervalType
type,
1388
type =
DateTimeIntervalType
.Milliseconds;
1393
type =
DateTimeIntervalType
.Milliseconds;
1398
type =
DateTimeIntervalType
.Milliseconds;
1403
type =
DateTimeIntervalType
.Milliseconds;
1412
type =
DateTimeIntervalType
.Seconds;
1417
type =
DateTimeIntervalType
.Seconds;
1422
type =
DateTimeIntervalType
.Seconds;
1427
type =
DateTimeIntervalType
.Seconds;
1434
type =
DateTimeIntervalType
.Seconds;
1439
type =
DateTimeIntervalType
.Seconds;
1446
type =
DateTimeIntervalType
.Minutes;
1452
type =
DateTimeIntervalType
.Minutes;
1457
type =
DateTimeIntervalType
.Minutes;
1462
type =
DateTimeIntervalType
.Minutes;
1467
type =
DateTimeIntervalType
.Minutes;
1473
type =
DateTimeIntervalType
.Hours;
1479
type =
DateTimeIntervalType
.Hours;
1485
type =
DateTimeIntervalType
.Hours;
1491
type =
DateTimeIntervalType
.Hours;
1498
type =
DateTimeIntervalType
.Days;
1504
type =
DateTimeIntervalType
.Days;
1510
type =
DateTimeIntervalType
.Days;
1516
type =
DateTimeIntervalType
.Weeks;
1522
type =
DateTimeIntervalType
.Weeks;
1528
type =
DateTimeIntervalType
.Months;
1534
type =
DateTimeIntervalType
.Months;
1540
type =
DateTimeIntervalType
.Months;
1546
type =
DateTimeIntervalType
.Years;
1552
type =
DateTimeIntervalType
.Number;
1587
private int GetNumOfUnits( double min, double max,
DateTimeIntervalType
type )
2200
DateTimeIntervalType
.Number,
Common\General\AxisScaleSegments.cs (16)
94
private
DateTimeIntervalType
_intervalType =
DateTimeIntervalType
.Auto;
97
private
DateTimeIntervalType
_intervalOffsetType =
DateTimeIntervalType
.Auto;
284
DefaultValue(
DateTimeIntervalType
.Auto),
287
public
DateTimeIntervalType
IntervalType
296
if(value ==
DateTimeIntervalType
.NotSet)
298
this._intervalType =
DateTimeIntervalType
.Auto;
312
DefaultValue(
DateTimeIntervalType
.Auto),
315
public
DateTimeIntervalType
IntervalOffsetType
797
this.axis.LabelStyle.intervalOffsetType = (
DateTimeIntervalType
)_oldAxisSettings.Pop();
799
this.axis.LabelStyle.intervalType = (
DateTimeIntervalType
)_oldAxisSettings.Pop();
802
this.axis.majorTickMark.intervalOffsetType = (
DateTimeIntervalType
)_oldAxisSettings.Pop();
804
this.axis.majorTickMark.intervalType = (
DateTimeIntervalType
)_oldAxisSettings.Pop();
807
this.axis.majorGrid.intervalOffsetType = (
DateTimeIntervalType
)_oldAxisSettings.Pop();
809
this.axis.majorGrid.intervalType = (
DateTimeIntervalType
)_oldAxisSettings.Pop();
Common\General\AxisScrollZoom.cs (12)
134
private
DateTimeIntervalType
_sizeType =
DateTimeIntervalType
.Auto;
319
DefaultValue(
DateTimeIntervalType
.Auto),
323
public
DateTimeIntervalType
SizeType
334
_sizeType = (value !=
DateTimeIntervalType
.NotSet) ? value :
DateTimeIntervalType
.Auto;
1637
DateTimeIntervalType
dtIntervalType)
1641
if (dtIntervalType ==
DateTimeIntervalType
.Auto)
1653
if (dtIntervalType !=
DateTimeIntervalType
.Number)
1656
if (dtIntervalType <
DateTimeIntervalType
.Hours)
1715
if(axis.InternalIntervalType ==
DateTimeIntervalType
.Auto)
1727
if(axis.InternalIntervalType !=
DateTimeIntervalType
.Number)
Common\General\ChartElement.cs (39)
918
internal static double AlignIntervalStart(double start, double intervalSize,
DateTimeIntervalType
type)
931
internal static double AlignIntervalStart(double start, double intervalSize,
DateTimeIntervalType
type, Series series)
945
internal static double AlignIntervalStart(double start, double intervalSize,
DateTimeIntervalType
type, Series series, bool majorInterval)
950
if(type ==
DateTimeIntervalType
.Auto ||
951
type ==
DateTimeIntervalType
.Number)
970
if(type ==
DateTimeIntervalType
.Auto ||
971
type ==
DateTimeIntervalType
.Number)
982
if(type ==
DateTimeIntervalType
.Months && intervalSize <= 12.0 && intervalSize > 1)
1002
case(
DateTimeIntervalType
.Years):
1012
case(
DateTimeIntervalType
.Months):
1022
case(
DateTimeIntervalType
.Days):
1032
case(
DateTimeIntervalType
.Hours):
1038
case(
DateTimeIntervalType
.Minutes):
1048
case(
DateTimeIntervalType
.Seconds):
1059
case(
DateTimeIntervalType
.Milliseconds):
1070
case(
DateTimeIntervalType
.Weeks):
1094
internal static double GetIntervalSize(double current, double interval,
DateTimeIntervalType
type)
1102
DateTimeIntervalType
.Number,
1121
DateTimeIntervalType
type,
1124
DateTimeIntervalType
intervalOffsetType,
1153
DateTimeIntervalType
type,
1156
DateTimeIntervalType
intervalOffsetType,
1161
if( type ==
DateTimeIntervalType
.Number || type ==
DateTimeIntervalType
.Auto )
1201
case(
DateTimeIntervalType
.Years): // Ignore hours,...
1206
case(
DateTimeIntervalType
.Months): // Ignore hours,...
1211
case(
DateTimeIntervalType
.Days): // Ignore hours,...
1216
case(
DateTimeIntervalType
.Hours): //
1222
case(
DateTimeIntervalType
.Minutes):
1231
case(
DateTimeIntervalType
.Seconds):
1241
case(
DateTimeIntervalType
.Weeks):
1287
if(type ==
DateTimeIntervalType
.Days)
1291
else if(type ==
DateTimeIntervalType
.Hours)
1295
else if(type ==
DateTimeIntervalType
.Milliseconds)
1299
else if(type ==
DateTimeIntervalType
.Seconds)
1303
else if(type ==
DateTimeIntervalType
.Minutes)
1307
else if(type ==
DateTimeIntervalType
.Weeks)
1311
else if(type ==
DateTimeIntervalType
.Months)
1333
else if(type ==
DateTimeIntervalType
.Years)
Common\General\DataManipulator.cs (12)
654
fromX = fromX + ChartHelper.GetIntervalSize(fromX, intervalOffset, ConvertIntervalType(intervalOffsetType), null, 0,
DateTimeIntervalType
.Number, true, false);
757
private
DateTimeIntervalType
ConvertIntervalType(IntervalType type)
762
return
DateTimeIntervalType
.Milliseconds;
764
return
DateTimeIntervalType
.Seconds;
766
return
DateTimeIntervalType
.Days;
768
return
DateTimeIntervalType
.Hours;
770
return
DateTimeIntervalType
.Minutes;
772
return
DateTimeIntervalType
.Months;
774
return
DateTimeIntervalType
.Number;
776
return
DateTimeIntervalType
.Weeks;
778
return
DateTimeIntervalType
.Years;
781
return
DateTimeIntervalType
.Auto;
Common\General\GridTickMarks.cs (37)
156
DateTimeIntervalType
oldIntervalType = this.intervalType;
158
DateTimeIntervalType
oldIntervalOffsetType = this.intervalOffsetType;
162
if (this.Axis.majorGrid.GetIntervalType() ==
DateTimeIntervalType
.Auto)
169
DateTimeIntervalType
localIntervalType = this.Axis.majorGrid.GetIntervalType();
213
DateTimeIntervalType
offsetType = (GetIntervalOffsetType() ==
DateTimeIntervalType
.Auto) ? GetIntervalType() : GetIntervalOffsetType();
232
offsetType, axisSeries, 0,
DateTimeIntervalType
.Number, true, false);
236
if ((Axis.ViewMaximum - Axis.ViewMinimum) / ChartHelper.GetIntervalSize(current, this.GetInterval(), this.GetIntervalType(), axisSeries, 0,
DateTimeIntervalType
.Number, true) > ChartHelper.MaxNumOfGridlines)
569
DateTimeIntervalType
offsetType = (GetIntervalOffsetType() ==
DateTimeIntervalType
.Auto) ? GetIntervalType() : GetIntervalOffsetType();
573
offsetType, axisSeries, 0,
DateTimeIntervalType
.Number, true, false);
1096
internal
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.Auto;
1097
internal
DateTimeIntervalType
intervalOffsetType =
DateTimeIntervalType
.Auto;
1174
if(this.intervalType !=
DateTimeIntervalType
.Auto)
1277
DateTimeIntervalType
oldIntervalType = this.intervalType;
1279
DateTimeIntervalType
oldIntervalOffsetType = this.intervalOffsetType;
1283
if( this._axis.majorGrid.GetIntervalType() ==
DateTimeIntervalType
.Auto )
1290
DateTimeIntervalType
localIntervalType = this._axis.majorGrid.GetIntervalType();
1320
DateTimeIntervalType
offsetType = (GetIntervalOffsetType() ==
DateTimeIntervalType
.Auto) ? GetIntervalType() : GetIntervalOffsetType();
1323
current += ChartHelper.GetIntervalSize(current, GetIntervalOffset(), offsetType, axisSeries, 0,
DateTimeIntervalType
.Number, true, false);
1327
if( ( _axis.ViewMaximum - _axis.ViewMinimum ) / ChartHelper.GetIntervalSize( current, this.GetInterval(), this.GetIntervalType(), axisSeries, 0,
DateTimeIntervalType
.Number, true ) > ChartHelper.MaxNumOfGridlines )
1443
DateTimeIntervalType
offsetType = (GetIntervalOffsetType() ==
DateTimeIntervalType
.Auto) ? GetIntervalType() : GetIntervalOffsetType();
1447
offsetType, axisSeries, 0,
DateTimeIntervalType
.Number, true, false);
1702
public
DateTimeIntervalType
IntervalOffsetType
1724
return intervalOffsetType !=
DateTimeIntervalType
.NotSet;
1726
return intervalOffsetType !=
DateTimeIntervalType
.Auto;
1733
internal
DateTimeIntervalType
GetIntervalOffsetType()
1735
if(this.majorGridTick && intervalOffsetType ==
DateTimeIntervalType
.NotSet && this._axis != null)
1853
public
DateTimeIntervalType
IntervalType
1889
return intervalType !=
DateTimeIntervalType
.NotSet;
1891
return intervalType !=
DateTimeIntervalType
.Auto;
1899
internal
DateTimeIntervalType
GetIntervalType()
1901
if(this.majorGridTick && intervalType ==
DateTimeIntervalType
.NotSet && this._axis != null)
Common\General\Label.cs (27)
259
public void Add(double labelsStep,
DateTimeIntervalType
intervalType, double min, double max, string format, int rowIndex, LabelMarkStyle markStyle)
284
if (intervalType ==
DateTimeIntervalType
.Number)
288
else if (intervalType ==
DateTimeIntervalType
.Milliseconds)
292
else if (intervalType ==
DateTimeIntervalType
.Seconds)
296
else if (intervalType ==
DateTimeIntervalType
.Minutes)
300
else if (intervalType ==
DateTimeIntervalType
.Hours)
304
else if (intervalType ==
DateTimeIntervalType
.Days)
308
else if (intervalType ==
DateTimeIntervalType
.Weeks)
312
else if (intervalType ==
DateTimeIntervalType
.Months)
316
else if (intervalType ==
DateTimeIntervalType
.Years)
332
if (intervalType !=
DateTimeIntervalType
.Number)
368
public void Add(double labelsStep,
DateTimeIntervalType
intervalType)
381
public void Add(double labelsStep,
DateTimeIntervalType
intervalType, string format)
396
public void Add(double labelsStep,
DateTimeIntervalType
intervalType, string format, int rowIndex, LabelMarkStyle markStyle)
1080
internal
DateTimeIntervalType
intervalType =
DateTimeIntervalType
.NotSet;
1081
internal
DateTimeIntervalType
intervalOffsetType =
DateTimeIntervalType
.NotSet;
1549
axisSeries, 0.0,
DateTimeIntervalType
.Number, true);
2601
DefaultValue(
DateTimeIntervalType
.NotSet),
2608
public
DateTimeIntervalType
IntervalOffsetType
2626
internal
DateTimeIntervalType
GetIntervalOffsetType()
2628
if(intervalOffsetType ==
DateTimeIntervalType
.NotSet && this._axis != null)
2688
DefaultValue(
DateTimeIntervalType
.NotSet),
2695
public
DateTimeIntervalType
IntervalType
2720
internal
DateTimeIntervalType
GetIntervalType()
2722
if(intervalType ==
DateTimeIntervalType
.NotSet && this._axis != null)
Common\General\StripLine.cs (23)
136
private
DateTimeIntervalType
_intervalType =
DateTimeIntervalType
.Auto;
137
internal
DateTimeIntervalType
intervalOffsetType =
DateTimeIntervalType
.Auto;
140
private
DateTimeIntervalType
_stripWidthType =
DateTimeIntervalType
.Auto;
306
if( ( Axis.ViewMaximum - Axis.ViewMinimum ) / ChartHelper.GetIntervalSize(currentPosition, this._interval, this._intervalType, axisSeries, 0,
DateTimeIntervalType
.Number, false) > ChartHelper.MaxNumOfGridlines)
310
DateTimeIntervalType
offsetType = (IntervalOffsetType ==
DateTimeIntervalType
.Auto) ? IntervalType : IntervalOffsetType;
336
offsetType, axisSeries, 0,
DateTimeIntervalType
.Number, false);
341
offsetType, axisSeries, 0,
DateTimeIntervalType
.Number, false);
873
DefaultValue(
DateTimeIntervalType
.Auto),
880
public
DateTimeIntervalType
IntervalOffsetType
888
intervalOffsetType = (value !=
DateTimeIntervalType
.NotSet) ? value :
DateTimeIntervalType
.Auto;
925
DefaultValue(
DateTimeIntervalType
.Auto),
932
public
DateTimeIntervalType
IntervalType
940
_intervalType = (value !=
DateTimeIntervalType
.NotSet) ? value :
DateTimeIntervalType
.Auto;
980
DefaultValue(
DateTimeIntervalType
.Auto),
987
public
DateTimeIntervalType
StripWidthType
995
_stripWidthType = (value !=
DateTimeIntervalType
.NotSet) ? value :
DateTimeIntervalType
.Auto;