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] line crosshair as default, using continuous axis. #2716

Open
youngwinds opened this issue May 20, 2024 · 0 comments
Open

[Feature] line crosshair as default, using continuous axis. #2716

youngwinds opened this issue May 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@youngwinds
Copy link
Contributor

youngwinds commented May 20, 2024

Version

1.11.0

Link to Minimal Reproduction

none

Steps to Reproduce

{
  type: 'line',
  data: {
    values: [
      {
        time: 1,
        value: 8
      },
      {
        time: 2,
        value: 9
      },
      {
        time: 3,
        value: 11
      },
      {
        time: 4,
        value: 14
      },
      {
        time: 5,
        value: 16
      },
      {
        time: 6,
        value: 17
      },
      {
        time: 7,
        value: 17
      },
      {
        time: 8,
        value: 16
      },
      {
        time: 9,
        value: 15
      }
    ]
  },
  axes: [
    {
      orient: 'bottom',
      type:'time',
    }
  ],
  crosshair:{
    "xField": { "visible": true },
    "yField": { "visible": false }
  },
  xField: 'time',
  yField: 'value'
};

Current Behavior

missing crosshair

Expected Behavior

having crosshair

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@youngwinds youngwinds added the bug Something isn't working label May 20, 2024
@youngwinds youngwinds self-assigned this May 20, 2024
@youngwinds youngwinds changed the title [Bug] crosshair missing using time axis. [Feature] line crosshair as default, using continuous axis. May 21, 2024
@xile611 xile611 added enhancement New feature or request good first issue Good for newcomers and removed bug Something isn't working labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants