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
2da7264a
Commit
2da7264a
authored
May 14, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'olivoil-master'
parents
a8798cd6
6f3389db
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
c3.js
c3.js
+7
-4
c3.min.js
c3.min.js
+0
-0
component.json
component.json
+4
-2
package.json
package.json
+1
-1
No files found.
c3.js
View file @
2da7264a
(
function
(
window
)
{
(
function
(
window
)
{
'use strict'
;
'use strict'
;
/*global define, module, exports, require */
var
c3
=
{
var
c3
=
{
version
:
"0.1.38"
version
:
"0.1.38"
};
};
...
@@ -76,7 +78,7 @@
...
@@ -76,7 +78,7 @@
*/
*/
c3
.
generate
=
function
(
config
)
{
c3
.
generate
=
function
(
config
)
{
var
d3
=
window
.
d3
?
window
.
d3
:
window
.
require
?
window
.
require
(
"d3"
)
:
undefined
;
var
d3
=
window
.
d3
?
window
.
d3
:
'undefined'
!==
typeof
require
?
require
(
"d3"
)
:
undefined
;
var
c3
=
{
data
:
{},
axis
:
{},
legend
:
{}
},
var
c3
=
{
data
:
{},
axis
:
{},
legend
:
{}
},
cache
=
{};
cache
=
{};
...
@@ -4539,12 +4541,13 @@
...
@@ -4539,12 +4541,13 @@
return
typeof
v
!==
'undefined'
;
return
typeof
v
!==
'undefined'
;
}
}
if
(
typeof
window
.
define
===
"function"
&&
window
.
define
.
amd
)
{
if
(
typeof
define
===
"function"
&&
define
.
amd
)
{
window
.
define
(
"c3"
,
[
"d3"
],
c3
);
define
(
"c3"
,
[
"d3"
],
c3
);
}
else
if
(
'undefined'
!==
typeof
exports
&&
'undefined'
!==
typeof
module
)
{
module
.
exports
=
c3
;
}
else
{
}
else
{
window
.
c3
=
c3
;
window
.
c3
=
c3
;
}
}
// TODO: module.exports
// Features:
// Features:
// 1. category axis
// 1. category axis
...
...
c3.min.js
View file @
2da7264a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
component.json
View file @
2da7264a
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
"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.
0.1
"
,
"version"
:
"0.
1.40
"
,
"keywords"
:
[],
"keywords"
:
[],
"dependencies"
:
{},
"dependencies"
:
{
"mbostock/d3"
:
"*"
},
"development"
:
{},
"development"
:
{},
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"main"
:
"c3.js"
,
"main"
:
"c3.js"
,
...
...
package.json
View file @
2da7264a
{
{
"name"
:
"
c3
"
,
"name"
:
"
c3
"
,
"version"
:
"0.1.
38
"
,
"version"
:
"0.1.
40
"
,
"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