keyFn property

AccessorFn<String>? keyFn
getter/setter pair

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

AccessorFn<String>? keyFn;