Simple Line chart from AngularJS array
angularjs, charts, d3.js, html, javascript
Solution
Try this:
http://n3-charts.github.io/line-chart/#/
- built on top of D3.js and AngularJS
- examples included
- super easy to use with angular
Problem
I have a webpage with a table made with `ng-repeat`. Now I want to display the prices ( = `{{amount}}` ) in the array, in a line chart. Code: ``` <table> <tr ng-repeat="tx in data.transactions | filter:filterQuery"> <td>{{tx.date}}</td> <td>{{tx.account}}</td> <td>{{tx.action}}</td> <td>{{tx.amount}}</td> <td>{{tx.categorie}}</td> </tr> </table> ``` After some research I found some examples: D3js ChartJS Highcharts But I can not seem to find a tutorial or example with a simple line chart.