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
charts
c3-closed
Commits
cb84f064
Commit
cb84f064
authored
Aug 21, 2013
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify tooltip style
parent
df055174
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
c3.css
c3.css
+8
-2
c3.js
c3.js
+1
-1
No files found.
c3.css
View file @
cb84f064
...
...
@@ -98,6 +98,7 @@ text {
-webkit-box-shadow
:
7px
7px
12px
-9px
rgba
(
119
,
119
,
119
,
10
);
-moz-box-shadow
:
7px
7px
12px
-9px
rgba
(
119
,
119
,
119
,
10
);
box-shadow
:
7px
7px
12px
-9px
rgba
(
119
,
119
,
119
,
10
);
opacity
:
0.9
;
}
.tooltip
tr
{
border
:
1px
solid
#CCC
;
...
...
@@ -111,11 +112,16 @@ text {
}
.tooltip
td
{
font-size
:
13px
;
padding
:
2px
6px
;
text-align
:
center
;
padding
:
3px
6px
;
background-color
:
#fff
;
border-left
:
1px
dotted
#999
;
}
.tooltip
td
>
span
{
display
:
inline-block
;
width
:
10px
;
height
:
10px
;
margin-right
:
6px
;
}
.tooltip
td
.value
{
text-align
:
right
;
}
c3.js
View file @
cb84f064
...
...
@@ -113,7 +113,7 @@
value
=
'-'
;
name
=
'-'
;
}
text
+=
"<tr><td>"
+
name
+
"</td><td class='value'>"
+
value
+
"</td></tr>"
;
text
+=
"<tr><td>
<span style='background-color:"
+
color
(
d
[
i
].
id
)
+
"'></span>
"
+
name
+
"</td><td class='value'>"
+
value
+
"</td></tr>"
;
}
return
text
+
"</table>"
;
});
...
...
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