runQuery method

Future<void> runQuery(
  1. dynamic slice
)

Runs a query with specified rows, columns, measures and reportFilters from the SliceObject and displays the result data. Use this method to rearrange hierarchies on the axes or to compose a new report based on the current data source.

Implementation

Future<void> runQuery(dynamic slice) async {
  WebViewController apiController = await controller.future;
  await apiController
      .runJavascript("webdatarocks.runQuery(${jsonEncode(slice)})");
}