angularjs - Angular NVD3 charts: Unable to hide X and Y axes for stacked area chart -


ran example angular nvd3's 'live edit' area. http://krispo.github.io/angular-nvd3/#/

i opened in plunkr: stacked area chart

as per documentation,you need add following code, hide x , y axes.

showxaxis: false, showyaxis: false, 

you can add after line number 19(in plunkr -> app.js)

after adding above code, doesn't work. chart shows , dissapears.

but same works other charts, except stacked area chart. [i have tried on line-chart, filled-line-chart, bar-chart]

awaiting reply.

ok,

figured 1 out.

zoom enabled chart (app.js -> line:31)

rolling mouse zooms chart, , expects axis enabled (to understand chart better).

disabling axis zoomable chart may not make sense, 1 not understand, portion/section of chart showing after have zoomed in.

thank you. :-)


Comments