2015-07-13 2 views

ответ

1

Вы можете рассчитать его, используя свойство scale. Вот то, что рисует синий круг в этих точках после завершения анимации.

onAnimationComplete: function() { 
    for (var i = 0; i < this.scale.valuesCount; i++) { 
     // get the poitn position 
     var pointLabelPosition = this.scale.getPointPosition(i, this.scale.calculateCenterOffset(this.scale.max) + 5); 

     // draw a circle at that point 
     this.chart.ctx.beginPath(); 
     this.chart.ctx.arc(pointLabelPosition.x, pointLabelPosition.y, 5, 0, 2 * Math.PI, false); 
     this.chart.ctx.fillStyle = '#77e'; 
     this.chart.ctx.fill(); 
     this.chart.ctx.stroke(); 
    } 
} 

Fiddle - http://jsfiddle.net/1jgmbyb7/

+0

работает как шарм, спасибо !! – RoO