Flot options as function.
graph changes done.