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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Provide datapoint mouseclicks in BI Olapchart for drilldown

Thread ID:

Created:

Updated:

Platform:

Replies:

98252 Feb 16,2011 09:47 PM UTC Feb 17,2011 07:00 AM UTC General Discussion 1
loading
Tags: General Discussion
r.wijnands
Asked On February 16, 2011 09:47 PM UTC

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.




Hari Venkatesh E [Syncfusion]
Replied On 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.




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;