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
80b42375
Commit
80b42375
authored
Feb 10, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug for data load with custom - #7
parent
23e3d0c0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c3.js
c3.js
+2
-2
c3.min.js
c3.min.js
+0
-0
No files found.
c3.js
View file @
80b42375
...
...
@@ -564,7 +564,7 @@
return
__data_x
?
__data_x
:
__data_xs
?
__data_xs
[
id
]
:
null
;
}
function
getXValue
(
id
,
i
)
{
return
id
in
c3
.
data
.
x
&&
c3
.
data
.
x
[
i
]
?
c3
.
data
.
x
[
i
]
:
i
;
return
id
in
c3
.
data
.
x
&&
c3
.
data
.
x
[
i
d
]
&&
c3
.
data
.
x
[
id
][
i
]
?
c3
.
data
.
x
[
id
]
[
i
]
:
i
;
}
function
addName
(
data
)
{
...
...
@@ -674,7 +674,7 @@
};
}
function
getPrevX
(
i
)
{
return
i
>
0
?
c3
.
data
.
targets
[
0
].
values
[
i
-
1
].
x
:
undefined
;
return
i
>
0
&&
c3
.
data
.
targets
[
0
].
values
[
i
-
1
]
?
c3
.
data
.
targets
[
0
].
values
[
i
-
1
].
x
:
undefined
;
}
function
getNextX
(
i
)
{
return
i
<
maxDataCount
()
-
1
?
c3
.
data
.
targets
[
0
].
values
[
i
+
1
].
x
:
undefined
;
...
...
c3.min.js
View file @
80b42375
This diff is collapsed.
Click to expand it.
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