Sets toggle options for y_var and adds a toggle button for chart
Examples
# Add a toggle button to switch y variable
myIO() |> setToggle(variable = "Percent", format = ".0%")
Sets toggle options for y_var and adds a toggle button for chart
# Add a toggle button to switch y variable
myIO() |> setToggle(variable = "Percent", format = ".0%")