From 680241cbb652ee29088baa6cde2da02002e5ec47 Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Thu, 7 Nov 2013 12:50:35 -0500 Subject: flot-0.8.1-tooltip-0.6.2 --- jquery.flot.symbol.js | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'jquery.flot.symbol.js') diff --git a/jquery.flot.symbol.js b/jquery.flot.symbol.js index a32fe31..cc181ff 100644 --- a/jquery.flot.symbol.js +++ b/jquery.flot.symbol.js @@ -1,14 +1,15 @@ -/* -Flot plugin that adds some extra symbols for plotting points. +/* Flot plugin that adds some extra symbols for plotting points. -The symbols are accessed as strings through the standard symbol -choice: +Copyright (c) 2007-2013 IOLA and Ole Laursen. +Licensed under the MIT license. - series: { - points: { - symbol: "square" // or "diamond", "triangle", "cross" - } - } +The symbols are accessed as strings through the standard symbol options: + + series: { + points: { + symbol: "square" // or "diamond", "triangle", "cross" + } + } */ @@ -51,7 +52,7 @@ choice: ctx.moveTo(x - size, y + size); ctx.lineTo(x + size, y - size); } - } + }; var s = series.points.symbol; if (handlers[s]) -- cgit v1.2.3