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
2d2ca32a
Commit
2d2ca32a
authored
Apr 04, 2011
by
Ole Laursen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem with null values and pie plugin (patch by gcruxifix)
parent
3c1e90be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
NEWS.txt
NEWS.txt
+10
-0
jquery.flot.pie.js
jquery.flot.pie.js
+3
-2
No files found.
NEWS.txt
View file @
2d2ca32a
Flot x.x
--------
Bug fixes
- Fix problem with null values and pie plugin (patch by gcruxifix,
issue 500).
Flot 0.7
--------
...
...
jquery.flot.pie.js
View file @
2d2ca32a
...
...
@@ -391,7 +391,7 @@ More detail and specific examples can be found in the included HTML file.
function
drawSlice
(
angle
,
color
,
fill
)
{
if
(
angle
<=
0
)
if
(
angle
<=
0
||
isNaN
(
angle
)
)
return
;
if
(
fill
)
...
...
@@ -682,7 +682,8 @@ More detail and specific examples can be found in the included HTML file.
function
drawHighlight
(
series
)
{
if
(
series
.
angle
<
0
)
return
;
if
(
series
.
angle
<=
0
||
isNaN
(
angle
))
return
;
//octx.fillStyle = parseColor(options.series.pie.highlight.color).scale(null, null, null, options.series.pie.highlight.opacity).toString();
octx
.
fillStyle
=
"rgba(255, 255, 255, "
+
options
.
series
.
pie
.
highlight
.
opacity
+
")"
;
// this is temporary until we have access to parseColor
...
...
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