Calling one JavaScript Zoom Method for the different controls from the same button click
<p>How can I Call one JavaScript Zoom Method for the different controls from the same button click.  </p>

<p>Explanation:  My code As below  </p>

<p>Code.ASPX File  </p>

<pre><code>function ZoomOutCapacityTimeliness() {
        var chart = $find('&lt;%= rcCapacityTimeliness.ClientID %&gt;');
        chart.zoomOut();
    }
function ZoomOutBaselineTimeliness() {
        var chart = $find('&lt;%= rcBaselineTimeliness.ClientID %&gt;');
        chart.zoomOut();
    }
function ZoomOutTestTimeliness() {
        var chart = $find('&lt;%= rcTestTimeliness.ClientID %&gt;');
        chart.zoomOut();
    }
</code></pre>

<p><strong>ButtonClick</strong>  </p>

<pre><code>&lt;asp:Button Visible="True" ID="btnZoomOutCapacityTimeLiness" Text="ZoomOut" ToolTip="Save changes"
                        runat="server" OnClientClick="ZoomOutCapacityTimeliness(); return false;" /&gt; 


&lt;asp:Button Visible="True" ID="btnZoomOutBaseliness" Text="ZoomOut" ToolTip="Save changes"
                        runat="server" OnClientClick="ZoomOutBaselineTimeliness(); return false;" /&gt;  


&lt;asp:Button Visible="True" ID="btnZoomOutTestTimeLiness" Text="ZoomOut" ToolTip="Save changes"
                        runat="server" OnClientClick="ZoomOutTestTimeliness(); return false;" /&gt;
</code></pre>
