DateTimeOptions.FormatString Property

Gets or sets the pattern for formatting date-time values.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public string FormatString { get; set; }
Public Property FormatString As String

Property Value

Type Description
String

A String value that represents the format pattern.

Property Paths

You can access this nested property as listed below:

Show 27 property paths
Object Type Path to FormatString
FullStackedAreaPointOptions
.ValueDateTimeOptions.FormatString
FullStackedAreaPointOptions
.ArgumentDateTimeOptions.FormatString
FullStackedBarPointOptions
.ValueDateTimeOptions.FormatString
FullStackedBarPointOptions
.ArgumentDateTimeOptions.FormatString
FullStackedLinePointOptions
.ValueDateTimeOptions.FormatString
FullStackedLinePointOptions
.ArgumentDateTimeOptions.FormatString
FullStackedPointOptions
.ValueDateTimeOptions.FormatString
FullStackedPointOptions
.ArgumentDateTimeOptions.FormatString
FunnelPointOptions
.ValueDateTimeOptions.FormatString
FunnelPointOptions
.ArgumentDateTimeOptions.FormatString
FunnelPointOptions
.ValueDateTimeOptions.FormatString
PiePointOptions
.ValueDateTimeOptions.FormatString
PiePointOptions
.ArgumentDateTimeOptions.FormatString
PiePointOptions
.ValueDateTimeOptions.FormatString
PointOptions
.ValueDateTimeOptions.FormatString
PointOptions
.ArgumentDateTimeOptions.FormatString
RangeAreaPointOptions
.ValueDateTimeOptions.FormatString
RangeAreaPointOptions
.ArgumentDateTimeOptions.FormatString
RangeBarPointOptions
.ValueDateTimeOptions.FormatString
RangeBarPointOptions
.ArgumentDateTimeOptions.FormatString
RangePointOptions
.ValueDateTimeOptions.FormatString
RangePointOptions
.ArgumentDateTimeOptions.FormatString
SimplePointOptions
.ValueDateTimeOptions.FormatString
SimplePointOptions
.ArgumentDateTimeOptions.FormatString
SimplePointOptions
.ValueDateTimeOptions.FormatString
StockPointOptions
.ValueDateTimeOptions.FormatString
StockPointOptions
.ArgumentDateTimeOptions.FormatString

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.

FormatString_Quarter

And, a monthly format is depicted below.

DateTimeFormat_Custom

Standard date-time format specifiers for composing various format patterns are described in the Date and Time Format Strings topics in MSDN.

See Also