Skip to main content
1-Visitor
August 23, 2019
Solved

Customized XY Chart widget not displaying when viewing mashup

  • August 23, 2019
  • 1 reply
  • 1073 views

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!

Best answer by kahmeng96

Problem solved by refreshing the page!

1 reply

kahmeng961-VisitorAuthor
1-Visitor
August 23, 2019

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!

kahmeng961-VisitorAuthorAnswer
1-Visitor
August 23, 2019

Problem solved by refreshing the page!