javascript - Disable series through configuration in highcharts -


i have line chart several series. when viewed @ once chart confusing, have series hidden initially.

i know can programmatically turn off series, there way when initializing chart?

believe there configuration option this.

within series, set "visible = false"

the legend still list series greyed out. , series hidden in chart upon initial display.

example configuration:

series: [{             name: 'hiddenbydefault',             legendindex: 1,             visible: false,             color: '#4572a7',             type: 'spline',             data: [a, b, c],             tooltip: {                 valuesuffix: ' ¥'             }          } 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -