added chart api, and chart visuals