Comments (4)
You can try it.
https://stackblitz.com/edit/angular-ngchartjs-issues21
from ng-chartjs.
You can't use pie chart with your dataset. You could try bar chart.
[[300,15],500,100]
Because in pie chart, chart.js need to calculate the scale, [300, 15]
can't be calculated with other values in the array.
from ng-chartjs.
@93Alliance worked like a charm, thank you so much!
from ng-chartjs.
I'm facing a problem, when running with --prod flag I get this error in console after following your example @93Alliance :
Any ideas how to fix it? without --prod flag it works pretty good but I need it to be prod valid, thanks!
from ng-chartjs.
Related Issues (20)
- Dynamic line chart HOT 1
- ERROR: An accessor cannot be declared in an ambient context. HOT 5
- An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json HOT 5
- Differences to ng2-charts HOT 3
- Multiple chart components with same id creates severe rendering issues HOT 7
- Show anotations that are in different time range than the chart HOT 7
- Stacked Bar Chart background colors HOT 4
- Chart annotations not visible on Production bulid but works fine in development HOT 13
- No provider for StoreService HOT 21
- Issue with type definitions HOT 1
- Cannot use namespace 'Chart' as a type error HOT 17
- chartjs-plugin-zoom integration HOT 1
- Angular 13 Support HOT 3
- Provide an Angular chartjs adaptor HOT 1
- About Angular v14.x, v15.x support HOT 2
- After moving to angular 14.3.0, [email protected] is not working properly HOT 2
- QmlHelper Help
- @angular/core has not export member InjectionToken HOT 3
- Changing chart type on the fly doesn't work (for me) HOT 3
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 ng-chartjs.