Jump to content
Software FX Community

How to use TipMask with Series?


User (Legacy)

Recommended Posts

I'm using ChartFX Internet version 5.5.

I've got a Gantt chart of type CHART_STACKED100 with 5 series.

My URLOptions is set to CHART_URL_JUMP OR CHART_URL_GLOBAL or

CHART_URL_PARAM

I'm trying to use a TipMask to show the value of each series when the user

browses over a cell, particularly when the percentages are small and the

normal numbers PointValues that are displayed run together.

I've tried to use the %v and %v<n> as shown in the doco, but I get.

%s gives the series legend,

%l gives the X-Axis legend,

%X, %x, and %i don't show anything,

%v and %v<n> both return "Method '~' of object '~' failed"

%t gives the total for the series

Is there a way to show the value for that series and bar using the TipMask?

Thanks - Jim

just_jt@nospamthanks.hotmail.com

Link to comment
Share on other sites

This is still a problem for me.  ChartFX support, any ideas here?

Thanks!

"Jim" <just_jt@hotmail.com> wrote in message

news:ti#r3fSVCHA.3124@webserver1.softwarefx.com...

> I'm using ChartFX Internet version 5.5.

> I've got a Gantt chart of type CHART_STACKED100 with 5 series.

> My URLOptions is set to CHART_URL_JUMP OR CHART_URL_GLOBAL or

> CHART_URL_PARAM

> I'm trying to use a TipMask to show the value of each series when the user

> browses over a cell, particularly when the percentages are small and the

> normal numbers PointValues that are displayed run together.

>

> I've tried to use the %v and %v<n> as shown in the doco, but I get.

>

> %s gives the series legend,

> %l gives the X-Axis legend,

> %X, %x, and %i don't show anything,

> %v and %v<n> both return "Method '~' of object '~' failed"

> %t gives the total for the series

>

> Is there a way to show the value for that series and bar using the

TipMask?

>

> Thanks - Jim

> just_jt@nospamthanks.hotmail.com

>

>

Link to comment
Share on other sites

Can you please send a sample that reproduces this problem. I assume you are

using the client side ActiveX. Right ? What is exactly the string being

passed to TipMask. The default TipMask shows the series value. I tried the

following and works perfectly:

<HTML>

<HEAD>

</HEAD>

<BODY>

<!-- #include virtual="/Include/CfxIE.inc" -->

<%

Set chart = Server.CreateObject("ChartFX.WebServer")

chart.TipMask = "%v"

chart.URL(0) = "http://www.softwarefx.com"

chart.URLOptions = CHART_URL_JUMP OR CHART_URL_GLOBAL or CHART_URL_PARAM

chart.DblClk CHART_URLCLK,0

chart.URLParamMask = "value=%v"

%>

<br>

<%=chart.GetHtmltag(500,350,"ActiveX")%>

</BODY>

</HTML>

--

FP

Software FX, Inc.

Link to comment
Share on other sites

FP,

Here is my sample. I have 5 series on the chart.

No, we don't use client-side ActiveX anymore, it would not be appropriate

for the size of this project. We're generating a PNG and capturing the image

map through the GetHTMLDataEx method.

We only generate the chart when it doesn't already exist, and save the image

map to a database. Works great for our charts when we are using URLs, but

not for ToolTips.

with myChart

.Gallery = GANTT

.Chart3D = True

.Stacked = CHART_STACKED100

.TipMask = "%v"

.ImgMap = CHART_MAP_MOUSETIP

.ShowTips = true

.URLOptions = CHART_URL_JUMP OR CHART_URL_GLOBAL or CHART_URL_PARAM

.DblClk CHART_URLCLK,0

.URLParamMask = "value=%v"

Chart.GetHtmlDataEx intWidth, intHeight, "png", 7, vData, vMap

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

news:paTlQaDWCHA.3080@webserver1.softwarefx.com...

> Can you please send a sample that reproduces this problem. I assume you

are

> using the client side ActiveX. Right ? What is exactly the string being

> passed to TipMask. The default TipMask shows the series value. I tried the

> following and works perfectly:

>

> <HTML>

> <HEAD>

> </HEAD>

> <BODY>

> <!-- #include virtual="/Include/CfxIE.inc" -->

> <%

> Set chart = Server.CreateObject("ChartFX.WebServer")

>

>

> chart.TipMask = "%v"

> chart.URL(0) = "http://www.softwarefx.com"

> chart.URLOptions = CHART_URL_JUMP OR CHART_URL_GLOBAL or

CHART_URL_PARAM

> chart.DblClk CHART_URLCLK,0

> chart.URLParamMask = "value=%v"

> %>

> <br>

>

>

> <%=chart.GetHtmltag(500,350,"ActiveX")%>

>

>

> </BODY>

> </HTML>

>

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...