DateTimeOptions.FormatString Property
Gets or sets the pattern for formatting date-time values.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.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 |
---|---|
PointOptions |
|
Remarks
Use the FormatString property, to specify a custom format for the date-time values displayed by axis labels, series point labels or in the legend, when their DateTimeOptions.Format property is set to DateTimeFormat.Custom
Standard date-time format specifiers for composing the format pattern are described in the Date and Time Format Strings topics in MSDN.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the FormatString property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.