Search code examples
highchartsdotnethighcharts

High Charts add variance instead of values


Hi am using high charts in my website and they are just awesome.I wold like to know whether there is any option to include variance in graph instead of the original values like the one in below snipenter image description here.

instead of displaying the values of each bars i would like to display the difference between two.Is this possible?Thanks in advance


Solution

  • You need to enabled dataLabels for one series, and disable for second one. Then in dataLabels.formatter you need to compare values, and return value you want.