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,
  );
}