plotters-iced
plotters-iced copied to clipboard
State?
The state parameter of build_chart does not appear to do anything (state always has the value of State::default) - and none of the example show it's use (_state in every single example)
Does that parameter work?
The state parameter of
build_chartdoes not appear to do anything (state always has the value of State::default) - and none of the example show it's use (_state in every single example)Does that parameter work?
It should work, but its usage is limited. The widget tree will have the ownership of the state, you cannot update the state directly, unless you are handling UI events.