ChartSpacing constructor

const ChartSpacing({
  1. double chartPaddingLeft = 48,
  2. double chartPaddingRight = 16,
  3. double chartPaddingTop = 16,
  4. double chartPaddingBottom = 32,
  5. double legendGap = 12,
  6. double legendIconSize = 10,
  7. double tooltipPadding = 8,
  8. double barBorderRadius = 4,
  9. double dotRadius = 4,
  10. double strokeWidth = 2,
  11. double gridLineWidth = 0.5,
})

Implementation

const ChartSpacing({
  this.chartPaddingLeft = 48,
  this.chartPaddingRight = 16,
  this.chartPaddingTop = 16,
  this.chartPaddingBottom = 32,
  this.legendGap = 12,
  this.legendIconSize = 10,
  this.tooltipPadding = 8,
  this.barBorderRadius = 4,
  this.dotRadius = 4,
  this.strokeWidth = 2,
  this.gridLineWidth = 0.5,
});