I'm using SmartClient_v121p_2020-04-14_PowerEdition. I'm trying to use the Gauge component and am getting a "TypeError: isc.Gauge is undefined". It shows up in the docs for this version as well as the feature explorer, so I'm not sure why it's not letting me instantiate it. Here is the code sample:
Code:
isc.Window.create({ top: 300, left: 800, width: 400, height: 400, title: "Gauge Test", autoDraw: true, items: [ isc.HLayout.create({ width: "100%", height: "100%", members: [ isc.Gauge.create({ autoDraw: false, width: 400, height: "100%", numMajorTicks: 11, numMinorTicks: 101, value: 45, sectors: [{value: 10, fillColor: "#E33B35"}, {value: 30, fillColor: "#ED5450"}, {value: 60, fillColor: "#FCBE29"}, {value: 90, fillColor: "#0889C6"}, {value: 100, fillColor: "#3AACE1"}] }) ] }) ] })
Comment