implemented AM charts