makeBarRendererElement method
      
  
BarRendererElement<D> 
makeBarRendererElement({ 
    
- required BarRendererElement<D> details,
- required ImmutableAxis<D> domainAxis,
- required int domainWidth,
- required num measureOffsetValue,
- required ImmutableAxis<num> measureAxis,
- required int barGroupIndex,
- required int numBarGroups,
- Color? color,
- List<int> ? dashPattern,
- D? domainValue,
- num? measureValue,
- double? measureAxisPosition,
- Color? fillColor,
- FillPatternType? fillPattern,
- double? strokeWidthPx,
- double? previousBarGroupWeight,
- double? barGroupWeight,
- List<double> ? allBarGroupWeights,
- bool? measureIsNull,
- bool? measureIsNegative,
Generates a BarRendererElement to represent the rendering data for one bar on the chart.
Implementation
@override
BarRendererElement<D> makeBarRendererElement({
  required BarRendererElement<D> details,
  required ImmutableAxis<D> domainAxis,
  required int domainWidth,
  required num measureOffsetValue,
  required ImmutableAxis<num> measureAxis,
  required int barGroupIndex,
  required int numBarGroups,
  Color? color,
  List<int>? dashPattern,
  D? domainValue,
  num? measureValue,
  double? measureAxisPosition,
  Color? fillColor,
  FillPatternType? fillPattern,
  double? strokeWidthPx,
  double? previousBarGroupWeight,
  double? barGroupWeight,
  List<double>? allBarGroupWeights,
  bool? measureIsNull,
  bool? measureIsNegative,
}) =>
    BarRendererElement<D>()
      ..color = color
      ..dashPattern = dashPattern
      ..fillColor = fillColor
      ..fillPattern = fillPattern
      ..measureAxisPosition = measureAxisPosition
      ..roundPx = details.roundPx
      ..strokeWidthPx = strokeWidthPx
      ..measureIsNull = measureIsNull
      ..measureIsNegative = measureIsNegative
      ..bounds = _getBarBounds(
        domainValue,
        domainAxis,
        domainWidth,
        config.maxBarWidthPx,
        measureValue,
        measureOffsetValue,
        measureAxis,
        barGroupIndex,
        previousBarGroupWeight,
        barGroupWeight,
        allBarGroupWeights,
        numBarGroups,
      );