KPIXAxisLabel Property

General info

Label

X-Axis Label

Description

The label that will be displayed on the x-axis of the chart.

Data type

String

Type

Regular

Code

1986

Symbolic name

MODEL_PROP_KPIXAXISLABEL

Lua access code

syslib.model.properties.KPIXAxisLabel

Available since

1.18

Parent classes

BarChart | ParetoChart | XYPlotChart

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.

Examples

Read from or write to the KPIXAxisLabel property.

  • Lua

  • C#

-- Read from the KPIXAxisLabel
syslib.getvalue("<OBJECT FULL PATH>.KPIXAxisLabel")

-- Write to the KPIXAxisLabel
syslib.setvalue("<OBJECT FULL PATH>.KPIXAxisLabel", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the KPIXAxisLabel
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.KPIXAxisLabel"));
// Write to the KPIXAxisLabel
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.KPIXAxisLabel"));