I just copy paste the demo from HighChart to my Developer Edition platform below.Refer to here for High chart demo.
<apex:page sidebar="false" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<apex:includeScript value="{!URLFOR($Resource.HighChart_5,'/api/js/jquery-1.11.3.min.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.HighChart_5,'/code/js/highcharts.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.HighChart_5,'/code/js/highcharts-more.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.HighChart_5,'/code/js/modules/exporting.js')}"/>
<script type="text/javascript">
$(function () {
var chart;
$(document).ready(function() {
chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false
},
title: {
text: 'Browser market shares at a specific website, 2010'
},
tooltip: {
pointFormat: '{series.name}: <b>{point.percentage}%</b>',
percentageDecimals: 1
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: 'pointer',
dataLabels: {
enabled: true,
color: '#000000',
connectorColor: '#000000',
formatter: function() {
return '<b>'+ this.point.name +'</b>: '+ this.percentage +' %';
}
}
}
},
series: [{
type: 'pie',
name: 'Browser share',
data: [
['Firefox', 45.0],
['IE', 26.8],
{
name: 'Chrome',
y: 12.8,
sliced: true,
selected: true
},
['Safari', 8.5],
['Opera', 6.2],
['Others', 0.7]
]
}]
});
});
});
</script>
</head>
<body>
<div id="container" style="width:600px; height: 400px; margin: 0 auto"></div>
</body>
</html>
</apex:page>
The issue is it generated black blank container without any chart.I check Developer console and there is no javascript error except for this:
Unrecognized Content-Security-Policy directive 'reflected-xss'. Unrecognized Content-Security-Policy directive 'referrer'.
What step that I missed?