GraphSpec constructor

const GraphSpec({
  1. String key = 't',
  2. GraphXSpec x = const GraphXSpec(),
  3. List<GraphPaneSpec> panes = const [],
  4. List<GraphTransformSpec> transforms = const [],
  5. GraphCrosshairSpec crosshair = const GraphCrosshairSpec(),
  6. GraphInteractionsSpec interactions = const GraphInteractionsSpec(),
  7. GraphStyleSpec style = const GraphStyleSpec(),
  8. GraphSelectionSpec selection = const GraphSelectionSpec(),
  9. double animate = 0,
  10. bool animateIn = false,
  11. GraphLegendSpec legend = const GraphLegendSpec(),
})

Implementation

const GraphSpec({
  this.key = 't',
  this.x = const GraphXSpec(),
  this.panes = const [],
  this.transforms = const [],
  this.crosshair = const GraphCrosshairSpec(),
  this.interactions = const GraphInteractionsSpec(),
  this.style = const GraphStyleSpec(),
  this.selection = const GraphSelectionSpec(),
  this.animate = 0,
  this.animateIn = false,
  this.legend = const GraphLegendSpec(),
});