showCharts method
Switches to the charts view and shows the chart of the specified type.
The following chart types are supported: "column"
, "bar_h"
, "line"
, "scatter"
, "pie"
, "stacked_column"
and "column_line"
.
After showCharts()
API call options.viewType
property in the report will be "charts"
.
Implementation
Future<void> showCharts(
[String type = "column", bool multiple = false]) async {
WebViewController apiController = await controller.future;
await apiController
.runJavascript("flexmonster.showCharts('$type',$multiple)");
}