Enrich the flot with the ability to add text into markings.

Use $.isArray instead of instanceof Array; Use full name for parameters.