ChartDirector 7.0 (Java Edition)

WebChartViewer.setChartMetrics


Usage

public void setChartMetrics(String metrics)

Description

Sets the chart metrics of the chart.

The chart metrics is represented by a text string. It must be generated by BaseChart.getChartMetrics. The internal format of the chart metrics are not published.

The WebChartViewer sends the chart metrics to the browser side JsChartViewer so it knows the location of the plot area for supporting view port mouse actions.

Arguments

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

Return Value

None