|
coloraxis tick color |
Posted by an on Dec-01-2022 17:25 |
|
Hi,
I manage to use setColorGradient in transparent, then only show the tick with different color. Is it possible ?
Thanks,
An |
Re: coloraxis tick color |
Posted by an on Dec-02-2022 09:33 |
|
Hi Peter,
It helped. There's another problem.
Can I add the mark width? (ex:colorAxis.setTickWidth(5, 2);)
Thanks,
An |
Re: coloraxis tick color |
Posted by Peter Kwan on Dec-04-2022 03:45 |
|
Hi an,
By "width", I assume you are referring to the line width. In this case, you may use something like:
Mark *m = cAxis->addMark(ticks[i], cAxis2->getColor(ticks[i]));
m->setLineWidth(2);
Best Regards
Peter Kwan |
|