ThingWorx Extensibility > Extensions > Custom Charts > Line Chart Widget Extension > Line Chart Widget Extension Properties
Line Chart Widget Extension Properties
The properties of the Line Chart widget extension follow:
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
SingleDataSource
Use a single data source for all series.
BOOLEAN
True
N
N
NumberOfSeries
Defined number of series in the chart. Can have up to eight series.
NUMBER
1
N
N
Data
Data source. This property is not displayed if SingleDataSeries is unchecked.
INFOTABLE
n/a
Y
N
ChartTitle
The title of the chart.
STRING
n/a
Y
Y
ShowAxisLabels
Display major axis labels.
BOOLEAN
True
N
N
X-AxisLabel
Text label for the x-axis.
STRING
X Axis
N
Y
X-AxisField
The property that displays on the bottom of the x-axis on the chart.
MENUNAME
n/a
Y
N
Y-AxisLabel
Text label for the y-axis.
STRING
Y Axis
N
Y
LabelAngle
Tilts values diagonally to a degree. Useful for long values on the x-axis.
INTEGER
0
N
N
Interpolation
The way lines are drawn in the chart. Options: Linear: a straight line from each data point.Smooth: Curved lines.Less Smooth: Curved lines, but less smooth.Stepped: staircase format, all lines are vertical or horizontal.
STRING
Linear
N
N
Duration (ms)
The length/speed of transitions when values change in the chart.
NUMBER
500
N
N
ChartBodyStyle
The overall style of the chart. The default is transparent.
STYLEDEFINITION
(transparent)
N
N
ChartTitleStyle
The style of the chart title (at the top).
STYLEDEFINITION
N
N
ChartAxisStyle
The style of the axis grid and outline.
STYLEDEFINITION
N
N
ChartTitleAlignment
The alignment for the title of the chart. Options: Left, Center, and Right.
STRING
Center
N
N
ShowZoomStrip
Display zoom control below the chart.
* 
This property is only available in static layouts.
BOOLEAN
False
N
N
ShowInteractiveGuideline
Displays an advanced tooltip with series data details under user’s mouse.
BOOLEAN
False
N
N
FillArea
Fill the area below the line with a translucent color that matches the series.
BOOLEAN
False
N
N
ShowLegend
Display or hide the legend for multiple series. The legend displays at the top of the chart, and the chart will move if the legend gets larger.
BOOLEAN
True
N
N
AutoScale
Automatically scale the chart to see all data on the y-axis.
BOOLEAN
True
N
N
X-AxisIntervals
Preferred x-axis intervals. Options: Auto and One Per Row.
STRING
Auto
N
N
Show X-AxisLabels
Displays the x-axis labels.
BOOLEAN
True
N
N
Show Y-AxisMinMax
Displays the y-axis min and max values (highest and lowest data points).
BOOLEAN
True
N
N
Y-AxisIntervals
Preferred y-axis intervals. Options: Auto and One-Per-Row.
STRING
Auto
N
N
Y-AxisMinimum
The minimum range for the y-axis.
* 
This setting sets a floor value for data that might all start at a higher value. Values below the minimum will still display.
NUMBER
0
Y
N
Y-AxisMaximum
The maximum value for the y-axis.
* 
Values above the maximum will still be displayed.
NUMBER
100
Y
N
Margins
Additional label margin pixel values. This creates a buffer outside of the chart (top, left, bottom, right). This can be useful for displaying long values.
STRING
0,0,0,0
N
DataFieldn
Series data fieldn.
MENUNAME
n/a
Y
N
DataLabeln
The label for data fieldn.
STRING
n/a
Y
Y
SeriesStylen
The style for series stylen
STYLEDEFINITION
n/a
N
N
ShowDataLoading
Display the data as it loads.
BOOLEAN
True
N
N
DoubleClicked
An event is fired when the chart is double-clicked.
n/a
Y
N
Z-index
The ordering for layering widgets.
NUMBER
10
N
N
Visible
Display the chart in run time.
BOOLEAN
True
Y
N
Was this helpful?