From 8760ee77e9a14e2768d261916a2bf4faa55f3e77 Mon Sep 17 00:00:00 2001 From: David Schnur Date: Wed, 12 Dec 2012 22:14:17 -0500 Subject: [PATCH] Added undocumented labelFormatter null behavior. --- API.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/API.md b/API.md index 84bf209..2215c2f 100644 --- a/API.md +++ b/API.md @@ -173,6 +173,9 @@ labelFormatter: function(label, series) { } ``` +To prevent a series from showing up in the legend, simply have the function +return null. + "noColumns" is the number of columns to divide the legend table into. "position" specifies the overall placement of the legend within the plot (top-right, top-left, etc.) and margin the distance to the plot