You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not possible using this plugin but there are lot of solutions debated in chartjs/Chart.js#78. I would recommend you to ask implementation questions on stackoverflow instead and reserve GitHub issues for bug / generic feature requests.
I am trying to make a chart like above. Would you please advise how to approach?
What I am think is
Have a
<canvas>
next to the<p-chart>
//p-chart is how Angular4+primeNG wraps chart.js<div class="dsbd-panel-body" style="position: relative; width:350px; height:300px;">
<canvas id="naples_text" style="z-index: -1; position: absolute; width:300px; height:300px; left: 0px; top: 0px;"></canvas>
<p-chart type="doughnut" [data]="item.data" [options]="item.options" >
</div>
Use Option.animation.onComplete() to write to the canvas
`options: {
...
},
animation: {
onComplete: function () {
}`
The text was updated successfully, but these errors were encountered: