mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
More on graph legend markers
This commit is contained in:
parent
673b75d9f0
commit
9b51e2ecd3
@ -603,8 +603,8 @@ void gLineChart::paint(gGraph & w,int left, int top, int width, int height)
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
QFontMetrics fm(*defaultfont);
|
||||
int bw=fm.xHeight();
|
||||
int bh=fm.height()/1.5;
|
||||
int bw=fm.width('X');
|
||||
int bh=fm.height()/1.8;
|
||||
|
||||
if ((codepoints>0)) { //(m_codes.size()>1) &&
|
||||
QString text=schema::channel[code].label();
|
||||
|
@ -571,8 +571,8 @@ jumpnext:
|
||||
int x,y;
|
||||
|
||||
QFontMetrics fm(*defaultfont);
|
||||
int bw=fm.xHeight();
|
||||
int bh=fm.height()/1.5;
|
||||
int bw=fm.width('X');
|
||||
int bh=fm.height()/1.8;
|
||||
|
||||
bool ishours=false;
|
||||
int good=0;
|
||||
|
Loading…
Reference in New Issue
Block a user