TiPlotAxis.CursorDateTimeFormat

TiPlotAxis

Specifies the Date/Time formatting string for the labels.

property DateTimeFormat : String;

Description

Use DateTimeFormat to get or set the Date/Time formatting string for the labels. See FormatDateTime for specific values.

Note: this property only has effect if CursorUseDefaultFormat is set to FALSE. If CursorUseDefaultFormat is set to TRUE, then the Axis DateTimeFormat will override this property.

If this is an X-Axis, then this property will only affect X-Values displayed in the DataCursor Hint Text. If this is a Y-Axis, then only Y-Values will be affected.

Example

Delphi

iComponent.XAxis[0].CursorDateTimeFormat := 'hh:nn:ss am/pm';

C++ Builder

iComponent->XAxis[0]->CursorDateTimeFormat = "hh:nn:ss am/pm";

Contents | Index | Previous | Next