mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-19 04:00:45 +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;
|
QString a;
|
||||||
int x,y;
|
int x,y;
|
||||||
for (int j=0;j<m_colors.size();j++) {
|
for (int j=0;j<m_colors.size();j++) {
|
||||||
|
if (totalcounts[j]==0) continue;
|
||||||
a=channel[m_codes[j]].label();
|
a=channel[m_codes[j]].label();
|
||||||
a+=" ";
|
a+=" ";
|
||||||
switch(m_type[j]) {
|
switch(m_type[j]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user