keyFn property

AccessorFn<String>? keyFn
final

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

final AccessorFn<String>? keyFn;