Leopd Leopd - 1 year ago 130
Javascript Question

NVD3 - removing options for stackedAreaChart

I'm using the stacked area chart in NVD3, but I don't want it to show the three options for Stacked, Stream, and Expanded.

Is there a flag I can pass to remove the UI element to switch between them and pick which one to use?

enter image description here

Answer Source

You can pass .showControls(false) to the model to disable this.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download