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
1cd2cd94
Commit
1cd2cd94
authored
Jan 03, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #918 from jtward/patch-1
Change evaluation order for calculating percentage.
parents
d7c58b59
f6198f5d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
jquery.flot.pie.js
jquery.flot.pie.js
+2
-2
No files found.
jquery.flot.pie.js
View file @
1cd2cd94
...
...
@@ -267,7 +267,7 @@ More detail and specific examples can be found in the included HTML file.
color
:
data
[
i
].
color
,
label
:
data
[
i
].
label
,
angle
:
data
[
i
].
data
[
0
][
1
]
*
Math
.
PI
*
2
/
total
,
percent
:
data
[
i
].
data
[
0
][
1
]
/
total
*
100
percent
:
data
[
i
].
data
[
0
][
1
]
/
(
total
/
100
)
});
}
}
...
...
@@ -278,7 +278,7 @@ More detail and specific examples can be found in the included HTML file.
color
:
color
,
label
:
options
.
series
.
pie
.
combine
.
label
,
angle
:
combined
*
Math
.
PI
*
2
/
total
,
percent
:
combined
/
total
*
100
percent
:
combined
/
(
total
/
100
)
});
}
...
...
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