|
Drill down 3D scatter Chart |
Posted by Priyanka on Jan-07-2015 18:49 |
|
Hello Peter,
I tried Simple Clickable Charts and it works fine.
But when I tried to generate Drill down or clickable 3D scatter Chart, the xLabel of the master page is not being picked in the child page.
//Code in Master page
// Include tool tip for the chart
WebChartViewer1.ImageMap = c.getHTMLImageMap("WebForm1.aspx", "",
"title='(Project : {xLabel},Activity : {yLabel}, Total Hours : {z} hrs)'");
//Code in WebForm1.aspx
// Get the selected Project
string selectedProject = Request["xLabel"];
Please let me know is there any other way of using clickable 3D scatter Chart?
The value of xLabel where the user has clicked is required to display relevant chart in the child page.
Please help!
Regards,
Priyanka. |
Re: Drill down 3D scatter Chart |
Posted by Peter Kwan on Jan-08-2015 00:43 |
|
Hi Priyanka,
For the 3D scatter chart, by default, the xLabel is not passed as a query parameter. For
your case, you may try:
WebChartViewer1.ImageMap = c.getHTMLImageMap("WebForm1.aspx",
"xLabel={xLabel}&x={x}&y={y}&z={z}",
"title='(Project : {xLabel},Activity : {yLabel}, Total Hours : {z} hrs)'");
In this way, in the child page, you would have xLabel, x, y and z as query parameters.
Hope this can help.
Regards
Peter Kwan |
Re: Drill down 3D scatter Chart |
Posted by Priyanka on Jan-08-2015 12:10 |
|
Hello Peter,
It worked.
Thanks a lot.
Regards,
Priyanka. |
|