Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HS-public
flot
Commits
4e8d8535
Commit
4e8d8535
authored
Mar 31, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move time-specific options into the time plugin.
parent
a1b4afc5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
jquery.flot.js
jquery.flot.js
+1
-7
jquery.flot.time.js
jquery.flot.time.js
+8
-1
No files found.
jquery.flot.js
View file @
4e8d8535
...
@@ -453,7 +453,6 @@ Licensed under the MIT license.
...
@@ -453,7 +453,6 @@ Licensed under the MIT license.
show
:
null
,
// null = auto-detect, true = always, false = never
show
:
null
,
// null = auto-detect, true = always, false = never
position
:
"bottom"
,
// or "top"
position
:
"bottom"
,
// or "top"
mode
:
null
,
// null or "time"
mode
:
null
,
// null or "time"
timezone
:
null
,
// "browser" for local to the client or timezone for timezone-js
font
:
null
,
// null (derived from CSS in placeholder) or object like { size: 11, style: "italic", weight: "bold", family: "sans-serif", variant: "small-caps" }
font
:
null
,
// null (derived from CSS in placeholder) or object like { size: 11, style: "italic", weight: "bold", family: "sans-serif", variant: "small-caps" }
color
:
null
,
// base color, labels, ticks
color
:
null
,
// base color, labels, ticks
tickColor
:
null
,
// possibly different color of ticks, e.g. "rgba(0,0,0,0.15)"
tickColor
:
null
,
// possibly different color of ticks, e.g. "rgba(0,0,0,0.15)"
...
@@ -469,14 +468,9 @@ Licensed under the MIT license.
...
@@ -469,14 +468,9 @@ Licensed under the MIT license.
reserveSpace
:
null
,
// whether to reserve space even if axis isn't shown
reserveSpace
:
null
,
// whether to reserve space even if axis isn't shown
tickLength
:
null
,
// size in pixels of ticks, or "full" for whole line
tickLength
:
null
,
// size in pixels of ticks, or "full" for whole line
alignTicksWithAxis
:
null
,
// axis number or null for no sync
alignTicksWithAxis
:
null
,
// axis number or null for no sync
// mode specific options
tickDecimals
:
null
,
// no. of decimals, null means auto
tickDecimals
:
null
,
// no. of decimals, null means auto
tickSize
:
null
,
// number or [number, "unit"]
tickSize
:
null
,
// number or [number, "unit"]
minTickSize
:
null
,
// number or [number, "unit"]
minTickSize
:
null
// number or [number, "unit"]
monthNames
:
null
,
// list of names of months
timeformat
:
null
,
// format string to use
twelveHourClock
:
false
// 12 or 24 time in time mode
},
},
yaxis
:
{
yaxis
:
{
autoscaleMargin
:
0.02
,
autoscaleMargin
:
0.02
,
...
...
jquery.flot.time.js
View file @
4e8d8535
...
@@ -10,7 +10,14 @@ API.txt for details.
...
@@ -10,7 +10,14 @@ API.txt for details.
(
function
(
$
)
{
(
function
(
$
)
{
var
options
=
{};
var
options
=
{
xaxis
:
{
timezone
:
null
,
// "browser" for local to the client or timezone for timezone-js
timeformat
:
null
,
// format string to use
twelveHourClock
:
false
,
// 12 or 24 time in time mode
monthNames
:
null
// list of names of months
}
};
// round to nearby lower multiple of base
// round to nearby lower multiple of base
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment