Gets or sets the chart metrics of the chart.
This method is not necessary if you use BaseChart.makeWebImage
to assign the chart to RazorChartViewer, as the WebImage already includes the chart metrics. However, if you pass the chart to RazorChartViewer 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 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 RazorChartViewer sends the chart metrics to the browser side JsChartViewer
so it knows the location of the plot area for supporting view port mouse actions.
© 2017 Advanced Software Engineering Limited. All rights reserved.