I am currently using Highcharts library for displaying data in graphical format. In current scenario i need to show column chart(current values) with a line showing the average values for the corresponding column. also i need to show upward and downward arrows depending if the actual value is greater than the average value and downwards arrow otherwise. i have average and actual values in 2 different series.
most of the things i have done however i am not able to get the values of actual vs average in the plotoption section of the highchart. once i have these values, i can decide and show correct arrow over the column.
can someone help?
plotOptions: {
column: {
dataLabels: {
enabled: true,
useHTML: true,
shared:true,
formatter: function(args) {
//trying to put condition here for the upward and downward arrow.
return '<div ><div class="tolerenceDown" ></div></div>';
},