ChartDirector 5.1 (.NET Edition)

BaseChart.getChartMetrics


Usage

[VB] Public Function getChartMetrics() As String
[C#] public string getChartMetrics();

Description

Gets the chart metrics for passing to WebChartViewer.ChartMetrics to support view ports for web applications.

This method is not necessary if you use BaseChart.makeWebImage to pass the chart to WebChartViewer, as the WebImage already includes the chart metrics. However, if you pass the chart to WebChartViewer as a temporary image file (eg. using BaseChart.makeTmpFile), then to support view ports, it is necessary to pass the chart metrics using this method.

The format of the chart metrics is not published.

Arguments

None

Return Value

A text string representing the chart metrics.