Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1401
Clone UltraWinChart ( Win Forms)
posted

Can the ultraWinChart be cloned like.....

UltraChart  myChart = new UltraChart();

object myClonedChartobject = myChart.Clone();

I observed only few objects like Series, Layers can be cloned....

But can't the whole chart control be cloned.

If not please provide some work around....I tried many options to clone but all were failed....

I tried....like  PropertyInfo[] props = this.GetType().PropertyInfo();

object obj = Activator.CreateInstance(........so on....

But the control was not being created.

Please provide a way to work out this...

Thanks in advance

Parents
No Data
Reply
  • 28496
    Offline posted

    the chart can be fully serialized and deserialized using the SavePreset and LoadPreset methods.

Children
No Data