Api for prgram chart