added charts api