ChartSpacing constructor
const
ChartSpacing({
- double chartPaddingLeft = 48,
- double chartPaddingRight = 16,
- double chartPaddingTop = 16,
- double chartPaddingBottom = 32,
- double legendGap = 12,
- double legendIconSize = 10,
- double tooltipPadding = 8,
- double barBorderRadius = 4,
- double dotRadius = 4,
- double strokeWidth = 2,
- 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,
});