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
335
user control that inherits from UltraChart - presets do not work
posted

We have a user control that inherits directly from the UltraChart. Presets (SavePresets and LoadPresets) do not work correctly. SavePresets saves the data correctly to the file (we believe), but LoadPresets does not load the presets. Is this a known issue? Is there a known work around?

We are aware that we could add a UltraChart control to a user control and the presets would work that way, but we have a functionality that exists in the current user control that inherits directly from UltraChart.

Parents
No Data
Reply
  • 335
    posted

    Attached is a sample project demonstrating the issue. UserControlUltraChart inherits directly from UltraChart and does not change or add any functionality. It saves the presets from the first chart and loads them into the second chart. As you can see, many properties are loaded into the second chart, but annotations are not. Other properties may also be missing, but I'm not sure about that.

    ChartPresetsWithInheritedControl.zip
Children