Suggestions

:speech_balloon:

Don’t use bezier curves for graphs

I like the graphs in Arc 3.0, but they strangely use curves instead of simple lines to connect data points, which often results in very strange and incorrect outputs like loops, multiple values at the same time point, and other anomalies. I had several of these bizarre looking graphs in today’s data, for example:

https://ibb.co/album/dqfCWF

4 votes

Tagged as Suggestion

Suggested 24 August 2019 by user Yinon

  • Sign in to comment and vote. Sign in by email
  • 24 August 2019 Yinon suggested this task

  • 24 August 2019 Matt Greenfield approved this task

  • avatar

    This unfortunately is a limitation of the Charts library Arc is using for some of the graphs.

    In a future update (perhaps Arc 3.1) I’ll be ditching that library and going back to custom coded line graphs, so that I have better control over the curve algorithms used.

    I’ll also be changing some of the graphs away from lines, and using range bar graphs instead. (eg similar to what you see in Apple Health).

    24 August 2019
  • avatar

    Thanks for the reply! Looking forward to it :)

    24 August 2019
  • avatar

    Have a look at Cornu splines (Clothoids) as a solution for the curvature. See e. g. Raph Levien’s PhD thesis: https://www.levien.com/phd/thesis.pdf

    Added benefit: works also excellently for producing paths with optimal curvature on… maps. :)

    02 September 2019