flow method

void flow(
  1. dynamic args
)

Flow data to the chart. By this API, you can append new data points to the chart. If json, rows and columns given, the data will be loaded. If data that has the same target id is given, the chart will be appended. Otherwise, new target will be added. One of these is required when calling. If json specified, keys is required as well as data.json If to is given, the lower x edge will move to that point. If not given, the lower x edge will move by the number of given data points. If length is given, the lower x edge will move by the number of this argument. If duration is given, the duration of the transition will be specified value. If not given, transition.duration will be used as default. If done is given, the specified function will be called when flow ends.

Implementation

external void flow(
    dynamic
        /*{
      json?: {};
      keys?: { x?: string; value: string[]; }
      rows?: PrimitiveArray[];
      columns?: PrimitiveArray[];
      to?: any;
      length?: number;
      duration?: number;
      done?(): any;
  }*/
        args);