ChartDirector 6.0 (Ruby Edition)

WebViewPortControl.setChartMetrics


Usage

setChartMetrics(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 WebViewPortControl 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