VChart icon indicating copy to clipboard operation
VChart copied to clipboard

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

Open youngwinds opened this issue 9 months ago • 0 comments

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 avatar May 20 '24 10:05 youngwinds