Jump to content
Software FX Community

Tip Mask


User (Legacy)
 Share

Recommended Posts

Hello there,

I have been very grateful to the people on this newsgroup before and was

wondering if you might be able to help me out again.

<cfoutput query="getReport">

<cfset FirstCounter = #getReport.CurrentRow# - 1>

<CFSET Chart.SetArrayProp("SerLeg",#FirstCounter#,"#getReport.Name#")>

<cfset chart.TipMask="#getReport.Name#">

</cfoutput>

I would like to set the TipMask to be part of the query - ie dynamically

generated for each bar - is this possible. I believe it is but I am getting

the same tip all the way across - I can set the tip but it is then set

globally instead of changing.

Cheers

Simon

Link to comment
Share on other sites

Please note that the TipMask property supports "dynamic" parameters such as

%v that will be replaced with the point's value of %l that will be replaced

with the legend. The ChartFX API Reference documents all the parameters you

can use in this property.

--

Regards,

JC

"Simon Whittaker" <simon@swbh.net> wrote in message

news:AiP$FQgYBHA.1424@webserver1.softwarefx.com...

> Hello there,

>

> I have been very grateful to the people on this newsgroup before and was

> wondering if you might be able to help me out again.

>

> <cfoutput query="getReport">

> <cfset FirstCounter = #getReport.CurrentRow# - 1>

> <CFSET

Chart.SetArrayProp("SerLeg",#FirstCounter#,"#getReport.Name#")>

> <cfset chart.TipMask="#getReport.Name#">

> </cfoutput>

>

> I would like to set the TipMask to be part of the query - ie dynamically

> generated for each bar - is this possible. I believe it is but I am

getting

> the same tip all the way across - I can set the tip but it is then set

> globally instead of changing.

>

> Cheers

>

> Simon

>

>

Link to comment
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.

 Share

×
×
  • Create New...