When I click on Edit->Edit panels, It suddenly hides from the dashboard.
My code to add panels using javascript is as below:
var panel = mvc.Components.get('dashboard').createNewPanel();
var element1 = new ChartElement({
"id": "element"+id,
"managerid": "customsearch-"+id,
"charting.drilldown": "all",
"charting.chart": "line",
"charting.chart.nullValueMode": "gaps",
"charting.chart.sliceCollapsingThreshold": "0.01",
"charting.layout.splitSeries": "0",
"charting.axisTitleX.visibility": "visible",
"charting.chart.style": "shiny",
"charting.legend.labelStyle.overflowMode": "ellipsisMiddle",
"charting.axisTitleY.visibility": "visible",
"charting.axisX.scale": "linear",
"charting.axisY.scale": "linear",
"charting.legend.placement": "right",
"resizable": true,
//"el": $('#element'+id),
"height": 250,
"width": 250
});//.render();
panel.addChild(element1);
element1.render();
... View more