setValue method
add or update the value of a specified series and category.
series - the series
category - the category.
value - the value
Implementation
@override
void setValue(S series, C category, num ?value) {
final map = _data[series] ?? <C, num?>{};
map[category] = value;
_data[series] = map;
_categories = null;//clear cache
}