getBaseDetails method

  1. @override
_BarTargetLineRendererElement getBaseDetails(
  1. dynamic datum,
  2. int index
)

Construct a base details element for a given datum.

This is intended to be overridden by child classes that need to add customized rendering properties.

Implementation

@override
_BarTargetLineRendererElement getBaseDetails(dynamic datum, int index) {
  final localConfig = config as BarTargetLineRendererConfig<D>;
  return _BarTargetLineRendererElement(
      roundEndCaps: localConfig.roundEndCaps);
}