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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        67 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        95 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        53 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        108 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        63 views
        0 likes
        Last Post PaulMohn  
        Working...
        X