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. Image for the cookie policy date
close icon

Avoid elements for clientside functions (map, area, events, ...)

Hi,

how can I switch off the client side functions & elements completely? I don't want to use any of these so I dont need the map & area etc.

See my screenshot for explanation.

Thank you


chart_no_clientside_232dbc61.zip

3 Replies

VK Vijayabharathi K Syncfusion Team June 25, 2012 06:39 AM UTC

Hi Matthias,

 

Thanks for using Syncfusion products.

 

We suggest you to disable the below properties to switch off the client side  function and user interaction feature with chart web control.  

[C#]

    //Default value is false

            this.ChartWebControl1.CalcRegions = false;

            this.ChartWebControl1.ShowToolTips = false;

            this.ChartWebControl1.EnableXZooming = false;

            this.ChartWebControl1.EnableYZooming = false;

 

 Also if your intention is to remove the map tag of chart, we can achieve this by sample level through jquery. We can remove the map element of chart by tag name. Please refer the below code snippet to achieve this,

 

[ASPX]

<script type ="text/javascript">

        window.onload = function () {         

            $('map[name="MainContent_ChartWebControl1MAP_REGION"]').remove();

        }

</script>

 

Please let us know if any concerns.

 

Regards,

Vijayabharathi



MM Matthias Max September 5, 2012 08:41 AM UTC

Hi, thanks, will try this!


VK Vijayabharathi K Syncfusion Team September 6, 2012 07:04 AM UTC

Hi Matthias,

Thanks for the update. Please let us know if you have any other concerns.

Regards,

Vijayabharathi


Loader.
Live Chat Icon For mobile
Up arrow icon