Skip to Content
0
Former Member
Jun 13, 2017 at 10:44 AM

Renderer Error is coming

38 Views Last edit Jun 13, 2017 at 10:44 AM 2 rev

Hi,

Actually I want to add some property in viz Frame control. But I am getting renderer error.

I have made a separate js file name legend.js to add more legends in viz Frame chart. Below is the code of legend.js.

jQuery.sap.declare("bslsap.coil.insurance.customcontrols.legend"); console.log(jQuery.sap.require("sap.viz.ui5.controls.VizFrame")); jQuery.sap.declare('sap.viz.ui5.controls.VizFrame'); sap.viz.ui5.controls.VizFrame.extend("bslsap.coil.insurance.customcontrols.legend", {
metadata : {
properties: {
"colorCode":{type : "string"},
"lineStatus":{type : "string"},
"whatever": {type : "any"}
},
renderer: function(oRm, oControl) {

}

}

Error screenshot error.jpg is attached.

Please suggest something. Thanks in Advance.

Somdutt

Attachments

error.jpg (76.0 kB)