Top "Ng2-charts" questions

The ng-2 charts library wraps the Charts.

ng2-charts update labels and data

I'm trying to create dynamically a chart using ng2-chart, I get information from an angular 2 service, when I change …

javascript angular chart.js ng2-charts
How do I change the color for ng2-charts?

I have added ng2-charts to my project and display 2 charts - donut & barchart. both are displayed in gray …

angular ng2-charts
NG2-Charts Can't bind to 'datasets' since it isn't a known property of 'canvas'

I am trying to use the basic example of NG2-Charts (http://valor-software.com/ng2-charts/) I copy pasted the …

javascript angular charts chart.js ng2-charts
How can I set the height of a chart with ng2-charts

How do I set a chart's height using ng2-charts? I'm making a line chart, just like the demo on …

angular ng2-charts
Dynamically updated ng2-charts

Is it possible to update any chart from ng2-charts dynamically? I know there are other libraries like angular2-highcharts, …

angular charts ng2-charts
Ng2-charts / chart.js - how to refresh/update chart - angular 4

html: <canvas *ngIf="actionData" baseChart width=800 height=300 [datasets]="lineActionData" [labels]="lineActionLabels" [options]="lineChartOptions" [colors]="lineChartColors" [legend]="lineChartLegend" [chartType]="lineChartType" (…

angular chart.js ng2-charts
ng2-charts - Angular 4 working example

I am trying to use ng2-charts with Angular 4.0 and I would like to have the same thing like here …

angular charts chart.js ng2-charts
how to set chart.js grid color for line chart

I want to change the grids color of my line chart using options field but I have no idea from …

chart.js ng2-charts css-gradients
WARNING in ./node_modules/ng2-charts/fesm5/ng2-charts.js 230:54-72 "export 'ɵɵdefineInjectable' was not found in '@angular/core'

I am using ng2-charts in Angular 7 app and having warning WARNING in ./node_modules/ng2-charts/fesm5/ng2-charts.…

angular angular7 ng2-charts
Chart.js & Angular 2 - ng2-charts Custom on Click Event

I am trying to implement ng2-charts in my Angular 2 project and I was wondering about creating custom onclick events. …

javascript angularjs chart.js ng2-charts