How to add symbols in angular charts?

0๐Ÿ‘

โœ…

By simply inserting chart option in your html markup and specifying template for your tooltip will work for you.

<canvas id="doughnut" class="chart chart-doughnut"
  chart-data="data" chart-labels="labels"
        chart-options="{tooltipTemplate: '<%=label%>:<%=value%>%'}">
</canvas>

Here is the working CodePen for same.

Leave a comment