Hi all, I have created an XY chart widget for customization based on the built in XY chart widget in ThingWorx and imported it to ThingWorx. The import is successful and I have the new widget in the composer. However, after binding data to the widget, nothing displays when I view the mashup. What baffles me is that I am using the exact same code as the existing XY chart widget so the widget I created should work as well. Attached is the zip file for reference. Any help will be greatly appreciated!
Solved! Go to Solution.
After looking at the log, I am getting this error "ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget Exception: TW.ChartLibrary.removeDiscardedProperties is not a function". However, after I removed this line from my code, nothing is displayed still. Appreciate it if anyone can help!