require charting library