tvjsx / trading-vue-js

💹 Hackable charting lib for traders. You can draw literally ANYTHING on top of candlestick charts. [Not Maintained]
https://tvjsx.github.io/trading-vue-demo/
MIT License
2.09k stars 638 forks source link

Renko setRange / getRange bug (index-based mode) #104

Closed C451 closed 4 years ago

C451 commented 4 years ago

Description

Occurred when I tried to implement a persistent time-range , getting a bunch of Infinity values, probably has to do with ti_mapping functions.

Data Sample (if applicable)

https://github.com/tvjsx/trading-vue-js/blob/master/test/data/data_renko.json

Console errors (if any)

None