Jump to content
Software FX Community

Image map problem, 2 charts


User (Legacy)

Recommended Posts

I'm having a problem getting the url's right when creating two charts.

The second chart will get the first charts url's (image map) even though

I set the values for the second (chart2)

First I make chart1:

Chart1.URL(0) ="charts2.asp";

Chart1.URLOptions = CHART_URL_JUMP || CHART_URL_GLOBAL ||

CHART_URL_PARAM;

Chart1.URLParamMask = "scode=%l&thrust="+thrust;

Chart1.ImgTags = "BORDER=0";

Then I print it:

Response.Write(Chart1.GetHtmlTag(300,200,"Image"));

I then create the new chart2 instance:

Chart2.URL(0) ="charts3.asp";

Chart2.URLOptions = CHART_URL_JUMP || CHART_URL_BYMARKER ||

CHART_URL_PARAM;

Chart2.URLParamMask = "scode=%l&thrust="+thrust;

Chart2.ImgTags = "BORDER=0";

Print it:

Response.Write(Chart2.GetHtmlTag(300,200,"Image"));

Somehow the second chart get the same imagemap with url's to charts2.asp

anyway.

Both graphs are XY-BAR-charts and there is also a constant line. The %l

parameter should be used because the labelvalue contains the correct

value. Printing this in two graphs is necessary.

Advise how to solve!

Regards

Bj

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...