JavaFX Use Chart Legend to toggle show/hide Series possible?

Is it possible to use a chart’s legend to toggle show/hide a series? I got a LineChart with a legend and there are too many Series so you can’t read out the information well. I was wondering if there …