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
- Chartjs v2 stroke shadow
- How to control visibility of canvas image via button outside the canvas(ChartJs)?
- how to highlight bar in ChartJS with onkeyup Input
- Add Link to X-Label Chart.js
- Chart.js is it possible to style the labels?
- How to change background color in ng2-charts
- How to have chart.js automatically build x-axis labels based on x,y dataset?
- Chart.js (Radar Chart) different scaleLineColor for each scaleLine
- Copy div content to dynamically create a modal window:possible?
- Show multiple line graphs on the same chart using chart JS
- Display values in Pareto chart using Chart.js 2.0.2
- ChartJS date reformatting for use?
- Dynamically create chart with Chart.js and PHP
- Using Charts.js with react
- React-Chartjs-2 and Chartjs v3:Option Property
- How can I add new data points to an existing chart with chart.js?
- Destroy chart.js bar graph to redraw other graph in same <canvas>
- Getting the HTML code of a chart created by chart.js
- chartjs: doughnut graph onHover get labels and data
- React render function preventing creating new canvas element on each time invoked - Charts.js
- Chart.js after ajax refresh there are two charts in the same container (new and old)
- Reload chart on api call
- Adding a second custom tooltip for charts in ChartsJs
- Sum of visible Points in ChartJs Bar Chart
- Have shading begin at 0 but not scale
- Method inside Activate in Aurelia
- Chart.js render problem when routing Angular
- angular-charts 1.0.0 not working like inner directive when element
- Getting x,y values from chart click event
- Chart.js animation triggered only on hover?