Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
f50dc4e9
Unverified
Commit
f50dc4e9
authored
Nov 13, 2018
by
Torkel Ödegaard
Committed by
GitHub
Nov 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14053 from grafana/singlestat-fix
fixed singlestat guage ceneterd dot rendering issue
parents
81a5b900
b5921ef2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
public/vendor/flot/jquery.flot.js
+4
-3
No files found.
public/vendor/flot/jquery.flot.js
View file @
f50dc4e9
...
...
@@ -2273,7 +2273,7 @@ Licensed under the MIT license.
function
drawOrphanedPoints
(
series
)
{
/* Filters series data for points with no neighbors before or after
* and plots single 0.5 radius points for them so that they are displayed.
* and plots single 0.5 radius points for them so that they are displayed.
*/
var
abandonedPoints
=
[];
var
beforeX
=
null
;
...
...
@@ -2301,7 +2301,7 @@ Licensed under the MIT license.
}
var
olddatapoints
=
datapoints
.
points
datapoints
.
points
=
abandonedPoints
;
series
.
points
.
radius
=
series
.
lines
.
lineWidth
/
2
;
// plot the orphan points with a radius of lineWidth/2
drawSeriesPoints
(
series
);
...
...
@@ -2310,12 +2310,13 @@ Licensed under the MIT license.
}
function
drawSeries
(
series
)
{
if
(
series
.
lines
.
show
)
if
(
series
.
lines
.
show
)
{
drawSeriesLines
(
series
);
if
(
!
series
.
points
.
show
&&
!
series
.
bars
.
show
)
{
// not necessary if user wants points displayed for everything
drawOrphanedPoints
(
series
);
}
}
if
(
series
.
bars
.
show
)
drawSeriesBars
(
series
);
if
(
series
.
points
.
show
)
...
...
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