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
05e79875
Commit
05e79875
authored
May 21, 2013
by
Masayuki Tanaka
Committed by
masayuki
May 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix grid y when rotated
parent
a212a8b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
c3.js
c3.js
+4
-8
No files found.
c3.js
View file @
05e79875
...
...
@@ -793,10 +793,6 @@
.
data
(
__grid_y_lines
)
.
enter
().
append
(
'line'
)
.
attr
(
"class"
,
function
(
d
){
return
"ygrid-line "
+
d
[
'class'
]
})
.
attr
(
"x1"
,
0
)
.
attr
(
"x2"
,
width
)
.
attr
(
"y1"
,
yv
)
.
attr
(
"y2"
,
yv
)
}
// Area
...
...
@@ -1156,10 +1152,10 @@
.
data
(
y
.
ticks
(
10
))
ygrid
.
enter
().
append
(
'line'
)
.
attr
(
'class'
,
'ygrid'
)
ygrid
.
attr
(
"x1"
,
0
)
.
attr
(
"x2"
,
width
)
.
attr
(
"y1"
,
y
)
.
attr
(
"y2"
,
y
)
ygrid
.
attr
(
"x1"
,
__axis_rotated
?
y
:
0
)
.
attr
(
"x2"
,
__axis_rotated
?
y
:
width
)
.
attr
(
"y1"
,
__axis_rotated
?
0
:
y
)
.
attr
(
"y2"
,
__axis_rotated
?
height
:
y
)
.
attr
(
"opacity"
,
0
)
.
transition
()
.
attr
(
"opacity"
,
1
)
...
...
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