ChartDirector 6.0 (C++ Edition)

ViewPortManager.setChartMetrics


Usage

void setChartMetrics(const char *metrics);

Description

Sets the chart metrics to the ViewPortManager so it knows the positions of the necessary chart objects for supporting viewports.

If you are using the MFC CChartViewer control or the QT QChartViewer widget, the control or widget will automatically call this method as needed. You do not need to call this method directly.

Arguments

ArgumentDefaultDescription
metrics(Mandatory)A text string obtained from BaseChart.getChartMetrics that represents the metrics of the chart.

Return Value

None