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
80851c0d
Commit
80851c0d
authored
Oct 14, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1107 from trask/undefined-axis-options-fix
Handle undefined axisOptions in 0.9-work
parents
5ae2236c
5e3ba78f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
jquery.flot.js
jquery.flot.js
+4
-4
No files found.
jquery.flot.js
View file @
80851c0d
...
@@ -867,10 +867,10 @@ Licensed under the MIT license.
...
@@ -867,10 +867,10 @@ Licensed under the MIT license.
// Compatibility with markrcote/flot-axislabels
// Compatibility with markrcote/flot-axislabels
if
(
!
axisOptions
.
label
&&
axisOptions
.
axisLabel
)
{
if
(
axisOptions
&&
!
axisOptions
.
label
&&
axisOptions
.
axisLabel
)
{
axisOptions
.
label
=
axisOptions
.
axisLabel
;
axisOptions
.
label
=
axisOptions
.
axisLabel
;
}
}
if
(
!
axisOptions
.
labelPadding
&&
axisOptions
.
axisLabelPadding
)
{
if
(
axisOptions
&&
!
axisOptions
.
labelPadding
&&
axisOptions
.
axisLabelPadding
)
{
axisOptions
.
labelPadding
=
axisOptions
.
axisLabelPadding
;
axisOptions
.
labelPadding
=
axisOptions
.
axisLabelPadding
;
}
}
...
@@ -899,10 +899,10 @@ Licensed under the MIT license.
...
@@ -899,10 +899,10 @@ Licensed under the MIT license.
// Compatibility with markrcote/flot-axislabels
// Compatibility with markrcote/flot-axislabels
if
(
!
axisOptions
.
label
&&
axisOptions
.
axisLabel
)
{
if
(
axisOptions
&&
!
axisOptions
.
label
&&
axisOptions
.
axisLabel
)
{
axisOptions
.
label
=
axisOptions
.
axisLabel
;
axisOptions
.
label
=
axisOptions
.
axisLabel
;
}
}
if
(
!
axisOptions
.
labelPadding
&&
axisOptions
.
axisLabelPadding
)
{
if
(
axisOptions
&&
!
axisOptions
.
labelPadding
&&
axisOptions
.
axisLabelPadding
)
{
axisOptions
.
labelPadding
=
axisOptions
.
axisLabelPadding
;
axisOptions
.
labelPadding
=
axisOptions
.
axisLabelPadding
;
}
}
...
...
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