question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: I can't import interface of chart options from @carbon/charts-angular

See original GitHub issue

What happened?

I’m trying to import intreface DonutChartOptions for char, but it not exist in npm package @carbon/charts-angular. How I can import DonutChartOptions intreface ?

Version

@carbon/charts-angular”: “^0.58.1”,

Data & options used

import { DonutChartOptions } from '@carbon/charts-angular'

Relevant log output

Module '"@carbon/charts-angular"' has no exported member 'DonutChartOptions'.

Codesandbox example

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dkhrunovcommented, May 20, 2022

@dkhrunov yes, internally within @carbon/charts-angular, @carbon/charts is a dep. That wouldn’t make it show up in your package.json

Got it, thank you!

0reactions
theiliadcommented, May 20, 2022

@dkhrunov yes, internally within @carbon/charts-angular, @carbon/charts is a dep. That wouldn’t make it show up in your package.json

Read more comments on GitHub >

github_iconTop Results From Across the Web

typescript - Can't import interface - Stack Overflow
import { API_URI } from '../config';. I get the error Module has no exported member 'API_URI'. What am I doing wrong?
Read more >
How to import interface for defineProps · Issue #4294 - GitHub
I want to extract the interface of props, but an error will be reported. If the interface component is defined, it will render...
Read more >
Controls and Dashboards | Charts - Google Developers
Controls are user interface widgets (such as category pickers, range sliders, autocompleters. ... Create a pie chart, passing some options
Read more >
How to use react-chartjs-2 with TypeScript?
import type { ChartData, ChartOptions } from 'chart.js'; Copy ...and then used with options and data props: interface LineProps {
Read more >
Using charts - Canva Help Center
To remove a chart component, leave its row blank on the data table. Importing data. Select your chart. You'll then see two options...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found