Can somebody please explain how to properly add suffix to the display value (i.e. %) if the range has control (slider) and different icons (Status/Graphics) for sub-ranges?
I managed to make it work, but still confused and really it doesn't make much sense to me.
Where do I set the suffix? For the control (slider) or the Status/Graphics?
For the control (slider) I just set: Suffix = "%"
For Status/Graphics sub-ranges I set AdditionalData, it works, but in the device range configuration the Suffix is $%0$
As I said - it works, but I don't understand. What's the meaning of HasAdditionalData, especially for the control?
I managed to make it work, but still confused and really it doesn't make much sense to me.
Where do I set the suffix? For the control (slider) or the Status/Graphics?
For the control (slider) I just set: Suffix = "%"
For Status/Graphics sub-ranges I set AdditionalData, it works, but in the device range configuration the Suffix is $%0$
Code:
statusGraphic.TargetRange.Suffix = HsFeature.GetAdditionalDataToken(0); statusGraphic.HasAdditionalData = true; AdditionalStatusData = new List<string>() { "%" };
As I said - it works, but I don't understand. What's the meaning of HasAdditionalData, especially for the control?
For the control (slider) | For Status/Graphics sub-ranges |
Comment