PhilJay / MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.56k stars 9.01k forks source link

Lack of precision using float in CandleEntry() #4578

Open abiemann opened 5 years ago

abiemann commented 5 years ago

Summary CandleEntry is used to represent financial data, however, the constructor expects float's. Everyone working with financial data knows that a "float" lacks precision.

Expected Behavior Use of a Double would be better. BigDecimal would be best.

Possible Solution change float to double, i.e.

Device (please complete the following information): not relevant

Additional Context N/A

hackstarsj commented 5 years ago

Same issue with me any luck?

ArcherEmiya05 commented 5 months ago

Any alternative? Facing the same issue