TiPlotAxis.LegendDateTimeFormat

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 LegendUseDefaultFormat is set to FALSE. If LegendUseDefaultFormat is set to TRUE, then the Axis DateTimeFormat will override this property.

If this is an X-Axis, then this property will only affect Channel X-Values displayed in the Legend. If this is an Y-Axis, then only Y-Values will be affected.

Example

Delphi

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

iComponent.YAxis[0].LegendDateTimeFormat := 'hh:nn:ss am/pm';

C++ Builder

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

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

Contents | Index | Previous | Next