ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  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 Peter Kwan on Dec-02-2022 03:37
Hi an,

Does the following chart style meet your requirements?

https://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&thread=1469627703#N1490038879

If the above is not what you need, is it possible to attach an example chart image to help me understand your requirements?

Best Regards
Peter Kwan

  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