Chartjs-Is there any way to show tooltip by default (without hover pie chart) on chartjs

1👍

As I can understand, you want to always show a tooltip for a given data segment

You can use following code snippet:

var pieChart = $("#chartContainer").dxPieChart({
    dataSource: data,
    series: {}
}).dxPieChart("instance");

pieChart.getSeries().getPointByArg("Second").showTooltip();

See working sample here

And demo here

Leave a comment