ThingWorx Extensibility > Extensions > Custom Charts > Line Chart Widget Extension
Line Chart Widget Extension
Prerequisites
ThingWorx 7 or later
Dependencies
If you are using pre-7.2 versions of the D3 Tree and/or D3 Network extensions, you must upgrade to the latest version(s) before using the Line Chart Widget Extension. This is due to updates to the d3v2 library that are also included in the Line chart widget extension.
The Line Chart widget extension uses NVD3 and D3 third party libraries. These two libraries are dependent on each other and the D3 version 3.5.X is mandatory for the Line Chart to function properly in the Platform. So, it is mandatory for any other ThingWorx extension that needs to work with Line Chart; to have a D3 library with the version 3.5.X. If the extension has any other D3 version, Line Chart cannot be used.
* 
NVD3 is compatible with D3 version 3.5.3 and higher, but not with D3 version 4.X yet.
Introducing Line Chart Widget Extension
The line chart allows you to display a series of data points connected by lines. This data is supplied by a service that emits an infotable.
* 
PTC recommends replacing the Line Chart Widget Extension with the standard Line Chart widget. The standard widget supports theming, multiple data series, grouping, and additional features.
Key enhancements include:
Much faster loading, drawing, and resizing
Improved rendering and anti-aliasing
Displays larger data sets (1000 rows) faster than the built-in Label Chart
Basic animation with duration setting
The line chart will support up to 2000 data points across up to 8 series updated at a rate up to 6 times per minute.
Was this helpful?