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
16400645
Commit
16400645
authored
May 27, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:masayuki0812/c3
parents
2deefb37
18feffab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
c3.js
c3.js
+3
-3
No files found.
c3.js
View file @
16400645
...
...
@@ -2314,7 +2314,7 @@
return
rect
;
}
function
getInterpo
r
ate
(
d
)
{
function
getInterpo
l
ate
(
d
)
{
return
isSplineType
(
d
)
?
"cardinal"
:
isStepType
(
d
)
?
"step-after"
:
"linear"
;
}
...
...
@@ -2423,7 +2423,7 @@
var
data
=
filterRemoveNull
(
d
.
values
),
x0
,
y0
;
if
(
isAreaType
(
d
))
{
return
area
.
interpolate
(
getInterpo
r
ate
(
d
))(
data
);
return
area
.
interpolate
(
getInterpo
l
ate
(
d
))(
data
);
}
else
{
x0
=
x
(
data
[
0
].
x
);
y0
=
getYScale
(
d
.
id
)(
data
[
0
].
value
);
...
...
@@ -2450,7 +2450,7 @@
if
(
__data_regions
[
d
.
id
])
{
return
lineWithRegions
(
data
,
x
,
y
,
__data_regions
[
d
.
id
]);
}
else
{
return
line
.
interpolate
(
getInterpo
r
ate
(
d
))(
data
);
return
line
.
interpolate
(
getInterpo
l
ate
(
d
))(
data
);
}
}
else
{
if
(
data
[
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