Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Customizing legends in chart
Jika last edited by
I am quite frustrated in an attempt to customized my legend on the bar chart! :)
I have the stacked bar chart, for a few of bar set I do not want to show their legends but I just can hide (transparent) the label of the legends (i.e. the text) as such the label shape still stays in the legend box. Is there a way to get rid of unwanted legends!?
thx a lot!
You are using QtCharts right? According to documentation it should be enough to set
legend.visible: false: docs