initial implementation of working charts
updated chart - working