Commit dd8b499f authored by olau@iola.dk's avatar olau@iola.dk

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
parent df7faa75
...@@ -409,15 +409,20 @@ Customizing the data series ...@@ -409,15 +409,20 @@ Customizing the data series
The most important options are "lines", "points" and "bars" that The most important options are "lines", "points" and "bars" that
specifies whether and how lines, points and bars should be shown for specifies whether and how lines, points and bars should be shown for
each data series. You can specify them independently of each other, each data series. In case you don't specify anything at all, Flot will
and Flot will happily draw each of them in turn, e.g. 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 = { var options = {
lines: { show: true, fill: true, fillColor: "rgba(255, 255, 255, 0.8)" }, lines: { show: true, fill: true, fillColor: "rgba(255, 255, 255, 0.8)" },
points: { show: true, fill: false } 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 "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. area graphs. You can use "fillColor" to specify the color of the fill.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment