#1 I want here to center the two circle white and yellow.
The Nodes with ticks and labels in the top will be a little bit bellow.
The white circle should hide the yellow circle regardless the number of ticks.
Any idea how to achive this ?
#2 Any hint to add the resizing to the whole node and its sub elements ? It’s not consistent (try to resize)
For the resizing (#2) I don’t have a specific behavior. I just want it to be consistent.
Should I add scale binding to all the element (shape, panel …) and overwrite then theirs own scale when the user resize the object ?
The spot panel’s main element is the white circle.
The main graduated shape, named “ARC”, has a final “M” command in its geometry string to make the width/height the same. This allows it to scale and align better.
The graduated panel is aligned to the white circle using alignmentFocusName: “ARC” so that the ticks/text don’t affect how it aligns relative to the Spot panel’s main element.
The radii of the various circle/arc shapes depend on the innerRad and outerRad variables.
You can add rescaling and the slider actions to this.