[Chartjs]-Dynamically creating graphs with jQuery

3👍

Working jsfiddle – http://jsfiddle.net/6cgo4opg/45/

Fixed the below

$a_pie = $a_base.].replace ( /[^\d.]/g, '' );;

should be

$a_pie = $a_base.replace(/[^\d.]/g, '');

and

$this.children('.stocks-pie'), (function(index, element){   

should be

$this.children('.stocks-pie').each(function (index, element) {

and

<div class=".stocks-data">

should be

<div class="stocks-data">

Leave a comment