mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 12:10:43 +00:00
Hide SummaryChart legends where none of that data type
This commit is contained in:
parent
0cfd82c113
commit
0fcce2ebd5
@ -301,6 +301,7 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height)
|
||||
QString a;
|
||||
int x,y;
|
||||
for (int j=0;j<m_colors.size();j++) {
|
||||
if (totalcounts[j]==0) continue;
|
||||
a=channel[m_codes[j]].label();
|
||||
a+=" ";
|
||||
switch(m_type[j]) {
|
||||
|
Loading…
Reference in New Issue
Block a user