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
e6641afc
Commit
e6641afc
authored
Jun 26, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #394 from martijnrusschen/fix-spelling
Fixed spelling
parents
e2b3b84c
10ea44a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
c3.js
c3.js
+4
-4
No files found.
c3.js
View file @
e6641afc
...
...
@@ -1530,7 +1530,7 @@
json
.
forEach
(
function
(
o
)
{
var
new_row
=
[];
targetKeys
.
forEach
(
function
(
key
)
{
// convert undefined to null bec
ua
se undefined data will be removed in convertDataToTargets()
// convert undefined to null bec
au
se undefined data will be removed in convertDataToTargets()
var
v
=
typeof
o
[
key
]
===
'undefined'
?
null
:
o
[
key
];
new_row
.
push
(
v
);
});
...
...
@@ -3411,7 +3411,7 @@
if
(
hasArcType
(
c3
.
data
.
targets
))
{
return
;
}
if
(
!
__data_selection_enabled
)
{
return
;
}
// do nothing if not selectable
if
(
__zoom_enabled
&&
!
zoom
.
altDomain
)
{
return
;
}
// skip if zoomable because of conflict drag dehavior
if
(
!
__data_selection_multiple
)
{
return
;
}
// skip when single selection bec
ua
se drag is used for multiple selection
if
(
!
__data_selection_multiple
)
{
return
;
}
// skip when single selection bec
au
se drag is used for multiple selection
sx
=
dragStart
[
0
];
sy
=
dragStart
[
1
];
...
...
@@ -3987,7 +3987,7 @@
.
attr
(
'y'
,
0
)
.
attr
(
'width'
,
width
)
.
attr
(
'height'
,
height
);
// exit : not needed bec
ua
se always only one rect exists
// exit : not needed bec
au
se always only one rect exists
}
else
{
if
(
!
eventRect
.
classed
(
CLASS
.
eventRectsSingle
))
{
...
...
@@ -5000,7 +5000,7 @@
}
c3
.
data
.
targets
=
c3
.
data
.
targets
.
concat
(
targets
);
// add remained
// check data count bec
ua
se behavior needs to change when it's only one
// check data count bec
au
se behavior needs to change when it's only one
dataCount
=
getMaxDataCount
();
baseTarget
=
c3
.
data
.
targets
[
0
];
baseValue
=
baseTarget
.
values
[
0
];
...
...
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