I am trying to total the value by month name on tooltip.
I have line chart with month name on axis but when i mouse over the points it is showing individual records on chart. i want to show total by Month.
var dateTicks = [];
for (var m = 1; m <= 12; m++)
dateTicks.push(new Date('2015-' + m + '-1'));
var options = {
hAxis: {
format: 'MMMM',
ticks: dateTicks
}
};
Here is here is jsfiddle
any idea.
Here it goes the code, refactor it as you want: