Jump to content
Software FX Community

URLParamMask


User (Legacy)
 Share

Recommended Posts

I tested the following code and it works fine. Please note that I am setting

the number of decimals on the X axis to be 2 (you may need this).

<%

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

Chart.OpenDataEx COD_VALUES,1,3

Chart.OpenDataEx COD_XVALUES,1,3

Chart.ValueEx(0,0) = 10

Chart.ValueEx(0,1) = 8

Chart.ValueEx(0,2) = 4

Chart.XValueEx(0,0) = 1

Chart.XValueEx(0,1) = 1.5

Chart.XValueEx(0,2) = 2.5

Chart.CloseData COD_XVALUES

Chart.CloseData COD_VALUES

Chart.Gallery = SCATTER

Chart.Chart3D = False

Chart.Axis(AXIS_X).Decimals = 2

Chart.URL(0) = "DrillDownParam.asp"

Chart.URLOptions = CHART_URL_JUMP OR CHART_URL_PARAM or CHART_URL_GLOBAL

Chart.URLParamMask ="Answer=%x"

' This line is required if generating active charts

' Chart.DblClk CHART_URLCLK,0

%>

<%= chart.GetHtmlTag("500","350","Image") %>

I have tested this code with both images and active chart and it seems to

work in all cases, please let me know if you are doing something different

in your code or if this sample behaves differently in your machine.

Regards,

JC

"Carina Daunfeldt" <carina@quicknet.se> wrote in message

news:icRiq19TBHA.1444@webserver1.softwarefx.com...

> Hello,

>

> I

Link to comment
Share on other sites

I have not personally tried with URLParamMask it but if you use %X (note

that it should be uppercase) we will output the X value in the

tipmask/URLParamMask even if the gallery type does not support X values

Regards,

JC

"Carina Daunfeldt" <carina@quicknet.se> wrote in message

news:GAp11bJUBHA.1276@webserver1.softwarefx.com...

> Hello,

>

> Now I know what my mistake was, I used a BAR chart ...

>

> Thanks anyway

>

> Carina

>

>

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...