Ilan Kalendarov

Results 16 comments of Ilan Kalendarov

> For anyone who is facing a similar issue with touch events and wondering how to resolve it, I've made some progress and was able to edit the dist/klinecharts.js file...

> Yeah, I'm feeling it too during initial render/zoom sometimes. How many lines are we talking, and over how many data points (timestamps)? > > Do you only get lag...

Yeah for example I am coloring the tails of the candles based on the trend, if the trend is up the candle tails will be green and if the trend...

I tried to so something like this: Extend the CandlestickItem class: ```python class CandlestickItemExtend(fplt.CandlestickItem): def __init__(self, ax, datasrc, draw_body, draw_shadow, candle_width, colorfunc, resamp=None): super().__init__(ax, datasrc, draw_body, draw_shadow, candle_width, colorfunc, resamp=None)...

This works for me! ```python class CandlestickItemExtend(fplt.CandlestickItem): def __init__(self, ax, datasrc, draw_body, draw_shadow, candle_width, colorfunc, resamp=None): super().__init__(ax, datasrc, draw_body, draw_shadow, candle_width, colorfunc, resamp=None) self.lines = [] self.up_trend_df = None self.dn_trend_df...

I wish this was the case but if I am not extending the CandlestickItem then it won't show me those candles. I am using the same df for both cases.