@thelazylion For your question on the marketplace on how to modifiy the amount of segments at runtime:
-
Get the style of your chart and resize the segments array (if that’s the only thing you want to do, or get the segments array as REFERENCE if you want to modify the appearance).
-
Match the values for the value layers to be be the same size as the new segments. If a value layer has not the correct size it will not be visible.
-
Example change of appearance: show the icons
-
Force rebuild the chart (slow operation as it rebuils every widget, do not call that function every frame as it gets unstable because of caching etc.)
That function call is necessary if you modified the segments or made a change in the appearance that requires adding/removing widgets (e.g. icons, text, …)
- Make simple changes in appearance; colors, textures, offsets etc.
Remember: always “get as reference” or call “set members in …”