Added Commenting

Added comments to get_chart_data.php to help better understand the
backend.