BarLaneRendererConfig constructor
BarLaneRendererConfig({
- String? customRendererId,
- CornerStrategy? cornerStrategy,
- String emptyLaneLabel = 'No data',
- FillPatternType? fillPattern,
- BarGroupingType? groupingType,
- int layoutPaintOrder = LayoutViewPaintOrder.bar,
- bool mergeEmptyLanes = false,
- int minBarLengthPx = 0,
- bool renderNegativeLanes = false,
- int stackedBarPaddingPx = 1,
- double strokeWidthPx = 0.0,
- BarRendererDecorator<
String> ? barRendererDecorator, - SymbolRenderer? symbolRenderer,
- Color? backgroundBarColor,
- List<
int> ? weightPattern,
Implementation
BarLaneRendererConfig({
super.customRendererId,
super.cornerStrategy,
this.emptyLaneLabel = 'No data',
super.fillPattern,
BarGroupingType? groupingType,
super.layoutPaintOrder,
this.mergeEmptyLanes = false,
super.minBarLengthPx,
this.renderNegativeLanes = false,
super.stackedBarPaddingPx,
super.strokeWidthPx,
super.barRendererDecorator,
super.symbolRenderer,
Color? backgroundBarColor,
super.weightPattern,
}) : backgroundBarColor =
backgroundBarColor ?? StyleFactory.style.noDataColor,
super(
groupingType: groupingType ?? BarGroupingType.grouped,
);