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

Message ListMessage List     Post MessagePost Message

  Lofi
Posted by Duplicate/Clone a Chart in Java on Apr-05-2011 15:15
Is there a convenience method in the Java ChartDirector version to duplicate/clone a chart? I've seen the perl thread in which it's mentioned that it's not possible. But before i modify lots of code, i thought i'd better ask ;-)

  Re: Lofi
Posted by Peter Kwan on Apr-06-2011 01:49
Hi Lofi,

Unluckily, you cannot duplicate or clone a chart object in ChartDirector.

Usually, we suggest people to create a subroutine that creates the chart object using "current data". Whenever a new chart instance is needed, you may call the subroutine. If you need to update the chart with new data, just update the "current data", and call the subroutine again.

Regards
Peter Kwan