Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart Template problems - possibly Serialization

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Chart Template problems - possibly Serialization

    I have an indicator

    It has some serialization code in it for brushes.

    I commented out the serialization methods that are under the actual Brush property getters and setters.The property definition including the getters and setters are not commented out.

    I still have this problem even though all serialization code is commented out in the indicator.

    The problem is that the indicator works but if I save a template and then open the template... then the indicator is no longer displayed - the whole bottom of the chart area (pane) where it should be is not displayed.

    So can this still be a serialization problem? or should I look somewhere else?

    #2
    Hello NinjaCustomer,

    Thank you for the post.

    You do need the serialization code for Brushes to prevent errors when saving/loading, have you checked the control center Log tab to see if there are errors?

    We have a template for the structure you need at the following link, perhaps you are just missing one of the [Attributes]?


    I look forward to being of further assistance.

    Comment


      #3
      just to clear enums don't need to be serialized and neither do primitives?

      Comment


        #4
        Hello NinjaCustomer,

        Correct, enums and other simple types such as int, string, double would not need a converter to be serialized. Complex objects need to be converted to a string so the value can be saved to xml, and then converted back from a string when loading. This is the reason for needing the serialization on some but not other objects.

        I look forward to being of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        576 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X