BaseGraphComponent constructor

BaseGraphComponent(
  1. RenderComponent parent,
  2. String id, {
  3. double textMargin = 15,
  4. double aspectRatio = 1.5,
  5. double gridLineWidth = 1,
  6. String gridLineStrokeStyle = '#d7d7d7',
  7. String labelFillStyle = '#aaaaaa',
  8. String labelFontStyle = '14px sans-serif',
  9. String captionBgColor = '#2d2d2d',
  10. String captionFgColor = 'white',
  11. String captionFontFamily = 'sans-serif',
  12. bool drawGridY = false,
})

Implementation

BaseGraphComponent(super.parent, super.id,
    {
      this.textMargin = 15,
      this.aspectRatio = 1.5,
      this.gridLineWidth = 1,
      this.gridLineStrokeStyle = '#d7d7d7',
      this.labelFillStyle = '#aaaaaa',
      this.labelFontStyle = '14px sans-serif',
      this.captionBgColor = '#2d2d2d',
      this.captionFgColor = 'white',
      this.captionFontFamily = 'sans-serif',
      this.drawGridY = false,
    }) : super.empty();