javascript - Get Selected Value of Area Chart -


i'm having problems writing simple directive updates d3 area chart using angularjs.

here demo

this model:

app.controller('chartcontroller', ['$scope' , 'chartservice', function ($scope, chartservice) {      $scope.data = chartservice; }]); 

when select range using sub chart, want values of selected date in label or input.

following code worked me.

brush.extent() 

may


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -