API Reference
Struct
ChartAxisLabel
Represents a display label for a numeric axis value.
Inheritance
- ValueType
- ChartAxisLabel
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property ChartAxis.Labels
- Property ChartOptions.XAxisLabels
Accepted by parameters 1
- Method Chart.WithXLabels
Constructors
ChartAxisLabel 2 overloads
public ChartAxisLabel(Double value, String text) #Initializes a new instance of the ChartAxisLabel struct.
Parameters
- value System.Double
- The numeric axis value.
- text System.String
- The label text.
public ChartAxisLabel(DateTime value, String text) #Initializes a new instance of the ChartAxisLabel struct from a date/time axis value, stored as a UTC instant (DateTimeKind.Local values are converted; DateTimeKind.Unspecified values are treated as UTC). The label text is not changed.
Parameters
- value System.DateTime
- The date/time axis value.
- text System.String
- The label text.
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object?