selectNearestByDomain property
bool
get
selectNearestByDomain
Whether data should be selected by nearest domain distance, or by relative distance.
This should generally be true for chart types that are intended to be aggregated by domain, and false for charts that plot arbitrary x,y data. Scatter plots, for example, may have many overlapping data with the same domain value.
Implementation
bool get selectNearestByDomain => true;