You are here: Start » AVL.NET » ProfileBox.ProfileContainer.SetData Method
ProfileBox.ProfileContainer.SetData Method
Sets the profile data to be shown in the control.
| Namespace: | HMI.Controls |
|---|---|
| Assembly: | HMI.Controls.dll |
Syntax
public void SetData( float[] data, double xOffset, double xScale )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
| data | float | Profile data (values of the profile points). | |||
| xOffset | double | Offset of profile x scale coordinates (position of the first profile point on the horizontal scale). | |||
| xScale | double | Scaling factor of the profile x scale coordinates (horizontal scale gap width between consecutive profile points). |
