Skip to content

Innacurate line drawing #103

Description

@ChaseK30

For some reason when i input data to the graph for something like a weeks worth of stock data the line chart does not accurateley draw and will have a value that is higher than a previous value show lower on the line graph...has anyone else run into this issue?

Activity

  1. kalashshah commented on Jul 12, 2024

    @kalashshah

    Yeah facing the same issue

  2. sarpertale commented on Jul 18, 2024

    @sarpertale

    Facing the same issue. Any update on this?

  3. arbnor-raci commented on Dec 30, 2024

    @arbnor-raci

    I noticed something similar. My current entry is smaller than the previous one, but the chart shows it as larger.

    I've posted an example image below.
    chart

    Perhaps this is because the data is not yet meaningful enough?

  4. rafaelderolez commented on May 11, 2026

    @rafaelderolez

    Also seeing this on my end. react-native-graph always draws the latter half of the 6 month interval (hyperliquid data) weirdly.

    3 months 6 months 9 months
    Image Image Image
    Image Image Image
  5. dchhetri commented on Jun 21, 2026

    @dchhetri

    Seeing the same, sometimes it draws it as expected other times it seems like it's skipping some points. Anyone have answer here?

  6. PatrissolJuns commented on Jul 8, 2026

    @PatrissolJuns

    Any update on this issue ? I'm facing it too

  7. huytdps13400 commented on Aug 30, 2026

    @huytdps13400
    Contributor

    Implemented in #135.

    The root cause was a mismatch in the sampler: it selected array indexes as if timestamps were evenly spaced, then compared them with the real timestamp-derived X position. Irregular time series therefore lost valid intermediate values. The PR samples from the real X positions while keeping the existing two-pixel density bound, and includes a regression that failed before the fix.

    Full Jest, TypeScript, lint (0 errors), package build, and Expo web export verification pass on Node 22.20.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions