fix: 'chart' is not a valid view type. Thanks Juan José Scarafía for reporting ! (fixes #1)