angular-chart.js icon indicating copy to clipboard operation
angular-chart.js copied to clipboard

Tooltip

Open happyi opened this issue 10 years ago • 5 comments

how to show Tooltip every point all the time

happyi avatar Jan 07 '16 03:01 happyi

In your controller:

$scope.chartOptions = {
        onAnimationComplete: function () {
            this.showTooltip(this.segments, true);
        }
}

Your html should now look something like this:

<canvas id="doughnut" class="chart-doughnut" chart-data="data" chart-labels="labels" chart-options="chartOptions" chart-legend="false">
</canvas>

gkampjes avatar Jan 14 '16 00:01 gkampjes

Thank you @gkampjes (adding you as a collaborator :))

jtblin avatar Jan 26 '16 08:01 jtblin

how about a line

happyi avatar Mar 28 '16 09:03 happyi

Use points I think.

jtblin avatar Mar 29 '16 04:03 jtblin

doesnt work for me either: https://jsfiddle.net/d4nh/psjzgdhw/2/

D4NH avatar Sep 19 '16 06:09 D4NH