DateTimeOptions.FormatString Property
Gets or sets the pattern for formatting date-time values.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
String | A String value that represents the format pattern. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to FormatString |
---|---|
FullStackedAreaPointOptions |
|
FullStackedBarPointOptions |
|
FullStackedLinePointOptions |
|
FullStackedPointOptions |
|
FunnelPointOptions |
|
PiePointOptions |
|
PointOptions |
|
RangeAreaPointOptions |
|
RangeBarPointOptions |
|
RangePointOptions |
|
SimplePointOptions |
|
StockPointOptions |
|
Remarks
When the DateTimeOptions.Format property is set to Custom, use the FormatString property, to specify a custom format for the date-time options (of axis labels, series point labels or the legend).
The following image demonstrates implementation of a quarterly formatting for the X-axis’ labels.
And, a monthly format is depicted below.
Standard date-time format specifiers for composing various format patterns are described in the Date and Time Format Strings topics in MSDN.
See Also