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
7bb7cb99
Commit
7bb7cb99
authored
Jan 17, 2015
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove data.ondragstart and data.ondragend callbacks - #215 #798
parent
cc571011
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
10 deletions
+0
-10
c3.js
c3.js
+0
-5
c3.min.js
c3.min.js
+0
-0
config.js
src/config.js
+0
-2
drag.js
src/drag.js
+0
-3
No files found.
c3.js
View file @
7bb7cb99
...
...
@@ -978,8 +978,6 @@
data_onmouseout
:
function
()
{},
data_onselected
:
function
()
{},
data_onunselected
:
function
()
{},
data_ondragstart
:
function
()
{},
data_ondragend
:
function
()
{},
data_url
:
undefined
,
data_json
:
undefined
,
data_rows
:
undefined
,
...
...
@@ -5033,7 +5031,6 @@
.
attr
(
'class'
,
CLASS
.
dragarea
)
.
style
(
'opacity'
,
0.1
);
$$
.
dragging
=
true
;
$$
.
config
.
data_ondragstart
.
call
(
$$
.
api
);
};
c3_chart_internal_fn
.
dragend
=
function
()
{
...
...
@@ -5047,10 +5044,8 @@
$$
.
main
.
selectAll
(
'.'
+
CLASS
.
shape
)
.
classed
(
CLASS
.
INCLUDED
,
false
);
$$
.
dragging
=
false
;
$$
.
config
.
data_ondragend
.
call
(
$$
.
api
);
};
c3_chart_internal_fn
.
selectPoint
=
function
(
target
,
d
,
i
)
{
var
$$
=
this
,
config
=
$$
.
config
,
cx
=
(
config
.
axis_rotated
?
$$
.
circleY
:
$$
.
circleX
).
bind
(
$$
),
...
...
c3.min.js
View file @
7bb7cb99
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/config.js
View file @
7bb7cb99
...
...
@@ -50,8 +50,6 @@ c3_chart_internal_fn.getDefaultConfig = function () {
data_onmouseout
:
function
()
{},
data_onselected
:
function
()
{},
data_onunselected
:
function
()
{},
data_ondragstart
:
function
()
{},
data_ondragend
:
function
()
{},
data_url
:
undefined
,
data_json
:
undefined
,
data_rows
:
undefined
,
...
...
src/drag.js
View file @
7bb7cb99
...
...
@@ -65,7 +65,6 @@ c3_chart_internal_fn.dragstart = function (mouse) {
.
attr
(
'class'
,
CLASS
.
dragarea
)
.
style
(
'opacity'
,
0.1
);
$$
.
dragging
=
true
;
$$
.
config
.
data_ondragstart
.
call
(
$$
.
api
);
};
c3_chart_internal_fn
.
dragend
=
function
()
{
...
...
@@ -79,6 +78,4 @@ c3_chart_internal_fn.dragend = function () {
$$
.
main
.
selectAll
(
'.'
+
CLASS
.
shape
)
.
classed
(
CLASS
.
INCLUDED
,
false
);
$$
.
dragging
=
false
;
$$
.
config
.
data_ondragend
.
call
(
$$
.
api
);
};
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