Detecting exact data value of field underneath mouse at time of clicking
Posted: Wed Jun 18, 2008 3:17 am
I have a challenge for the Stimulsoft developers.
Basically what I want to be able to do is offer a "drill down" style functionality that is able to detect the exact data value being clicked on, as follows:
1. The user runs the main report, which displays say a pie chart (but could be a databand table listing, or any other component).
2. User clicks on a piece of the pie chart and based on that selection, the sub report (or a new report) is displayed using the piece of the pie clicked as a input parameter.
Using an example:
Main report shows number of apples sold by salespersons. The pieces of the pie chart (arguments) are each salesperson.
So Paul sold 45 apples, Jane sold 100 apples etc. Jane's piece of the pie is bigger than Pauls then.
User clicks on Janes piece of the pie.
New report displays showing Jane's full contact details.
User closes the contact details report, is back at the main report.
They then click Paul's piece.
New report displays showing Paul's full contact details.
Is this currently possible? Can it be made possible in a future release?
At the moment, I can get as far as the OnClick mouse event on say the chart and launch the new report. My problem is I cannot establish what data value in the chart the user is clicking on. Thus I do not have that key parameter value to pass to the new report.
Basically what I want to be able to do is offer a "drill down" style functionality that is able to detect the exact data value being clicked on, as follows:
1. The user runs the main report, which displays say a pie chart (but could be a databand table listing, or any other component).
2. User clicks on a piece of the pie chart and based on that selection, the sub report (or a new report) is displayed using the piece of the pie clicked as a input parameter.
Using an example:
Main report shows number of apples sold by salespersons. The pieces of the pie chart (arguments) are each salesperson.
So Paul sold 45 apples, Jane sold 100 apples etc. Jane's piece of the pie is bigger than Pauls then.
User clicks on Janes piece of the pie.
New report displays showing Jane's full contact details.
User closes the contact details report, is back at the main report.
They then click Paul's piece.
New report displays showing Paul's full contact details.
Is this currently possible? Can it be made possible in a future release?
At the moment, I can get as far as the OnClick mouse event on say the chart and launch the new report. My problem is I cannot establish what data value in the chart the user is clicking on. Thus I do not have that key parameter value to pass to the new report.