Replies: 1 comment
-
I'm not sure where https://github.com/chartjs/Chart.js/blob/master/types/index.esm.d.ts#L3486-L3490 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Could anybody help me how to add custom plugin in TypeScript Rect project.
I use code from examples for html-legend
const getOrCreateLegendList = (chart: Chart, id: string) => {
there is code from example
};
const htmlLegendPlugin = {
there is code from example
};
BarChart.tsx
TypeScript is compiled with error:
I can fix it if only I add:
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
before htmlLegend:
Can anybody help me. How to add custom plugin
Beta Was this translation helpful? Give feedback.
All reactions