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
deba01c9
Commit
deba01c9
authored
Feb 09, 2014
by
mikhail samoilov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into area
Conflicts: c3.js
parents
c08d031c
05e80d19
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
43 additions
and
4 deletions
+43
-4
bower.json
bower.json
+1
-1
c3.css
c3.css
+10
-1
c3.js
c3.js
+0
-0
c3.min.js
c3.min.js
+0
-0
index.html
htdocs/index.html
+6
-1
chart_area.html
htdocs/samples/chart_area.html
+25
-0
package.json
package.json
+1
-1
No files found.
bower.json
View file @
deba01c9
{
{
"name"
:
"c3"
,
"name"
:
"c3"
,
"main"
:
"c3.min.js"
,
"main"
:
"c3.min.js"
,
"version"
:
"0.1.
3
"
,
"version"
:
"0.1.
6
"
,
"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.css
View file @
deba01c9
...
@@ -15,6 +15,15 @@ text {
...
@@ -15,6 +15,15 @@ text {
user-select
:
none
;
user-select
:
none
;
}
}
.chart-arc
path
{
stroke
:
#fff
;
}
.chart-arc
text
{
fill
:
#fff
;
font-size
:
13px
;
}
/*-- Grid --*/
/*-- Grid --*/
.grid
line
{
.grid
line
{
...
@@ -60,7 +69,7 @@ text {
...
@@ -60,7 +69,7 @@ text {
/*-- Focus --*/
/*-- Focus --*/
.target.focused
path
{
.target.focused
path
.-line
{
stroke-width
:
2px
;
stroke-width
:
2px
;
}
}
...
...
c3.js
View file @
deba01c9
This diff is collapsed.
Click to expand it.
c3.min.js
View file @
deba01c9
This diff is collapsed.
Click to expand it.
htdocs/index.html
View file @
deba01c9
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<h3>
Load Data
</h3>
<h3>
Load Data
</h3>
<p>
Load data d
i
namically.
</p>
<p>
Load data d
y
namically.
</p>
<p><a
class=
"btn btn-default"
href=
"/samples/data_load.html"
role=
"button"
>
View details
»
</a></p>
<p><a
class=
"btn btn-default"
href=
"/samples/data_load.html"
role=
"button"
>
View details
»
</a></p>
</div>
</div>
</div>
</div>
...
@@ -94,6 +94,11 @@
...
@@ -94,6 +94,11 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<h3>
Area Chart
</h3>
<p>
Display as Filled Area Chart
</p>
<p><a
class=
"btn btn-default"
href=
"/samples/chart_area.html"
role=
"button"
>
View details
»
</a></p>
</div>
<div
class=
"col-md-4"
>
<h3>
Combination Chart
</h3>
<h3>
Combination Chart
</h3>
<p>
Display as Bar Chart
</p>
<p>
Display as Bar Chart
</p>
<p><a
class=
"btn btn-default"
href=
"/samples/chart_combination.html"
role=
"button"
>
View details
»
</a></p>
<p><a
class=
"btn btn-default"
href=
"/samples/chart_combination.html"
role=
"button"
>
View details
»
</a></p>
...
...
htdocs/samples/chart_area.html
0 → 100644
View file @
deba01c9
<html>
<head>
<link
href=
"/css/c3.css"
rel=
"stylesheet"
type=
"text/css"
>
</head>
<body>
<div
id=
"chart"
></div>
<script
src=
"http://d3js.org/d3.v3.min.js"
charset=
"utf-8"
></script>
<script
src=
"/js/c3.js"
></script>
<script>
var
chart
=
c3
.
generate
({
data
:
{
columns
:
[
[
'data1'
,
300
,
350
,
300
,
0
,
0
,
0
],
[
'data2'
,
130
,
100
,
140
,
200
,
150
,
50
]
],
types
:
{
data1
:
'area'
,
data2
:
'area-spline'
}
}
});
</script>
</body>
</html>
package.json
View file @
deba01c9
{
{
"name"
:
"
c3
"
,
"name"
:
"
c3
"
,
"version"
:
"0.1.
3
"
,
"version"
:
"0.1.
6
"
,
"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