Advertisement
Guest User

highcharts.ide.js

a guest
Nov 27th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. TW.IDE.Widgets.progressgauge = function () {
  2.     this.widgetIconUrl = function() {
  3.         return  "../Common/extensions/HighCharts_ExtensionPackage/ui/highcharts/highcharts.ide.png";
  4.     };
  5.  
  6.  
  7.     this.widgetProperties = function () {
  8. return {
  9. "name": "Hello, World!",
  10. "description": "An example widget.",
  11. "category": ['Charts'],
  12. "properties": {
  13. "DisplayText": {
  14. "baseType": "STRING",
  15. "defaultValue": "Hello, World!",
  16. "isBindingTarget": true
  17. }
  18.  }
  19.  };
  20.  };
  21.  
  22.  this.renderHtml = function () {
  23.  return "<div class=\"widget-content widget-helloWorld\">" +
  24.  "<span class=\"DisplayText\">" + this.getProperty("DisplayText") + "</span>" +
  25.  "</div>";
  26.  };
  27.  
  28.  this.afterSetProperty = function (name, value) {
  29.  return true;
  30.  };
  31. };
  32. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement