mutable hcOptions = {
if (!latest || !latest.value) return null;
const opts = latest.value;
opts.xAxis.events = {
afterSetExtremes: function(event) {
const { max, min } = event;
mutable minMax = { max, min };
}
};
opts.tooltip.formatter = function() {
return (
'The value for <b>' + new Date(this.x) + '</b> is <b>' + this.y + '</b>'
);
};
return opts;
}