chart and graph - Changed Flot version and the default legend location

related to #1217