I have Chart.js and chart data in this format: How can I parse my data to get a classic pie chart like this: I have tried to follow the document ...
I have Chart.js and chart data in this format: How can I parse my data to get a classic pie chart like this: I have tried to follow the document ...
I am trying to implement chartJS in my angular project and I am using ng2-charts. When I follow the documentation written here: https://valor-software ...
I am working on a corporate project using Angular 14, ChartJS (4.1.2), and NG2-Charts (4.1.1). and I am having some trouble when trying to change the ...
I have upgraded my chartjs and ng2-charts from 2-* to latest version. After updating the packages faced some issues in the properties and fixed those ...
I'm trying to set default configuration with ng2-charts. @NgModule({ ... imports: [ NgChartsModule.forRoot({ defaults: { ...
I am using Chart JS ,try to make click event in bar chart labels,click event not working below the x axis and I try some other achieve this in click e ...
I am currently working on updating the angular version of a project. It was v10 and I updated to v11. Fixed many errors, but ng2-charts keep throwing ...
I am using NG2-Charts library with Angular 14. The issue is that the colors in chart keep flickering when i am passing the data through a method. Her ...
public barChartOptions: any = { responsive: true, maintainAspectRatio: false, scales: { yAxes: [ { grid: { display: ...
I would like to create an Polar Area Chart with equal size sections (not based on the actual value) like this with ng2-charts: Example I thought that ...
The bar chart I have is populated from an API call. The API accepts a filter therefore, I would like for the chart data to be updated when an option i ...
I try to create a crosshair with the annotation plugin, I manage to modify the value of my line but it does not update on the chart. Here is an overv ...
I'm trying to create a simple line chart with ng2-charts. If I use hard coded data for my data, it works fine. I'm trying to use a variable which is a ...
This is my demo. Output: I want line is follow right yAxes I set yAxes by ID but it's not working. The percent line is still follow left yAxes. wh ...
I prepared this eg in stackblitz - https://stackblitz.com/edit/github-nlvlrr-mwudnj?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html,t ...
I did following steps: npm install ng2-charts@next --save It installed npm install chart.js --save It installed npm install --save ...
I have a question regarding ng2 charts. This is my component.ts file. This is my component.html file This is how it looks like ng2 chart I want ...
I need some help figuring out how to set config options on my doughnut chart using ng2-charts. In particular, I would like to set the cutout property ...
I'm updating from chartjs 2.9.4 to 3.8.0 and I'm getting an error setting options.scales.x.time.unit parameter on an ChartConfiguration object. Whe ...
I want to display linechart but can't apply logic for outside range. If blood sugar level below 120 then should be highlight that point in orange dot. ...