is there a possibility to set item visible true or false?
I change visibility of the graphs and want to hide the name in the legend when graph is set visible(false)
is there a possibility to set item visible true or false?
I change visibility of the graphs and want to hide the name in the legend when graph is set visible(false)
i got it myself
m_ui->logplot->graph(3)->setName("fuelTemp"); m_ui->logplot->legend->item(4)->setVisible(true);and to set it unvisible
m_ui->logplot->legend->item(4)->setVisible(false);