fix(chart): solve crash on hiddenSeries parameter change, remove value and type

`value` and `type` aren't used anymore, since the next version will be a major one.