Comments (4)
from fusioncharts-dist.
from fusioncharts-dist.
Error :-
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export. import * as Charts from 'fusioncharts/fusioncharts.charts'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.module.ts:15:30 - error TS2307: Cannot find module 'fusioncharts/themes/fusioncharts.theme.fusion'. import * as FusionTheme from 'fusioncharts/themes/fusioncharts.theme.fusion'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/app/app.module.ts:20:61 - error TS2304: Cannot find name 'TimeSeries'. FusionChartsModule.fcRoot(FusionCharts, Charts, FusionTheme,TimeSeries)
package.json file :-
{ "name": "myproject", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "~9.1.1", "@angular/common": "~9.1.1", "@angular/compiler": "~9.1.1", "@angular/core": "~9.1.1", "@angular/forms": "~9.1.1", "@angular/platform-browser": "~9.1.1", "@angular/platform-browser-dynamic": "~9.1.1", "@angular/router": "~9.1.1", "angular-fusioncharts": "^3.0.4", "fusioncharts": "^3.15.1-sr.1", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.2" }, "devDependencies": { "@angular-devkit/build-angular": "~0.901.1", "@angular/cli": "~9.1.1", "@angular/compiler-cli": "~9.1.1", "@angular/language-service": "~9.1.1", "@types/node": "^12.11.1", "@types/jasmine": "~3.5.0", "@types/jasminewd2": "~2.0.3", "codelyzer": "^5.1.2", "jasmine-core": "~3.5.0", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.4.1", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~2.1.0", "karma-jasmine": "~3.0.1", "karma-jasmine-html-reporter": "^1.4.2", "protractor": "~5.4.3", "ts-node": "~8.3.0", "tslint": "~6.1.0", "typescript": "~3.8.3" } } node version:- 10.20.1 please help me to solve this problem thank you
If you are looking to render time series chart you need to import FusionTime else you can skip, please let us know which chart type are you looking to render so that we could suggest accordingly,
from fusioncharts-dist.
NikitaPooja, you probably made the same mistake i did. I was getting that error too because i forgot to install the fusioncharts npm.
npm install angular-fusioncharts --save
npm install fusioncharts --save
you need to run that second one too because angular-fusioncharts depends on the core library to also be installed
from fusioncharts-dist.
Related Issues (20)
- Content Security Policy error HOT 1
- Tooltip when hovering cross line is incorrect with scrollbar2d chart
- Uncaught TypeError: Cannot read property of undefined (reading 'inCanfontSizeWithUnit')
- Uncaught TypeError: Cannot read properties of undefined (reading 'node') HOT 2
- Canβt focus on any data plot when the first legend is disabled
- Cannot access data plots in a chart on Safari browser
- Accessibility Extension reports an error in the console and aria-label was added incorrectly HOT 1
- The word "chart" is announced twice when some charts announce "This is a {chartType} chart" HOT 1
- The legend scroll bar cannot scroll with the focus to show the currently focused legend
- The entire page gets stuck when the scroll bar of the legends is scrolled on mobile devices HOT 2
- When focusing on a line-breaking legend, the text announced by the screen reader contains HTML code
- Screen reader users cannot hear the full text when navigating to truncated labels
- RamdaJs, a dependency of fusioncharts 3.19.0, has a known critical vulnerability HOT 1
- Screen reader does not announce visible target line
- C.C-1.0-B.Y HOT 1
- The "angulargauge" and "thermometer" charts are not being resized properly
- Can't install via npm when running on Vite
- accessibility examples are not working with screen readers in chrome HOT 2
- Multi-series line chart example no longer working correctly with screen readers HOT 2
- Consolidated Tooltip for Stacked Bar chart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fusioncharts-dist.