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.