I am using version 4 of highcharts and running into quite an annoying issue *which is not reproduced in highcharts version 6.
I attached a photo of my chart, and here is the tooltip code:
Code: Select all
tooltip: {
outside: true,
useHTML: true,
backgroundColor: "rgba(246, 246, 246, 1)",
borderRadius: 30,
borderColor: "#bbbbbb",
borderWidth: 1.5,
style: { opacity: 1, background: "rgba(246, 246, 246, 1)" },
formatter: function () {
return "<div class='chart-tooltip'><span class='tval'>" + this.point.y + "$</span><span class='tlabel'>Sales in USD</span></div>"
}
}
I have used styles and tried multiples things to try and fix this and to no avail.
I'm afraid I have no way to attach the whole code on codepen because of all the dependencies used in the project and so on. Any suggestions?