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
42b28495
Commit
42b28495
authored
Sep 03, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/michalkop93/c3
into michalkop93-master
parents
799b6347
cc794c66
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
5 deletions
+11
-5
bower.json
bower.json
+1
-1
c3.js
c3.js
+8
-2
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 @
42b28495
...
@@ -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 @
42b28495
...
@@ -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
=
{
...
@@ -1250,6 +1250,12 @@
...
@@ -1250,6 +1250,12 @@
if
(
yTargets
.
length
===
0
)
{
// use current domain if target of axisId is none
if
(
yTargets
.
length
===
0
)
{
// use current domain if target of axisId is none
return
axisId
===
'y2'
?
y2
.
domain
()
:
y
.
domain
();
return
axisId
===
'y2'
?
y2
.
domain
()
:
y
.
domain
();
}
}
if
(
isNaN
(
yDomainMin
))
{
// set minimum to zero when not number
yDomainMin
=
0
;
}
if
(
isNaN
(
yDomainMax
))
{
// set maximum to have same value as yDomainMin
yDomainMax
=
yDomainMin
;
}
if
(
yDomainMin
===
yDomainMax
)
{
if
(
yDomainMin
===
yDomainMax
)
{
yDomainMin
<
0
?
yDomainMax
=
0
:
yDomainMin
=
0
;
yDomainMin
<
0
?
yDomainMax
=
0
:
yDomainMin
=
0
;
}
}
...
@@ -2063,7 +2069,7 @@
...
@@ -2063,7 +2069,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
;
}
}
}
}
...
...
c3.min.js
View file @
42b28495
This source diff could not be displayed because it is too large. You can
view the blob
instead.
component.json
View file @
42b28495
...
@@ -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 @
42b28495
{
{
"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