PenIsTimeSeries Property
General info
Label |
Is Time Series |
Description |
Determines how the xy data is correlated on the Plot. If 'Is time series' is true, then x values are interpolated to match the x value; otherwise, x and y pairs are determined based on order received from the data source. |
Data type |
Boolean |
Default value |
true |
Type |
Regular |
Code |
2187 |
Symbolic name |
MODEL_PROP_PENISTIMESERIES |
Lua access code |
syslib.model.properties.PenIsTimeSeries |
Available since |
1.20 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_HAS_DEFAULT | The property has a default value as standard. |
Examples
Read from or write to the PenIsTimeSeries property.
-- Read from the PenIsTimeSeries
syslib.getvalue("<OBJECT FULL PATH>.KPIXYPlotPenSettings.PenIsTimeSeries")
-- Write to the PenIsTimeSeries
syslib.setvalue("<OBJECT FULL PATH>.KPIXYPlotPenSettings.PenIsTimeSeries", true)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the PenIsTimeSeries
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.KPIXYPlotPenSettings.PenIsTimeSeries"));
// Write to the PenIsTimeSeries
Result result = sli.WriteValue(sc, new WriteItem(true, "<OBJECT FULL PATH>.KPIXYPlotPenSettings.PenIsTimeSeries"));