I have a html page with a DIV called “co”. The page calls some javascript that creates the highchart and renders it to the div. Code (shortened):
$(function (){
window.chart = new Highcharts.Chart({
chart: {
renderTo: 'co',
polar: false,
type: 'column'
},
.....lots of code......
});
To get the chart to show up in a layout cell I have to attach the url using ajax-content. I would rather render it directly to a cell in dhtmlxlayout using some script. There has to be a better way, I’m just not great at JavaScript. Can anyone help?