ChartDirector 6.0 (C++ Edition)

FinanceChart.setToolTipDateFormat


Usage

void setToolTipDateFormat(const char *monthFormat, const char *dayFormat, const char *hourFormat);

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