Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
c3-closed
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Evgeny
c3-closed
Commits
45a0ff4d
Commit
45a0ff4d
authored
Feb 22, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/dogestreet/c3
into dogestreet-master
parents
0075fd5c
16de6188
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
c3.js
c3.js
+6
-1
No files found.
c3.js
View file @
45a0ff4d
...
...
@@ -138,7 +138,12 @@
text
=
"<table class='-tooltip'><tr><th colspan='2'>"
+
title
+
"</th></tr>"
,
i
,
value
,
name
;
for
(
i
=
0
;
i
<
d
.
length
;
i
++
)
{
if
(
!
d
[
i
]
||
!
(
d
[
i
].
value
||
d
[
i
].
value
===
0
))
{
continue
;
}
value
=
isDefined
(
d
[
i
].
value
)
?
(
Math
.
round
(
d
[
i
].
value
*
100
)
/
100
).
toFixed
(
2
)
:
'-'
;
value
=
'-'
;
if
(
isDefined
(
d
[
i
].
value
))
{
value
=
__axis_y_tick_format
((
Math
.
round
(
d
[
i
].
value
*
100
)
/
100
).
toFixed
(
2
));
}
name
=
d
[
i
].
name
;
text
+=
"<tr class='-tooltip-name-"
+
d
[
i
].
id
+
"'><td class='name'><span style='background-color:"
+
color
(
d
[
i
].
id
)
+
"'></span>"
+
name
+
"</td><td class='value'>"
+
value
+
"</td></tr>"
;
}
...
...
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