In NVD3 you can have charts such as the one at : http://nvd3.org/ghpages/stackedArea.html
The default view when you open it up is 'Stacked'. Is it possible to have the default view set as 'Expanded'?
In NVD3 you can have charts such as the one at : http://nvd3.org/ghpages/stackedArea.html
The default view when you open it up is 'Stacked'. Is it possible to have the default view set as 'Expanded'?
If you are using the latest version of NVD3 try using chart.style('expand');
to set Expanded as you default view.
Here is the full list of options available - 'stack', 'stream', 'stream-center', 'expand', 'stack_percent'
Source for the list. I have only tested 'expand' for now, so I am hoping the rest would also work as it should :)
Hope it helps.
chart.style
and chart.offset` are not functions errors –
Pigskin © 2022 - 2024 — McMap. All rights reserved.