Create chart.c