Grid constructor

Grid({
  1. bool front,
  2. dynamic focus,
  3. dynamic lines,
  4. dynamic x,
  5. dynamic y,
})

Implementation

external factory Grid(
    {bool front,
    dynamic
        /*{
  /**
   * Show edged focus grid line.
   * **NOTE:** Available when [`tooltip.grouped=false`](#.tooltip) option is set.
   */
  edge?: boolean;

  /**
   * Show grids when focus.
   */
  show?: boolean;

  /**
   * Show y coordinate focus grid line.
   * **NOTE:** Available when [`tooltip.grouped=false`](#.tooltip) option is set.
   */
  y?: boolean;
}*/
        focus,
    dynamic
        /*{
  /**
   * Set grid lines to be positioned over chart elements.
   */
  front?: boolean;
}*/
        lines,
    dynamic
        /*{
  /**
   * Show grids along x axis.
   */
  show?: boolean;

  /**
   * Show additional grid lines along x axis.
   * This option accepts array including object that has value, text, position and class.
   * text, position and class are optional. For position, start, middle and end (default) are available.
   * If x axis is category axis, value can be category name.
   * If x axis is timeseries axis, value can be date string, Date object and unixtime integer.
   */
  lines?: LineOptions[];
}*/
        x,
    dynamic
        /*{
  /**
   * Show grids along y axis.
   */
  show?: boolean;

  /**
   * Show additional grid lines along y axis.
   * This option accepts array including object that has value, text, position and class.
   */
  lines?: LineOptions[];

  /**
   * Number of y grids to be shown.
   */
  ticks?: number;
}*/
        y});