Jump to content
Software FX Community

2 Graphs on Same ASP Page


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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...