getRenderTime method

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

Implementation

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