Dear
I am using CanvasJS and I am very much happy about this. Now I need help to calculate average between primary and secondary y-axis on Bar Chart. Suppose I am comparing values between two marks. Two teachers given their marks on a single question. I want to compare both and generate the average and show it either level or index level. I can access only one value using
indexLabelFormatter: function (e){
e.dataPoint.y
}
but cant access both primary and secondary values at a time. I need help please. A sample shown in bellow
|
|_____________
Q2 |____________|_3___________
(avg 4) |_________________________|5
|_________________________
Q1 |_________________________| 5
(avg 4.5)|___________________|4
|_____________________________________