getRenderNumeric method

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

Implementation

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