BarLaneRendererConfig constructor

BarLaneRendererConfig({
  1. String? customRendererId,
  2. CornerStrategy? cornerStrategy,
  3. String emptyLaneLabel = 'No data',
  4. FillPatternType? fillPattern,
  5. BarGroupingType? groupingType,
  6. int layoutPaintOrder = LayoutViewPaintOrder.bar,
  7. bool mergeEmptyLanes = false,
  8. int minBarLengthPx = 0,
  9. bool renderNegativeLanes = false,
  10. int stackedBarPaddingPx = 1,
  11. double strokeWidthPx = 0.0,
  12. BarRendererDecorator<String>? barRendererDecorator,
  13. SymbolRenderer? symbolRenderer,
  14. Color? backgroundBarColor,
  15. 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,
      );