patrykandpatrick / vico

A light and extensible chart library for Android.
https://patrykandpatrick.com/vico/guide
Apache License 2.0
2.18k stars 131 forks source link

Candle stick chart #167

Closed sanisloandras closed 1 year ago

sanisloandras commented 1 year ago

Hello!

I really like this library, but wondering if I could customize it to have a candle stick style? Currently trying to understand how the lib works, but it you have some time, it would help a lot... Thanks in advance.

image

patrickmichalik commented 1 year ago

Hello! Vico doesn’t yet include such a chart type, but we plan on adding more chart types, including candlestick charts, in the future. The API is quite flexible, so I believe it would be possible to write a Chart implementation that draws candlesticks, but you’d have to create a custom ChartEntry implementation too (since here you’d need four y values per entry, not just one).

jibe-n commented 1 year ago

Hello!

I was wondering if you have an ETA for the candlestick chart implementation? I played a bit with the candlestick chart in the sample and it looks so great already! I switched all my charts to Vico and this is the only one thing I'm missing.

Thank you guys for your amazing work.

Gowsky commented 1 year ago

Hi @jibe-n, the candlestick chart in the core module is mostly done. We need to add some Jetpack Compose and Views specific support for it, but our priority currently has been shifted to other features and improvements.

makaronis commented 1 year ago

is there any update on this? i'm looking for candlestick chart too

Gowsky commented 1 year ago

Hi @makaronis, no updates since my last comment. I want to resume work on candlestick chart once #87 is done, and it’s nearly complete.

makaronis commented 1 year ago

Hi @Gowsky , what's missing from current realization of that chart? i've seen branch with that code

Gowsky commented 1 year ago

The API probably needs some tweaks, and we need to add missing documentation.