Hi all, i am using justgage is t display the gauges in sapui5 fiori i had written the code but to it but still i am getting error that it would be like this TypeError: JustGage is not a constructor,
here is the controller code
onAfterRendering: function () {
this.GauegeDisplay();
},
//Semi-circle gauges
GauegeDisplay: function() {
new JustGage({
id: this.getView().byId("id_Gauge1").sId,
value: 67,
min: 0,
max: 100,
title: "Sample 1 with HTML"
});
new JustGage({
id: this.getView().byId("id_Gauge2").sId,
value: getRandomInt(0, 100),
min: 0,
max: 100,
title: "Sample 2 with FlexBox",
label: "pounds",
view: this.oView,size: 900,
});
new JustGage({
id: this.getView().byId("id_Gauge3").sId,
value: getRandomInt(0, 100),
min: 0,
max: 100,
title: "Shadow effects",
label: "",
shadowOpacity: 1,
shadowSize: 5,
shadowVerticalOffset: 10,
view: this.oView,
size: 400,
});
},
and here is the view code for the abovecontent>
<html:div id="id_Gauge1" stytle="width:25%; height:25%" />
<FlexBox
id="id_Gauge2"
class="gauage"
/>
<l:Grid
id="id_Gauge3"
/>
</content> and also added extra script tags in the index.html files, but it was displaying the same error

any one please help me..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.