getRenderNumeric method

SeriesRendererConfig<num> getRenderNumeric(
  1. String? renderId
)

Implementation

common.SeriesRendererConfig<num> getRenderNumeric(String? renderId) {
  return common.BarRendererConfig(
    customRendererId: renderId,
    barGroupInnerPaddingPx: barGroupInnerPaddingPx,
    fillPattern: MethodCommon.fillPattern(fillPattern),
    groupingType: _getBarGroupingType(barGroupingType),
    cornerStrategy: common.ConstCornerStrategy(radius),
    maxBarWidthPx: maxBarWidthPx,
    minBarLengthPx: minBarLengthPx,
    stackedBarPaddingPx: stackedBarPaddingPx,
    strokeWidthPx: strokeWidthPx,
    weightPattern: weightPattern,
    barRendererDecorator: showBarLabel
        ? barLabelDecorator?.getRenderNumeric() ??
            BarLabelDecorator().getRenderNumeric()
        : null,
  );
}