score:0
Accepted answer
I had the same issue, Add like this to the System.config.js
map: {
'ng2-charts': 'npm:ng2-charts'
}
packages: {
'ng2-charts': {
main: 'ng2-charts.js',
defaultExtension: 'js'
}
}
and then in your module,
import { ChartsModule } from 'ng2-charts/ng2-charts';
Source: stackoverflow.com
Related Query
- Page with multiple chart.js charts to pdf
- How to drill down charts with ChartJS?
- ChartJS - Donut charts with multiple rings
- Chart.js tooltips callback function with pie charts
- Chart.js - Line charts with different colors for each border lines
- Chart.js HTML custom legend issues with doughnut chart
- Add zoom event handler to charts for chartjs with chartjs-plugin-zoom
- Multiple charts in one page with chart.js
- Chart.js Multiple charts with one common legend
- How to create dynamic charts with Django and Chart.js?
- Switching between Charts with chart.js using Buttons
- Issues with react-chartjs-2
- How to achieve the best possible performance with mutable data and real-time charts in React?
- charts are not being show with wicked_pdf
- Multipe doughnut charts on one page with text in center using Chart.js
- chart.js: issue with concatening two line charts
- Chart.js - Draw charts with opposite bars - How to set both the y-axis ends to positive number?
- How do I correctly include Moment.js and Chart.js with RequireJS when I want to create charts with time scales?
- Vue Chart 3 - Doughnut Charts with Text in the Middle (Trouble registering a plugin)
- Impossible to render multiple charts with chart.js
- How can I load multiple Chartjs charts with different data on the same page?
- Chartjs not working with d3 from csv source
- How can I implement Polar area charts with Chart.js and Canvas
- Generate multiple line charts in Django with ChartJS
- Issues with ng2-charts
- Time scale formatting issues with chartjs, mostly unitStepSize
- How to scrape an interactive charts with scrapy?
- Visualizing intervals with range bar charts in chart.js
- Charts in Angular js with JSON Object
- How to integrate charts with js and jQuery?
More Query from same tag
- Chart from chart.js to pdf
- How to target only X or Y value in jsonObj array
- Change point style in Chartjs via external event
- chartjs is issue with large amount data
- Chart.js not deploying properly on Heroku
- Center origin of a Scatter Chart
- I need to build an array of arrays, having trouble conceptualizing
- Error in compilation for chart.js Expected method shorthand in object literal ('{label() {...}}'
- Chart.js x-axis time doesn't show values when using combined (mixed) charts
- set y-axis scale manually in a bar chart using angular-chart.js
- Chart.js: only show labels on x-axis for data points
- HTML minification via Gulp.js is breaking my Chart.js chart in my Angular app
- Chart.js - Plot line graph with X , Y coordinates and connected by line
- How to put dynamic value in Doughnutchart Using chartjs?
- Django and Chartjs template conflict
- Make a Histogram in Chart.js
- Chart.js chart won't animate inside of bootstrap carousel
- How to assign values to different lables(legends) of my dataset of stacked bar chart
- Is there a way to adjust only the bottom padding of a chart's title in Chart.js?
- angular-chart.js doughnut chart : How do I change width of the arc of a doughnut?
- chartjs; cannot read property '0' of undefined
- I'm unsure of how to get vue js and charts js to work together. correctly
- Charts JS: Doughnut chart and hiding tooltip for specific data index within each dataset
- React + Chart.js 2.0: How to put a label inside of a doughnut chart?
- How to highlight a section of a stack in all bars in a stacked barchart in chartjs
- Horizontal stacked bar chart with chart.js
- vanilla js error "cannot set property of undefined" on the chrome console
- Handling data over lapping in chart.js
- Having trouble fetching data from database for chart in ASP .NET Core
- ChartJs - Labelling minimum and maximum value of the Y Axis