Hello,
It seems that a Webchart with the zoom tool postbacks everytime I click on the image (even if I'm not trying to zoom). That makes impossible to have an URL loaded (coming from the webchart, of course) in an Iframe inside the same page. Is there a way of having the zoom tool only post back when there is actually an area selected instead of every time the user clicks? Or any other solution to this?
Thanks.
WebChart with Zoom postbacking when a URL is clicked.
Hello,
We'll re-check this. Looking at the WebChart code, a click was intended so as to be useable if not zooming (as in the zoom example iself included in the TeeChart ASP demo).
I don't follow exactly how that relates to a URL you require? Are you requiring that a click call an URL (based on a value for example)?
With thanks.
Regards,
Marc
We'll re-check this. Looking at the WebChart code, a click was intended so as to be useable if not zooming (as in the zoom example iself included in the TeeChart ASP demo).
I don't follow exactly how that relates to a URL you require? Are you requiring that a click call an URL (based on a value for example)?
With thanks.
Regards,
Marc
Steema Support
Yeah, exactly, I'm trying to be able to load an URL using the example you have for the airlines webchart, but at the same time, I want the user to be able to zoom inside the chart.
The zoom seems to work fine and the URL only works when the URL is loaded in another frame because the zoom causes the page with the chart to postback.
In summary: I'm trying to use the URL mapping (wihch allows the user to browse when they click in the gantt bars) to load an iframe inside the same page where the chart is placed and also the zooming. If I disable the zooming the URL mapping works well, but When I enable it the page post backs with sinple click, therefore the URL cannot be loaded into the iframe.
Any suggestions?
The zoom seems to work fine and the URL only works when the URL is loaded in another frame because the zoom causes the page with the chart to postback.
In summary: I'm trying to use the URL mapping (wihch allows the user to browse when they click in the gantt bars) to load an iframe inside the same page where the chart is placed and also the zooming. If I disable the zooming the URL mapping works well, but When I enable it the page post backs with sinple click, therefore the URL cannot be loaded into the iframe.
Any suggestions?
Hello,
Yes, it took a moment to remember, an attribute was made available:
We've tested it with Hotspots and URLs. It seems to check-out ok.
Regards,
Marc
Yes, it took a moment to remember, an attribute was made available:
Code: Select all
using Steema.TeeChart.Tools.ZoomTool;
ZoomTool zoom1 = new ZoomTool();
WebChart1.Chart.Tools.Add(zoom1);
zoom1.Attributes.NoClickPostback = true;
Regards,
Marc
Steema Support