We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Provide datapoint mouseclicks in BI Olapchart for drilldown

We're currently evaluating the ASP.NET BI Olap chart as a frontend for our datacubes. We need a feature where a user can click on some point in the chart, then a URL is created in code that invokes some detail view page on the data (drilldown).

The essential chart seems to offer useful mouseclicks events, but the BI Olapchart lack these according to the documentation.

Do you have a solution for detecting mouseclicks in the ASP.NET BI Olapchart?

Thanks in advance.




1 Reply

HV Hari Venkatesh E Syncfusion Team February 17, 2011 07:00 AM UTC

Hi,

The BI OLAP Chart also supports the feature of providing URL to each point in chart region. To enable this feature you have to set the "CalcRegions" and "EnableUrl" property to "true".




CODE BEHIND:

protected void Page_PreRender(object sender, EventArgs e)
{
for (int i = 0; i < this.OlapChart1.Series.Count; i++)
{
for (int j = 0; j < this.OlapChart1.Series[0].Points.Count; j++)
{
this.OlapChart1.Series[i].Styles[j].Url = "www.syncfusion.com/products";
}
}
}

The above code snippet would allow you to set the URL for each point in chart. We have also provided a sample for your convenience which is available under the following link:

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=BIChart1318938782.zip

Thanks,
E.Hari Venkatesh.




Loader.
Live Chat Icon For mobile
Up arrow icon