fix chart dataset, implement spark line / spark bars
process chart dataset only when necessary