basic chart framework