Jump to content
Software FX Community

I need some help with Drill Downs URL's...


User (Legacy)

Recommended Posts

> Is there a postback event handler for when the bar is clicked?

Yes but with a twist. If you have a chart where you want to hyperlink you

have two options

a) Assign the Url, and we will jump to that page, using this approach you

can also assign a global URL (for all points) but specify parameters such as

the Point Value, Series Index, etc.

B) Handle the click event in the webform component, when we detect that you

attached code to the Click event we will do a postback, and you will receive

(in the args parameter) the point and series, any other info you can request

from the chart (point value, series label, etc.). Note that in this option

the Url is not used or required.

> How do I Use options with the URL such as URLOptions, URLTarget etc...

In ChartFX 6.2 using the URL property directly is obsolete. Instead you

should use the Link property which gives you the following properties

Url, Target, Reload.

Url and Target are obvious. Reload allows you to specify that instead of

hyperlinking ChartFX should use the result of the Url and reload that chart,

this assumes that the Url in question ends with something like

chart1.GetHtmlData(400,400,".net");

So that your page actually returns a new chart stream that we can use to

update the chart.

Regards,

JC

SoftwareFX Support

"Name" <papapet_2000@yahoo.com> wrote in message

news:G$J65skgFHA.1484@webserver3.softwarefx.com...

>I have a simple bar chart.

>

>

> I use chart.Point[0,i].URL = http://www......etc...;

>

> This works and goes to the URL when someone clicks a bar.

> I have 2 questions:

>

> 1) Is there a postback event handler for when the bar is clicked?

>

> 2) How do I Use options with the URL such as URLOptions, URLTarget etc...

>

> Thanks,

> Pete

>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...