ThingWorx Extensibility > Extensions > Custom Charts > Line Chart Widget Extension > Upgrading an Existing Chart to the New Chart Widget Extension
Upgrading an Existing Chart to the New Chart Widget Extension
If you have an existing chart and you want to upgrade to the chart widget extension, use the following steps:
1. Make two copies of your existing mashup containing the chart you wish to replace
2. Name one the “working mashup.” The other is a backup. You may want to name them with “working” and “backup” at the end of their names.
Upgrading Using a Responsive Mashup
1. Cut the existing chart, add a layout with two rows, and paste the chart in one of the rows
2. Add a new type chart in the other row
3. Set up data bindings to match the existing chart
4. Select Data Sources or Fields and other properties as needed
5. Preview the working mashup
6. Verify that both chart graphics look the same
7. Make a copy of the working mashup – don’t save it yet
8. Remove the old chart widget, cut the new chart widget, delete the layout and paste the new chart back in.
Upgrading Using a Static Mashup
1. Resize the original chart
2. Add a new Chart Widget Extension
3. Set up data bindings to match the existing chart
4. Select Data Sources or Fields and other properties as needed
Replacing the Original Mashup
1. Delete the original mashup
2. Save the copy of the working mashup with the same name as the original mashup.
3. Preview the new mashup. If there are any problems with it, delete it, and make a copy of the backup mashup and save it with the same name as the original mashup.
* 
There is not “zero-configuration” capability in the new charts: the series fields must be selected. If you are replacing a chart that has no series or x-axis assignments, they will need to be added to the new chart.
Was this helpful?