From dd8b499f38d875924d1ae35e0e64d625b00772bd Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Wed, 29 Oct 2008 12:10:49 +0000 Subject: [PATCH] Clear up a couple of things related to not showing lines git-svn-id: https://flot.googlecode.com/svn/trunk@101 1e0a6537-2640-0410-bfb7-f154510ff394 --- API.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/API.txt b/API.txt index f2f59df..bde120a 100644 --- a/API.txt +++ b/API.txt @@ -409,15 +409,20 @@ Customizing the data series The most important options are "lines", "points" and "bars" that specifies whether and how lines, points and bars should be shown for -each data series. You can specify them independently of each other, -and Flot will happily draw each of them in turn, e.g. +each data series. In case you don't specify anything at all, Flot will +default to showing lines (you can turn this off with +lines: { show: false}). You can specify the various types +independently of each other, and Flot will happily draw each of them +in turn, e.g. var options = { lines: { show: true, fill: true, fillColor: "rgba(255, 255, 255, 0.8)" }, points: { show: true, fill: false } }; -"lineWidth" is the thickness of the line or outline in pixels. +"lineWidth" is the thickness of the line or outline in pixels. You can +set it to 0 to prevent a line or outline from being drawn; this will +also hide the shadow. "fill" is whether the shape should be filled. For lines, this produces area graphs. You can use "fillColor" to specify the color of the fill.