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

Message ListMessage List     Post MessagePost Message

  more then one chart in jsp
Posted by Doron on Feb-17-2011 21:17
I  would like to create a jsp divided into 4 frames,each frame display a different chart.
How can I do it?!
because when I try to do it,one chart copies itself to an other frame.

Thanks,
Doron

  Re: more then one chart in jsp
Posted by Peter Kwan on Feb-18-2011 09:48
Hi Doron,

It is probably because you are using the same session variable for all the charts, so the charts overwrite each others.

To solve the problem, please use a different session variable for the charts. For example, if one chart is using:

String chart1URL = c.makeSession(request, "chart1");

Then the second chart can use:

String chart1URL = c.makeSession(request, "chart2");

(The "chart1", "chart2" is just arbitrary names. They should be different if you do not want them to overwrite each others.)

Hope this can help.

Regards
Peter Kwan