Commit 0145a99b authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix z-index of grids - #373

parent 6f2091f2
......@@ -2953,24 +2953,20 @@
grid = main.append('g')
.attr("clip-path", clipPath)
.attr('class', CLASS.grid);
// X-Grid
if (__grid_x_show) {
grid.append("g").attr("class", CLASS.xgrids);
}
if (__grid_y_show) {
grid.append('g').attr('class', CLASS.ygrids);
}
grid.append('g').attr("class", CLASS.xgridLines);
grid.append('g').attr('class', CLASS.ygridLines);
if (__grid_focus_show) {
grid.append('g')
.attr("class", CLASS.xgridFocus)
.append('line')
.attr('class', CLASS.xgridFocus);
}
grid.append('g').attr("class", CLASS.xgridLines);
// Y-Grid
if (__grid_y_show) {
grid.append('g').attr('class', CLASS.ygrids);
}
grid.append('g').attr('class', CLASS.ygridLines);
// Define g for chart area
main.append('g')
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -19,11 +19,15 @@
},
grid: {
x: {
show: true,
lines: [{
value: 2,
text: 'Label 2',
class: 'lineFor2'
}]
},
y: {
show: true,
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment