I am trying to use the basic example of NG2-Charts (http://valor-software.com/ng2-charts/) I copy pasted the HTML part <div style="display: block"> <canvas baseChart [datasets]="barChartData" [labels]="b...
I have started to use angular2 ng2-chart. I have few questions regarding the below image which I created using angular2 ng2-chart but still want to do more customization: Questions: 1) How can I draw a dotted-line between two points when there a...
I am creating a stacked bar chart using ng2-chart which is the Angular-2 version of ChartJs . I am trying to create bar chart with border- radius as mentioned in the attached image, but unable to find the option to achieve this, please suggest me s...
I'm using ng2-charts (https://github.com/valor-software/ng2-charts) to create a linechart for my Angular 2 application. The chart works fine - when you hover over a point, the point automatically changes to white to illustrate that it is being ho...
I would like to create a link to allow the user to download the displayed graph. The way i am currently trying to get it to work is with .toDataUrl is that considered a safe way or is there another way of going about doing this. HTML: <canvas...
I have been working on a project in Angular-2 using the starter project found here, The project worked great till I made some updates to my environment and project. Now the data objects won't bind. It seems like charts.js is not being imported...
I am looking to create the following chart using Ng2-Charts (Angular 2 directives for ChartJs). However I am having difficulty with the logic for the data set. I have researched to find a similar chart (using ng2-charts) but to no avail. Here is...
How can I implement shaded regions (stripped background) on charts using ng2-charts similar to chartjs library implementation of below? http://stackoverflow.com/questions/34860311/chart-js-shaded-regions I have tried to shade regions of datasets c...
I just started using angular2 and i did the tour of heroes tutorial: https://angular.io/docs/ts/latest/tutorial/ I went further and did some custom code and everything is fine. However, when i tried using the ng2-chart module, i couldn't make i...
I want to create a stack graph something like this: Note: Each stack has different value Is it possible with chart js ? If yes what my data should look like ? I have tried this: var data = { labels: ["2018", "2019"], //Wan...
©2020 All rights reserved.