Use index (time) step to calc OHLC bar/line uppx threshold

pre_viz_calls
Tyler Goodlet 2022-12-02 21:07:42 -05:00
parent 81b7515be0
commit 84b6ec07d8
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def render_baritems(
# - if we're **not** downsampling then we simply want to # - if we're **not** downsampling then we simply want to
# render the bars graphics curve and update.. # render the bars graphics curve and update..
# - if instead we are in a downsamplig state then we to # - if instead we are in a downsamplig state then we to
x_gt = 6 x_gt = 6 * (r.fmtr.index_step_size or 1)
uppx = curve.x_uppx() uppx = curve.x_uppx()
# print(f'BARS UPPX: {uppx}') # print(f'BARS UPPX: {uppx}')
in_line = should_line = curve.isVisible() in_line = should_line = curve.isVisible()