getRenderTime method

SeriesRendererConfig<DateTime> getRenderTime(
  1. String? renderId
)

Implementation

common.SeriesRendererConfig<DateTime> getRenderTime(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?.getRenderTime() ??
            BarLabelDecorator().getRenderTime()
        : null,
  );
}