Ionic Charts Problem

hi guys,
i try to create circle charts with ionic but when i load page console say:

ERROR Error: Uncaught (in promise): Error: "doughnut" is not a registered controller.
Error: "doughnut" is not a registered controller.
    at Registry._get (chart.esm.js:4918)
    at Registry.getController (chart.esm.js:4863)
    at Chart.buildOrUpdateControllers (chart.esm.js:5584)
    at Chart.update (chart.esm.js:5628)
    at new Chart (chart.esm.js:5395)
    at DashBoardPage.doughnutChartMethod (dash-board.page.ts:69)
    at DashBoardPage.ngAfterViewInit (dash-board.page.ts:34)
    at callHook (core.js:2526)
    at callHooks (core.js:2495)
    at executeInitAndCheckHooks (core.js:2446)
    at resolvePromise (zone.js:1255)
    at resolvePromise (zone.js:1209)
    at zone.js:1321
    at ZoneDelegate.invokeTask (zone.js:434)
    at Object.onInvokeTask (core.js:28692)
    at ZoneDelegate.invokeTask (zone.js:433)
    at Zone.runTask (zone.js:205)
    at drainMicroTaskQueue (zone.js:620)
    at ZoneTask.invokeTask [as invoke] (zone.js:520)
    at invokeTask (zone.js:1656)
defaultErrorLogger @ core.js:6479
zone.js:209 Uncaught Error: "doughnut" is not a registered controller.
    at Registry._get (chart.esm.js:4918)
    at Registry.getController (chart.esm.js:4863)
    at Chart.buildOrUpdateControllers (chart.esm.js:5584)
    at Chart.update (chart.esm.js:5628)
    at chart.esm.js:5385
    at Chart._doResize (helpers.segment.js:40)
    at Chart._resize (chart.esm.js:5463)
    at Chart.resize (chart.esm.js:5442)
    at listener (chart.esm.js:5940)
    at chart.esm.js:3179

Hi @giocosc90 ,

Welcome to FCC!

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

thanks but i need help with the project

Hi @giocosc90

When asking a question, it always helps to provide a description of what you are trying to do. I have not had any experience with ionic but there are some folks here who might be able to help if you provide enough details.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.