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
Evgeny
c3-closed
Commits
56092012
Commit
56092012
authored
Jun 06, 2015
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'vladsu-master'
parents
d9d5c5e9
10a560cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
c3.js
c3.js
+3
-1
c3.min.js
c3.min.js
+0
-0
config.js
src/config.js
+1
-0
subchart.js
src/subchart.js
+2
-1
No files found.
c3.js
View file @
56092012
...
...
@@ -1089,6 +1089,7 @@
// subchart
subchart_show
:
false
,
subchart_size_height
:
60
,
subchart_axis_x_show
:
true
,
subchart_onbrush
:
function
()
{},
// color
color_pattern
:
[],
...
...
@@ -5360,7 +5361,8 @@
$$
.
axes
.
subx
=
context
.
append
(
"g"
)
.
attr
(
"class"
,
CLASS
.
axisX
)
.
attr
(
"transform"
,
$$
.
getTranslate
(
'subx'
))
.
attr
(
"clip-path"
,
config
.
axis_rotated
?
""
:
$$
.
clipPathForXAxis
);
.
attr
(
"clip-path"
,
config
.
axis_rotated
?
""
:
$$
.
clipPathForXAxis
)
.
style
(
"visibility"
,
config
.
subchart_axis_x_show
?
'visible'
:
'hidden'
);
};
c3_chart_internal_fn
.
updateTargetsForSubchart
=
function
(
targets
)
{
var
$$
=
this
,
context
=
$$
.
context
,
config
=
$$
.
config
,
...
...
c3.min.js
View file @
56092012
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/config.js
View file @
56092012
...
...
@@ -65,6 +65,7 @@ c3_chart_internal_fn.getDefaultConfig = function () {
// subchart
subchart_show
:
false
,
subchart_size_height
:
60
,
subchart_axis_x_show
:
true
,
subchart_onbrush
:
function
()
{},
// color
color_pattern
:
[],
...
...
src/subchart.js
View file @
56092012
...
...
@@ -39,7 +39,8 @@ c3_chart_internal_fn.initSubchart = function () {
$$
.
axes
.
subx
=
context
.
append
(
"g"
)
.
attr
(
"class"
,
CLASS
.
axisX
)
.
attr
(
"transform"
,
$$
.
getTranslate
(
'subx'
))
.
attr
(
"clip-path"
,
config
.
axis_rotated
?
""
:
$$
.
clipPathForXAxis
);
.
attr
(
"clip-path"
,
config
.
axis_rotated
?
""
:
$$
.
clipPathForXAxis
)
.
style
(
"visibility"
,
config
.
subchart_axis_x_show
?
'visible'
:
'hidden'
);
};
c3_chart_internal_fn
.
updateTargetsForSubchart
=
function
(
targets
)
{
var
$$
=
this
,
context
=
$$
.
context
,
config
=
$$
.
config
,
...
...
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