getRenderTime method

SeriesRendererConfig<DateTime> getRenderTime(
  1. String? renderId,
  2. BarLabelDecorator? barLabelDecorator
)

Implementation

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