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
7b653344
Commit
7b653344
authored
May 09, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add interaction.enabled option - #215
parent
bafe707e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
c3.js
c3.js
+4
-0
c3.min.js
c3.min.js
+0
-0
No files found.
c3.js
View file @
7b653344
...
@@ -118,6 +118,8 @@
...
@@ -118,6 +118,8 @@
__zoom_extent
=
getConfig
([
'zoom'
,
'extent'
]),
__zoom_extent
=
getConfig
([
'zoom'
,
'extent'
]),
__zoom_privileged
=
getConfig
([
'zoom'
,
'privileged'
],
false
);
__zoom_privileged
=
getConfig
([
'zoom'
,
'privileged'
],
false
);
var
__interaction_enabled
=
getConfig
([
'interaction'
,
'enabled'
],
true
);
var
__onenter
=
getConfig
([
'onenter'
],
function
()
{}),
var
__onenter
=
getConfig
([
'onenter'
],
function
()
{}),
__onleave
=
getConfig
([
'onleave'
],
function
()
{}),
__onleave
=
getConfig
([
'onleave'
],
function
()
{}),
__onresize
=
getConfig
([
'onresize'
],
function
()
{}),
__onresize
=
getConfig
([
'onresize'
],
function
()
{}),
...
@@ -3494,6 +3496,7 @@
...
@@ -3494,6 +3496,7 @@
.
attr
(
"cx"
,
__axis_rotated
?
circleY
:
circleX
)
.
attr
(
"cx"
,
__axis_rotated
?
circleY
:
circleX
)
.
attr
(
"cy"
,
__axis_rotated
?
circleX
:
circleY
);
.
attr
(
"cy"
,
__axis_rotated
?
circleX
:
circleY
);
if
(
__interaction_enabled
)
{
// rect for mouseover
// rect for mouseover
eventRect
=
main
.
select
(
'.'
+
CLASS
.
eventRects
);
eventRect
=
main
.
select
(
'.'
+
CLASS
.
eventRects
);
if
(
notEmpty
(
__data_xs
)
&&
!
isSingleX
(
__data_xs
))
{
if
(
notEmpty
(
__data_xs
)
&&
!
isSingleX
(
__data_xs
))
{
...
@@ -3555,6 +3558,7 @@
...
@@ -3555,6 +3558,7 @@
// exit
// exit
eventRectUpdate
.
exit
().
remove
();
eventRectUpdate
.
exit
().
remove
();
}
}
}
// update fadein condition
// update fadein condition
mapToIds
(
c3
.
data
.
targets
).
forEach
(
function
(
id
)
{
mapToIds
(
c3
.
data
.
targets
).
forEach
(
function
(
id
)
{
...
...
c3.min.js
View file @
7b653344
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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