How to disable some streams by default in a nvd3 Simple Line Chart?-open source projects novus/nvd3
I have several lines and I know that clicking on the “dot” in the legend will hide/show it.
However, I need to start with some of the lines being disabled and not displayed, and the user will have to click on the dot in the legend to show it on the graph.
(eg. I graph the number of questions on stackoverflow per language, but with C, PHP and javascript disabled by default). the graph only shows python, ruby… but on the legend, you have all the languages, including C, PHP and js with these 3 being disabled.
I haven’t found a method/attribute for each data serie to set the default show/hide status. Am I missing something?