Guillaume B

1pod
Largest Triangle Three Buckets downsampling algorithm in Swift.
原始版本由Sveinn Steinarsson创建(https://github.com/sveinn-steinarsson/highcharts-downsample)
作者:Guillaume Beal
此可视化不是为了给你显示成千上万的数据点在一条线上的个体值,而是为了展示数据随时间的变化趋势。"(http://blackops.io/blog/2014/05/time-series-graphs-and-downsampling/)此算法减小时间序列的范围,同时保持序列的视觉特征。
使用LTTB预处理你的时间序列,以便在图上显示数千个点。
与Charts API https://github.com/danielgindi/Charts兼容
许可协议: MIT