Hello,
I have a chart with many series, which can be toggled on and off by tapping the corresponding legend entry. I would like to toggle less important of them off programmatically on start-up using my own configuration. I don't want to program the whole legend by my own. I like the standard legend and only want to have it in the state, as I have clicked on a couple of legend entries. There is a function cartesianToggle() in common/utils/helper.dart which seems to be the thing, I'm looking for, but it needs the internal state object to be passed in. Is there any possibility to achieve the goal?
Regards,
Werner