How to add a link to a Column?

Mar 12, 2012 at 10:17 AM

HI ,

I checked the Documentation and didn't find how to add a link to Chart ,for example to a column or a point .

is there any hints for this ? 

 

Thanks.

Developer
Mar 14, 2012 at 2:34 PM

You can use the click property in the PlotOptionEvents like this:

hcchart1.PlotOptions.events = new Core.Events.PlotOptionEvents { click = "document.location.href='mypage.aspx?value=' + event.point.y;" };

Sorry about the delay.

May 30, 2013 at 5:53 AM
Hi,

Can I know why my click event is not working even just with a normal click without linking.
hcFrutas1.PlotOptions = New Core.PlotOptions.PlotOptionsColumn With {.borderColor = "#dedede", _
                        .borderRadius = 4, _
                        .cursor = "pointer"}

'hcFrutas1.PlotOptions.point = New Events.PlotPointEvents With {.events = New Events.PlotEvents With {.click = "this.name"}}
hcFrutas1.PlotOptions.events = New Events.PlotOptionEvents With {.click = "this.x"}