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

Message ListMessage List     Post MessagePost Message

  Duplicate axis
Posted by Marko on Oct-17-2016 21:52
Hello!

In the Gantt chart I'd like to have a second axis at the bottom. It should be the exact copy of the top axis - the only purpose is to increase readability when dealing with many rows. What is simplest way to do that?

Thanks.

Using CD 5.1

  Re: Duplicate axis
Posted by Peter Kwan on Oct-17-2016 23:04
Hi Marko,

The easiest method is to use Axis.copyAxis. For example, in C#/Java, it is:

// copy yAxis to yAxis2
c.yAxis2().copyAxis(c.yAxis());


Hope this can help.

Regards
Peter Kwan

  Re: Duplicate axis
Posted by Marko on Oct-18-2016 20:27
Perfect! Thanks.