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

Zoom in for the whole control?

Thread ID:

Created:

Updated:

Platform:

Replies:

70147 Nov 29,2007 09:26 AM UTC Nov 30,2007 12:47 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Chart
Liang
Asked On November 29, 2007 09:26 AM UTC

Does the ChartWebControl support zoom in or out for the whole control?

And in the help file I see such a snippet and does these work for ChartWebControl?
How if it could?
Thanks!












Rajarajeswari S [Syncfusion]
Replied On November 29, 2007 11:15 AM UTC


Hi Liang,

The Essential chart supports zooming feature in the ChartWebControl. To enable zooming along
X axis, use the EnableXZooming property and to enable zooming along the Y axis, use
EnableYZooming property.

To display the chart points,

* Essential chart includes both Zoom in and Zoom out functionalities.

* Zooming is supported on both X and Y axes.

* It is also possible to zoom on Multiple Y axes.

Please refer the sample browser sample from the below link which illustrates the above:

C:\Documents and Settings\User Name\My
Documents\Syncfusion\EssentialStudio\5.2.0.25\Web\chart.web\Samples\2.0\UserInteraction\Zoom
ingAndScrolling\CS

The above sample demonstrates customizing zooming factors for both X and Y axis at run time using the below code:

// Customizing X axis Zoom Factor

protected void ListBox1_SelectedIndexChanged(object sender, EventArgs e)
{
if (CheckBox1.Checked)
{
this.ChartWebControl1.PrimaryXAxis.ZoomFactor = Convert.ToDouble(this.ListBox1.SelectedValue);
this.ChartWebControl1.Redraw(true);
}
}

// Customizing Y Axis Zoom Factor

protected void ListBox2_SelectedIndexChanged(object sender, EventArgs e)
{
if (CheckBox2.Checked)
{
this.ChartWebControl1.PrimaryYAxis.ZoomFactor = Convert.ToDouble(this.ListBox1.SelectedValue);
this.ChartWebControl1.Redraw(true);
}

}

Please let me know if this helps you out.

Regards,
Raji



Liang
Replied On November 29, 2007 01:20 PM UTC

Thanks for the quick reply.
I will try it ASAP.
I will tell you next day.


Liang
Replied On November 30, 2007 12:47 AM UTC

I think the feature you told me is zooming on the x and y axis.

What I need is: like in IE, when we click "CTRL +" the whole page is zooming in. And I want the whole chartwebcontrol zooming in.

:)

Thanks


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

;