Documentation

UI::Plot::HideNextItem

Function

void UI::Plot::HideNextItem(bool hidden = true, Cond cond = UI::Plot::Cond::Once)

Hides or shows the next plot item (i.e. as if it were toggled from the legend).

bool hidden

UI::Plot::Cond cond

Use UI::Plot::Cond::Always if you need to forcefully set this every frame.