xanderdeseyn / react-native-responsive-linechart

A customizable and responsive line or area chart for react-native
https://react-native-responsive-linechart.surge.sh
MIT License
205 stars 48 forks source link

All the drag point is not selected while dragging or selecting #148

Open IKTANIM opened 2 years ago

IKTANIM commented 2 years ago
Screen Shot 2022-03-14 at 11 11 15 AM

@xanderdeseyn red marks dot's is not selected while dragging because both have same x value. How to solve this??

sample data I have used

let dotData = [
  {
    y: 200,
    x: 1635703200,
    meta:'Test Event'
  },
  {
    y: 80,
    x: 1635703200,
    meta:'Test Event'
  },
  {
    y: 120,
    x: 1638295200,
    meta:'Test Event'
  },
  {
    y: 50,
    x: 1640973600,
    meta:'Test Event'
  },
  {
    y: 200,
    x: 1643652000,
    meta:'Test Event'
  },
  {
    y: 150,
    x: 163302480,
    meta:'Event 2'
  },
  {
    y: 100,
    x: 1635703200,
    meta:'Event 2'
  },
];