williamchart icon indicating copy to clipboard operation
williamchart copied to clipboard

Setting custom point drawable only for specific points

Open ugurcany opened this issue 3 years ago • 2 comments

I know it's possible to set drawable for chart points via chart.pointsDrawableRes = R.drawable.ic_point. However, is it possible to draw it only for some specific points, for instance only for the last point on the chart? Do you have any plan to support this feature?

ugurcany avatar Feb 26 '21 11:02 ugurcany

So far never considered. Can you provide some common use-cases?

diogobernardino avatar Jul 15 '21 20:07 diogobernardino

For instance, setting the last point of stock chart to a different drawable to indicate live price, like the following.

image

ugurcany avatar Jul 15 '21 20:07 ugurcany