I am currently working on generating a box plot based on a basic set of data:
var box_plot = Highcharts.chart(container, {
chart: {
type: 'boxplot'
},
title: {
text: chart_title
},
legend: {
enabled: false
},
series: [{
name: 'Observations',
data: [
[1,2,3,4,5,6,7,8,9,10,11,12,13]
],
tooltip: {
headerFormat: '<em>Experiment No {point.key}</em><br/>'
}
}]
});
return box_plot;
However, upon generating the box plot, it displays the high as 6 and median as 4 instead of the actual values in the dataset where the high is 13 and median is 6.
I would appreciate if someone could point out what I might be doing wrong. Attached are screenshots of the code and the box plot for reference.
Thank You