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

Dynamic Removal of Axes Without Random Faults

Thread ID:





62595 Jun 19,2007 02:38 AM UTC Jun 19,2007 09:38 AM UTC WinForms 1
Tags: Chart
Asked On June 19, 2007 02:38 AM UTC

I want to dynamically change the axes of an existing ChartControl instance. Let's say I have 10 axes, and now I want to change to 5. I've tried using the Axes.Remove(), and it works sometimes. Other times it randomly faults in a Syncfusion function RecalculateSizes() during an OnPaint().


Therefore, I must be going about this wrong. In short, I want to re-initialize the control with no axes and no series data in readiness to repopulate with new data.

Any ideas?

Rashidha F [Syncfusion]
Replied On June 19, 2007 09:38 AM UTC

Hi DaveL,

Thanks for using Syncfusion Products.

If your intention is to display multiple axes without overlapping means please use ChartAxesLayoutMode in ChartControl.

The following code snippet which illustrates how to set YAxesLayoutMode in chartControl.


Please have a look at the attached sample.


The above sample shows how to add and delete the axes in chartControl.

Please let me know if you have any more queries.

Thanks and Regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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