Jump to content
Software FX Community

2 Graphs on Same ASP Page


User (Legacy)

Recommended Posts

I have 2 graphs that I'm exporting as an image with Chart FX 5.5 Internet.

Both use the following code (assigned to 2 different chart objects):

' Generate Title attribute in AREA tags

Chart.ImgMap = CHART_MAP_TITLETIP

' If you want to customize the string that appears on the tooltip you can

use the TipMask property

Chart.TipMask = "%l - %v"

The second chart in the code does not display the tip mask. It will display

tipmask from the first chart. I tried getting rid of one chart and it works

great. Once I add a second chart, no matter which one it is, it never

displays the appropriate tipmask. Any thoughts/suggestions would be greatly

appreciated?

Link to comment
Share on other sites

In the GetHtmlTag call make sure you set the fourth parameter (chart name)

as different strings for your charts.

--

Regards,

JC

Software FX Support

"PD" <pdaniel@commonwealth.com> wrote in message

news:72H2s3AkCHA.1316@webserver1.softwarefx.com...

> I have 2 graphs that I'm exporting as an image with Chart FX 5.5 Internet.

> Both use the following code (assigned to 2 different chart objects):

>

> ' Generate Title attribute in AREA tags

> Chart.ImgMap = CHART_MAP_TITLETIP

> ' If you want to customize the string that appears on the tooltip you can

> use the TipMask property

> Chart.TipMask = "%l - %v"

>

> The second chart in the code does not display the tip mask. It will

display

> tipmask from the first chart. I tried getting rid of one chart and it

works

> great. Once I add a second chart, no matter which one it is, it never

> displays the appropriate tipmask. Any thoughts/suggestions would be

greatly

> appreciated?

>

>

Link to comment
Share on other sites

It works.  Thanks for the advise!

"Software FX Support" <support@softwarefx.com> wrote in message

news:Mt$plUCkCHA.1988@webserver1.softwarefx.com...

> In the GetHtmlTag call make sure you set the fourth parameter (chart name)

> as different strings for your charts.

>

> --

> Regards,

>

> JC

> Software FX Support

> "PD" <pdaniel@commonwealth.com> wrote in message

> news:72H2s3AkCHA.1316@webserver1.softwarefx.com...

> > I have 2 graphs that I'm exporting as an image with Chart FX 5.5

Internet.

> > Both use the following code (assigned to 2 different chart objects):

> >

> > ' Generate Title attribute in AREA tags

> > Chart.ImgMap = CHART_MAP_TITLETIP

> > ' If you want to customize the string that appears on the tooltip you

can

> > use the TipMask property

> > Chart.TipMask = "%l - %v"

> >

> > The second chart in the code does not display the tip mask. It will

> display

> > tipmask from the first chart. I tried getting rid of one chart and it

> works

> > great. Once I add a second chart, no matter which one it is, it never

> > displays the appropriate tipmask. Any thoughts/suggestions would be

> greatly

> > appreciated?

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...