getRenderOrdinal method
SeriesRendererConfig<String>
getRenderOrdinal(
- String? renderId
)
Implementation
common.SeriesRendererConfig<String> getRenderOrdinal(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?.getRenderOrdinal() ??
BarLabelDecorator().getRenderOrdinal()
: null,
);
}