getRenderOrdinal method

SeriesRendererConfig<String> getRenderOrdinal(
  1. String? renderId
)

Implementation

common.SeriesRendererConfig<String> getRenderOrdinal(String? renderId) {
  return common.PointRendererConfig(
    customRendererId: renderId,
    radiusPx: radiusPx,
    strokeWidthPx: strokeWidthPx,
    symbolRenderer: symbolRender?.getRenderer(),
    pointRendererDecorators: [
      if (showPointLabel)
        pointLabelDecorator?.getRenderOrdinal() ??
            PointLabelDecorator().getRenderOrdinal(),
      if (showComparisonPoint)
        common.ComparisonPointsDecorator(
          symbolRenderer: comparisonSymbolRender.getRenderer(),
        ),
    ],
  );
}