Class DateTimeAxisLabel
An axis label for displaying DateTime values.
Inheritance
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public class DateTimeAxisLabel : AxisLabel
Constructors
| Improve this Doc View SourceDateTimeAxisLabel()
Instantiates a new instance of the DateTimeAxisLabel class.
Declaration
public DateTimeAxisLabel()
Fields
| Improve this Doc View SourceDaysIntervalStringFormatProperty
Identifies the DaysIntervalStringFormat dependency property.
Declaration
public static readonly DependencyProperty DaysIntervalStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
HoursIntervalStringFormatProperty
Identifies the HoursIntervalStringFormat dependency property.
Declaration
public static readonly DependencyProperty HoursIntervalStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IntervalTypeProperty
Identifies the IntervalType dependency property.
Declaration
public static readonly DependencyProperty IntervalTypeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MillisecondsIntervalStringFormatProperty
Identifies the MillisecondsIntervalStringFormat dependency property.
Declaration
public static readonly DependencyProperty MillisecondsIntervalStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MinutesIntervalStringFormatProperty
Identifies the MinutesIntervalStringFormat dependency property.
Declaration
public static readonly DependencyProperty MinutesIntervalStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MonthsIntervalStringFormatProperty
Identifies the MonthsIntervalStringFormat dependency property.
Declaration
public static readonly DependencyProperty MonthsIntervalStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SecondsIntervalStringFormatProperty
Identifies the SecondsIntervalStringFormat dependency property.
Declaration
public static readonly DependencyProperty SecondsIntervalStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
WeeksIntervalStringFormatProperty
Identifies the WeeksIntervalStringFormat dependency property.
Declaration
public static readonly DependencyProperty WeeksIntervalStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
YearsIntervalStringFormatProperty
Identifies the YearsIntervalStringFormat dependency property.
Declaration
public static readonly DependencyProperty YearsIntervalStringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceDaysIntervalStringFormat
Gets or sets the format string to use when the interval is hours.
Declaration
public string DaysIntervalStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HoursIntervalStringFormat
Gets or sets the format string to use when the interval is hours.
Declaration
public string HoursIntervalStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IntervalType
Gets or sets the interval type of the DateTimeAxis2.
Declaration
public DateTimeIntervalType IntervalType { get; set; }
Property Value
Type | Description |
---|---|
DateTimeIntervalType |
MillisecondsIntervalStringFormat
Gets or sets the format string to use when the interval is hours.
Declaration
public string MillisecondsIntervalStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MinutesIntervalStringFormat
Gets or sets the format string to use when the interval is hours.
Declaration
public string MinutesIntervalStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MonthsIntervalStringFormat
Gets or sets the format string to use when the interval is hours.
Declaration
public string MonthsIntervalStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SecondsIntervalStringFormat
Gets or sets the format string to use when the interval is hours.
Declaration
public string SecondsIntervalStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WeeksIntervalStringFormat
Gets or sets the format string to use when the interval is hours.
Declaration
public string WeeksIntervalStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
YearsIntervalStringFormat
Gets or sets the format string to use when the interval is hours.
Declaration
public string YearsIntervalStringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceOnDaysIntervalStringFormatPropertyChanged()
DaysIntervalStringFormatProperty property changed handler.
Declaration
protected virtual void OnDaysIntervalStringFormatPropertyChanged()
OnHoursIntervalStringFormatPropertyChanged()
HoursIntervalStringFormatProperty property changed handler.
Declaration
protected virtual void OnHoursIntervalStringFormatPropertyChanged()
OnIntervalTypePropertyChanged(DateTimeIntervalType, DateTimeIntervalType)
IntervalTypeProperty property changed handler.
Declaration
protected virtual void OnIntervalTypePropertyChanged(DateTimeIntervalType oldValue, DateTimeIntervalType newValue)
Parameters
Type | Name | Description |
---|---|---|
DateTimeIntervalType | oldValue | Old value. |
DateTimeIntervalType | newValue | New value. |
OnMillisecondsIntervalStringFormatPropertyChanged()
MillisecondsIntervalStringFormatProperty property changed handler.
Declaration
protected virtual void OnMillisecondsIntervalStringFormatPropertyChanged()
OnMinutesIntervalStringFormatPropertyChanged()
MinutesIntervalStringFormatProperty property changed handler.
Declaration
protected virtual void OnMinutesIntervalStringFormatPropertyChanged()
OnMonthsIntervalStringFormatPropertyChanged()
MonthsIntervalStringFormatProperty property changed handler.
Declaration
protected virtual void OnMonthsIntervalStringFormatPropertyChanged()
OnSecondsIntervalStringFormatPropertyChanged()
SecondsIntervalStringFormatProperty property changed handler.
Declaration
protected virtual void OnSecondsIntervalStringFormatPropertyChanged()
OnWeeksIntervalStringFormatPropertyChanged()
WeeksIntervalStringFormatProperty property changed handler.
Declaration
protected virtual void OnWeeksIntervalStringFormatPropertyChanged()
OnYearsIntervalStringFormatPropertyChanged()
YearsIntervalStringFormatProperty property changed handler.
Declaration
protected virtual void OnYearsIntervalStringFormatPropertyChanged()
UpdateFormattedContent()
Updates the formatted text.
Declaration
protected override void UpdateFormattedContent()