@@ -25,24 +25,33 @@ ChartTracer.prototype = $.extend(true, Object.create(Tracer.prototype), {
2525 backgroundColor : color ,
2626 data : C
2727 } ]
28+ } ,
29+ options : {
30+ scales : {
31+ yAxes : [ {
32+ ticks : {
33+ beginAtZero :true
34+ }
35+ } ]
36+ }
2837 }
2938 } ;
3039 this . chart = this . capsule . chart = new Chart ( this . $wrapper , data ) ;
3140 } ,
3241 _notify : function ( s , v ) {
33- this . tm . pushStep ( this . capsule , { type : 'notify' , s : s , v : v } ) ;
42+ this . manager . pushStep ( this . capsule , { type : 'notify' , s : s , v : v } ) ;
3443 return this ;
3544 } ,
3645 _denotify : function ( s ) {
37- this . tm . pushStep ( this . capsule , { type : 'denotify' , s : s } ) ;
46+ this . manager . pushStep ( this . capsule , { type : 'denotify' , s : s } ) ;
3847 return this ;
3948 } ,
4049 _select : function ( s , e ) {
41- this . tm . pushStep ( this . capsule , { type : 'select' , s : s , e : e } ) ;
50+ this . manager . pushStep ( this . capsule , { type : 'select' , s : s , e : e } ) ;
4251 return this ;
4352 } ,
4453 _deselect : function ( s , e ) {
45- this . tm . pushStep ( this . capsule , { type : 'deselect' , s : s , e : e } ) ;
54+ this . manager . pushStep ( this . capsule , { type : 'deselect' , s : s , e : e } ) ;
4655 return this ;
4756 } ,
4857 processStep : function ( step , options ) {
0 commit comments