Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] xAxis splitLine showMinLine showMaxLine #16946

Closed
MeetzhDing opened this issue Apr 27, 2022 · 3 comments · Fixed by #20114
Closed

[Feature] xAxis splitLine showMinLine showMaxLine #16946

MeetzhDing opened this issue Apr 27, 2022 · 3 comments · Fixed by #20114

Comments

@MeetzhDing
Copy link

What problem does this feature solve?

When use splitLine in xAxis[type=time], minSplitLine and maxSplitLine can't be hidden.

image

What does the proposed API look like?

like xAxisLabel showMinLabel

xAxis: {
  splitLine: {
     showMinLine: false,
     showMaxLine: true
  }
}
@Clebal
Copy link

Clebal commented Apr 27, 2022

I guess this may work also in xAxis type value, right?

@MeetzhDing
Copy link
Author

I guess this may work also in xAxis type value, right?

Yes.

echarts/test/brush.html

xAxis: [
    {
        type: 'value',
        splitLine: {
            show: true,
            showMinLine: false,
            showMaxLine: false
        }
    }
],

before:
image

after:
image

@plainheart plainheart removed pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Nov 15, 2022
@plainheart
Copy link
Member

Supported in #20114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants