Jacco van den Berg

Results 222 comments of Jacco van den Berg

This is working as designed, when you disable the animation there won't be a onAnimationComplete since there is no animation to begin with. If you want to draw/show custom data...

Looks like the title is drawn on the canvas here, so you might be able to look at it and implement it yourself https://github.com/chartjs/Chart.js/blob/master/src/core/core.scale.js#L1622

You can implement this by using the tick callback: ```js const options = { type: 'line', data: { labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"], datasets: [{ label: '# of...

You can use an array to separate your label in multiline. Then you can use the crossAlign prop to make it the same as in your example. You will need...

~~The scriptable function is evaluated for each individual part, and it is not supported to return an array of colors for each individual slice so the current behaviour is correnct~~...

You can write a custom plugin that will fire when hovering over labels (mind its not perfect, not fully optimized etc): ```js const findLabel = (labels, evt) => { let...

I don't think this is something the majority of users will benefit. So it is better to implement this exernally. You can take 2 approaches to achieve what you want:...

You marked the wrapper as only working with V3 while your documentstion suggests it only works with V2: ![image](https://user-images.githubusercontent.com/39033624/172632473-afacc493-30f4-4fc7-8146-71604254c486.png)

Only thing I can think off by that error is that you dont import the adapter, thats the only way you get that error afaik, when I try it, it...

Nothing gets exported or is configurable for the adapter, I also dont get any TS errors while trying to reproduce it. https://codesandbox.io/s/react-typescript-forked-5s45fs?file=/src/App.tsx Adding an empty declaration sounds kind of hacky...