keyFn property

  1. @override
AccessorFn<String>? keyFn
getter/setter pairoverride

keyFn defines a globally unique identifier for each datum.

The key for each datum is used during chart animation to smoothly transition data still in the series to its new state.

Note: This is currently an optional function that is not fully used by all series renderers yet.

Implementation

@override
AccessorFn<String>? keyFn;