I have the following chart:
var highchartOptions = {
"chart": {
"type": "arearange",
"renderTo": "chart-container"
},
"series": [{
"marker": {
"symbol": "square"
},
"tooltip": {
"pointFormat": '<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.formattedValue}</b><br/>'
},
"data": [{
"low": 50.5,
"high": 58.4,
"formattedValue": "Between 50.5 and 58.4",
"x": 0
},
{
"low": 56.6,
"high": 61.4,
"formattedValue": "Between 56.6 and 61.4",
"x": 1
},
{
"low": 58,
"high": 61.8,
"formattedValue": "Between 58 and 61.8",
"x": 2
},
{
"low": 60.7,
"high": 65.3,
"formattedValue": "Between 60.7 and 65.3",
"x": 3
},
{
"low": 57.9,
"high": 60.3,
"formattedValue": "Between 57.9 and 60.3",
"x": 4
},
{
"low": 57,
"high": 61.3,
"formattedValue": "Between 57 and 61.3",
"x": 5
},
{
"low": 56.5,
"high": 61.8,
"formattedValue": "Between 56.5 and 61.8",
"x": 6
}
],
"name": "Area"
}]
};
var chart = new Highcharts.Chart(highchartOptions);
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="https://code.highcharts.com/5.0/highcharts.src.js"></script>
<script type="text/javascript" src="https://code.highcharts.com/5.0/highcharts-more.src.js"></script>
<div id='chart-container' style="width: 800px; height: 500px;">
</div>
The problem is that while I have specified a marker with a square symbol I'm getting a circle in the legend. Is there a way to get the legend to match the marker?