Home Forums Report Bugs Drag drop not working for precise points

Drag drop not working for precise points

Viewing 2 posts - 1 through 2 (of 2 total)
  • #17701

    Hi Team,

    I created dynamic drag drop line chart, now i am unable to drag to a particular number. i.e. from 2000 to 1000, it will be either 1000+ or below 1000.

    In my use case, user will drag to a particular point but exactly to a particular is not happening.

    Your valuable suggestions please.

    #17712

    @VIJJI

    Sometimes multiple values are represented by single pixel co-ordinate. This happens when the number of values on axis is greater than actual pixels available in given chart container. For example: If the height of the chart is 200px and the axis range is 0 to 1000. Each pixel co-ordinate will represent 5 axis value co-ordinates.
    You can overcome this issue by rounding off the selected value as per your requirement. You can also take a look at this example which uses ySnapDistance to round off the pixel positions.
    You can also re-adjust the height and width of the chart and see if it makes any changes.

    —-
    Bivek Singh,
    Team CanvasSJ

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.