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
Post a Comment