halfhp / androidplot

Charts and plots for Android
http://androidplot.com
Apache License 2.0
505 stars 159 forks source link

candlesticks are too large in widget #103

Closed copypasteearth closed 4 years ago

copypasteearth commented 4 years ago

hello I am making an app widget in android by drawing the chart on a bitmap and the candles are always too large when it is drawn on the canvas. is there some way to adjust the size of the candles, thank you

Screenshot_20200910-101228

halfhp commented 4 years ago

You can configure the thickness etc of your lines via the CandlestickFormatter instance. You can either pass in your preferred formatting to one of it's constructors or configuring the individual Paint instances using it's getters after the fact.