javascript - Angular NVD3: How to access the chart object defined in HTML -


i have defined multibar chart using <nvd3> directive , passing data , options defined in controller:

<nvd3 options="vm.options" data="vm.data"></nvd3> 

now want somehow access chart object created manipulations, example, obtain xaxis scaling function.

if chart defined within javascript have object:

var chart = nv.models.multibarchart()       .stacked(false)       .showcontrols(false);  // , can these scaling functions   var yvaluescale = chart.yaxis.scale();   var xvaluescale = chart.xaxis.scale(); 

is possible them if chart defined in html? in advance.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -