|
Custom legend color |
Posted by Seth on Jul-09-2020 23:35 |
|
Hello,
Is there a way to change the legend color from the default of black to white?
The traders I work with like to view their charts with a dark background. For that reason I am trying to change the font color of the legend to white. Is that possible?
Seth
|
Re: Custom legend color |
Posted by Peter Kwan on Jul-10-2020 13:35 |
|
Hi Seth,
You can call the setFontColor of the legend box object to set the font color. For example, in C#/Java, it is like:
// Set font color to white
c.getLegend().setFontColor(0xffffff);
Regards
Peter Kwan |
|