data property

dynamic data

Implementation

external dynamic
    /*{
      /**
       * Get data loaded in the chart.
       * @param targetIds If this argument is given, this API returns the specified target data. If this argument is not given, all of data will be returned.
       */
      (targetIds?: ArrayOrString): Data;
      /**
       * Get data shown in the chart.
       * @param targetIds If this argument is given, this API filters the data with specified target ids. If this argument is not given, all shown data will be returned.
       */
      shown(targetIds?: ArrayOrString): Data;
      /**
       * Get values of the data loaded in the chart.
       * @param targetIds This API returns the values of specified target. If this argument is not given, null will be retruned.
       */
      values(targetIds?: ArrayOrString): any[];
      /**
       * Get and set names of the data loaded in the chart.
       * @param names If this argument is given, the names of data will be updated. If not given, the current names will be returned. The format of this argument is the same as data.names.
       */
      names(names?: { [key: string]: string }): { [key: string]: string };
      /**
       * Get and set colors of the data loaded in the chart.
       * @param colors If this argument is given, the colors of data will be updated. If not given, the current colors will be returned. The format of this argument is the same as data.colors.
       */
      colors(colors?: { [key: string]: string | d3.Rgb }): { [key: string]: string };
      /**
       * Get and set axes of the data loaded in the chart.
       * @param axes If this argument is given, the axes of data will be updated. If not given, the current axes will be returned. The format of this argument is the same as data.axes.
       */
      axes(axes?: { [key: string]: string }): { [key: string]: string };
  }*/
    get data;
void data=(dynamic v)

Implementation

external set data(
    dynamic
        /*{
      /**
       * Get data loaded in the chart.
       * @param targetIds If this argument is given, this API returns the specified target data. If this argument is not given, all of data will be returned.
       */
      (targetIds?: ArrayOrString): Data;
      /**
       * Get data shown in the chart.
       * @param targetIds If this argument is given, this API filters the data with specified target ids. If this argument is not given, all shown data will be returned.
       */
      shown(targetIds?: ArrayOrString): Data;
      /**
       * Get values of the data loaded in the chart.
       * @param targetIds This API returns the values of specified target. If this argument is not given, null will be retruned.
       */
      values(targetIds?: ArrayOrString): any[];
      /**
       * Get and set names of the data loaded in the chart.
       * @param names If this argument is given, the names of data will be updated. If not given, the current names will be returned. The format of this argument is the same as data.names.
       */
      names(names?: { [key: string]: string }): { [key: string]: string };
      /**
       * Get and set colors of the data loaded in the chart.
       * @param colors If this argument is given, the colors of data will be updated. If not given, the current colors will be returned. The format of this argument is the same as data.colors.
       */
      colors(colors?: { [key: string]: string | d3.Rgb }): { [key: string]: string };
      /**
       * Get and set axes of the data loaded in the chart.
       * @param axes If this argument is given, the axes of data will be updated. If not given, the current axes will be returned. The format of this argument is the same as data.axes.
       */
      axes(axes?: { [key: string]: string }): { [key: string]: string };
  }*/
        v);