We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1254f6 + ca24918 commit 197664fCopy full SHA for 197664f
src/chart/XYAxis.js
@@ -470,13 +470,13 @@
470
function syncAxis() {
471
if (context.focusChart.xAxisType() !== "ordinal") {
472
context.xAxis.domain(context.focusChart.xBrush.extent());
473
- context.xAxis.svg.call(context.xAxis.d3Axis);
+ context.xAxis.svgAxis.call(context.xAxis.d3Axis);
474
} else {
475
var brushExtent = context.focusChart.xBrush.extent();
476
var brushWidth = brushExtent[1] - brushExtent[0];
477
var scale = brushWidth / width;
478
context.xAxis.range([-brushExtent[0] / scale, (width - brushExtent[0]) / scale]);
479
480
}
481
482
};
0 commit comments