Home > Mobile >  QT QChart set the color of the line is not successful
QT QChart set the color of the line is not successful

Time:10-28

QChart set line color failed to do,
 Hline - & gt; Elegantly-named setName (name1); 
Hline - & gt; SetColor (QColor (255, 0, 0));
Vline - & gt; Elegantly-named setName (name2);
Vline - & gt; SetColor (QColor (21, 100, 255));

The line color is not my Settings, this is the reason why ah,

CodePudding user response:

Try setting is written on the chart - & gt; AddAxis (); After:
  •  Tags:  
  • Qt
  • Related