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
a2ab8593
Commit
a2ab8593
authored
May 28, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix grid on flow
parent
3a5bdae3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
c3.js
c3.js
+5
-1
c3.min.js
c3.min.js
+0
-0
api_flow.html
htdocs/samples/api_flow.html
+8
-0
api_flow_timeseries.html
htdocs/samples/api_flow_timeseries.html
+10
-0
No files found.
c3.js
View file @
a2ab8593
...
@@ -3962,6 +3962,7 @@
...
@@ -3962,6 +3962,7 @@
wait
.
add
(
mainLine
.
transition
().
attr
(
'transform'
,
transform
));
wait
.
add
(
mainLine
.
transition
().
attr
(
'transform'
,
transform
));
wait
.
add
(
mainArea
.
transition
().
attr
(
'transform'
,
transform
));
wait
.
add
(
mainArea
.
transition
().
attr
(
'transform'
,
transform
));
wait
.
add
(
mainCircle
.
transition
().
attr
(
'transform'
,
transform
));
wait
.
add
(
mainCircle
.
transition
().
attr
(
'transform'
,
transform
));
wait
.
add
(
xgrid
.
transition
().
attr
(
'transform'
,
transform
));
})
})
.
call
(
wait
,
function
()
{
.
call
(
wait
,
function
()
{
var
i
,
targets
=
[],
eventRects
=
[];
var
i
,
targets
=
[],
eventRects
=
[];
...
@@ -3973,8 +3974,11 @@
...
@@ -3973,8 +3974,11 @@
}
}
svg
.
selectAll
(
'.'
+
CLASS
.
shapes
).
selectAll
(
targets
).
remove
();
svg
.
selectAll
(
'.'
+
CLASS
.
shapes
).
selectAll
(
targets
).
remove
();
svg
.
selectAll
(
'.'
+
CLASS
.
eventRects
).
selectAll
(
eventRects
).
remove
();
svg
.
selectAll
(
'.'
+
CLASS
.
eventRects
).
selectAll
(
eventRects
).
remove
();
svg
.
select
(
'.'
+
CLASS
.
xgrid
).
remove
();
// draw again for removing flowed elements
// draw again for removing flowed elements and reverting attr
xgrid
.
attr
(
'transform'
,
null
);
mainBar
mainBar
.
attr
(
'transform'
,
null
)
.
attr
(
'transform'
,
null
)
.
attr
(
"d"
,
drawBar
);
.
attr
(
"d"
,
drawBar
);
...
...
c3.min.js
View file @
a2ab8593
This source diff could not be displayed because it is too large. You can
view the blob
instead.
htdocs/samples/api_flow.html
View file @
a2ab8593
...
@@ -37,6 +37,14 @@
...
@@ -37,6 +37,14 @@
max: 1000
max: 1000
*/
*/
}
}
},
grid
:
{
x
:
{
show
:
true
},
y
:
{
show
:
true
}
}
}
});
});
...
...
htdocs/samples/api_flow_timeseries.html
View file @
a2ab8593
...
@@ -43,7 +43,17 @@
...
@@ -43,7 +43,17 @@
max: 1000
max: 1000
*/
*/
}
}
},
/* not supported yet
grid: {
x: {
show: true
},
y: {
show: true
}
}
}
*/
});
});
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
...
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