ng2-chart tooltip position change option?
问题 I am trying to build a Doughnut Chart using ng2-chart Angular2 directives for Chart.js. This chart.js has default option for tooltip positioning, I want to make tooltip to show outside the chart. Is there a way to make it possible? public doughnutChartOptions = { responsive: true, tooltips:{ mode: 'nearest', } } I expect something like tooltip to be displayed outside the chart, Instead of showing inside the chart; top, bottom and to sides. 回答1: You can use custom property on tooltip like this