Skip to content

Commit c6eea0e

Browse files
author
quao
committed
fix 更改默认取值
1 parent 621d8af commit c6eea0e

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

src/coord/cartesian/Grid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ class Grid implements CoordinateSystemMaster {
567567
axis: Axis2D,
568568
axisType: OptionAxisType,
569569
): void {
570-
const includeMarkerInExtent = axis.model.get('includeMarkerInExtent') ?? true;
570+
const includeMarkerInExtent = axis.model.get('includeMarkerInExtent') ?? false;
571571
if (includeMarkerInExtent && value != null && typeof value !== 'string' && axisType !== 'category') {
572572
const val = axis.scale.parse(value);
573573
if (!isNaN(val)) {

test/axis-marker-extent.html

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)