charting functional