I have a question about Google Charts and label customization.
I'm working with a combo chart, and please note that I'm only able to edit its options, as the data is built by a part of code which is unreachable for me.
What I'm trying to do is to change a serie label in both the legend and the tooltip showed on hover, by just editing the chart options.
I've found out that series have a property called labelInLegend that allows me to edit the displayed label in the legend, but the label inside the tooltip isn't changed as well. Is there a way to achieve it by changing the options or somehow but after the chart has been drawn?
Check this Fiddle to see the problem (ORIGINAL_LABEL is the original serie name, that I want to change to MY_LABEL in both legend and tooltip)
//Series initialization: I CAN'T CHANGE THIS CODE!
google.visualization.arrayToDataTable([
['Month', 'ORIGINAL_LABEL']
]);
//Options initialization: I CAN MODIFY THIS CODE
var options = {
series: {
0:{ labelInLegend: "MY_LABEL"}
}
};