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
0271a0c8
Commit
0271a0c8
authored
Aug 11, 2014
by
michalkop93
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1 from masayuki0812/master
merging upstream
parents
70728338
0b2d4ec9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
7 deletions
+14
-7
bower.json
bower.json
+1
-1
c3.js
c3.js
+11
-4
c3.min.js
c3.min.js
+0
-0
component.json
component.json
+1
-1
package.json
package.json
+1
-1
No files found.
bower.json
View file @
0271a0c8
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"c3.css"
,
"c3.css"
,
"c3.js"
"c3.js"
],
],
"version"
:
"0.2.
4
"
,
"version"
:
"0.2.
5
"
,
"homepage"
:
"https://github.com/masayuki0812/c3"
,
"homepage"
:
"https://github.com/masayuki0812/c3"
,
"authors"
:
[
"authors"
:
[
"Masayuki Tanaka <masayuki0812@mac.com>"
"Masayuki Tanaka <masayuki0812@mac.com>"
...
...
c3.js
View file @
0271a0c8
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
/*global define, module, exports, require */
/*global define, module, exports, require */
var
c3
=
{
var
c3
=
{
version
:
"0.2.
4
"
version
:
"0.2.
5
"
};
};
var
CLASS
=
{
var
CLASS
=
{
...
@@ -2063,7 +2063,7 @@
...
@@ -2063,7 +2063,7 @@
if
(
tooltipRight
>
chartRight
)
{
if
(
tooltipRight
>
chartRight
)
{
tooltipLeft
-=
tooltipRight
-
chartRight
;
tooltipLeft
-=
tooltipRight
-
chartRight
;
}
}
if
(
tooltipTop
+
tHeight
>
getCurrentHeight
())
{
if
(
tooltipTop
+
tHeight
>
getCurrentHeight
()
&&
tooltipTop
>
tHeight
+
30
)
{
tooltipTop
-=
tHeight
+
30
;
tooltipTop
-=
tHeight
+
30
;
}
}
}
}
...
@@ -5559,8 +5559,15 @@
...
@@ -5559,8 +5559,15 @@
return
axis
;
return
axis
;
};
};
axis
.
tickValues
=
function
(
x
)
{
axis
.
tickValues
=
function
(
x
)
{
if
(
!
arguments
.
length
)
{
return
tickValues
;
}
if
(
typeof
x
===
'function'
)
{
tickValues
=
x
;
tickValues
=
function
()
{
return
x
(
scale
.
domain
());
};
}
else
{
if
(
!
arguments
.
length
)
{
return
tickValues
;
}
tickValues
=
x
;
}
return
axis
;
return
axis
;
};
};
return
axis
;
return
axis
;
...
...
c3.min.js
View file @
0271a0c8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
component.json
View file @
0271a0c8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"name"
:
"c3"
,
"name"
:
"c3"
,
"repo"
:
"masayuki0812/c3"
,
"repo"
:
"masayuki0812/c3"
,
"description"
:
"A D3-based reusable chart library"
,
"description"
:
"A D3-based reusable chart library"
,
"version"
:
"0.2.
4
"
,
"version"
:
"0.2.
5
"
,
"keywords"
:
[],
"keywords"
:
[],
"dependencies"
:
{
"dependencies"
:
{
"mbostock/d3"
:
"*"
"mbostock/d3"
:
"*"
...
...
package.json
View file @
0271a0c8
{
{
"name"
:
"
c3
"
,
"name"
:
"
c3
"
,
"version"
:
"0.2.
4
"
,
"version"
:
"0.2.
5
"
,
"description"
:
"D3-based reusable chart library"
,
"description"
:
"D3-based reusable chart library"
,
"main"
:
"c3.js"
,
"main"
:
"c3.js"
,
"scripts"
:
{
"scripts"
:
{
...
...
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