Chart examples refactor