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({
String? customRendererId,
CornerStrategy? cornerStrategy,
this.emptyLaneLabel = 'No data',
FillPatternType? fillPattern,
BarGroupingType? groupingType,
int layoutPaintOrder = LayoutViewPaintOrder.bar,
this.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,
}) : backgroundBarColor =
backgroundBarColor ?? StyleFactory.style.noDataColor,
renderNegativeLanes = renderNegativeLanes,
super(
barRendererDecorator: barRendererDecorator,
cornerStrategy: cornerStrategy,
customRendererId: customRendererId,
groupingType: groupingType ?? BarGroupingType.grouped,
layoutPaintOrder: layoutPaintOrder,
minBarLengthPx: minBarLengthPx,
fillPattern: fillPattern,
stackedBarPaddingPx: stackedBarPaddingPx,
strokeWidthPx: strokeWidthPx,
symbolRenderer: symbolRenderer,
weightPattern: weightPattern,
);