Want to set label alignment to moving Analog Indicator setpoint

Hi,

I have one label and Moving Analog indicator which is having setpoint value dynamic .

Setpoint value and label value is same, so I want it to be in parallel position.

For visual clarity, I want label and diamond in same alignment.

I am using coordinate container for this.

is it possible to do this?

If you're looking for this,
Moving analog indicator label

then create an expression binding on the label's POSITION.y property.

({../MovingAnalogIndicator.position.y} 
+ {../MovingAnalogIndicator.position.height}
- {this.position.height} / 2
)- (
	{../MovingAnalogIndicator.props.setpointValue} 
  - {../MovingAnalogIndicator.props.minValue}
) / (
	{../MovingAnalogIndicator.props.maxValue} 
  - {../MovingAnalogIndicator.props.minValue}
)
* {../MovingAnalogIndicator.position.height}

Notice that the label position is correct in the centre but seems to move a little extra as the bounding container of the indicator is taller than the indicator itself. I'll leave you to modify the expression to fix that - if it bothers you.

Thanks for your quick response.

I will try this.