Flot graph working