ChartDirector 6.2 (.NET Edition)

FinanceChart.setToolTipDateFormat


Usage

[C#] public void setToolTipDateFormat(string monthFormat, string dayFormat, string hourFormat);
[VB] Public Sub setToolTipDateFormat(monthFormat As String, dayFormat As String, hourFormat As String)

Description

Sets the date/time formats to use for the tool tips under various cases.

See Parameter Substitution and Formatting on the syntax of ChartDirector format strings.

Arguments

ArgumentDefaultDescription
monthFormat(Mandatory)The tool tip format to use if the data point spacing is one or more months (more than 30 days). The default is "[{xLabel|mmm yyyy}]".
dayFormat(Mandatory)The tool tip format to use if the data point spacing is 1 day to less than 30 days. The default is "[{xLabel|mmm d, yyyy}]".
hourFormat(Mandatory)The tool tip format to use if the data point spacing is less than 1 day. The default is "[{xLabel|mmm d, yyyy hh:nn:ss}]".

Return Value

None