DmitriyZaitsev / RadarChartView

Android view (widget) for rendering radial diagrams
Apache License 2.0
491 stars 70 forks source link

Concentric circles on the circular view #3

Open rils opened 6 years ago

rils commented 6 years ago

Hi,

Great Work Zaitsev. I am using this happily.

How to add concentric circles in the circular view. What i am trying is Radar view with concentric circles, each circle indicates distance from my phone and axis(0-360) indicates angle. so that i can display distance and angle in degress to users.

  1. how to have concentric cicles ?
  2. how to mark points on radar view.

your help is much appreciated. Thanks

DmitriyZaitsev commented 6 years ago

Hi, @rils, thanks for your comment!

how to have concentric cicles ?

You need to set chartView.setCirclesOnly(true) in code or app:circlesOnly="true" in xml and then set the axisTick value which defines the thickness of the circle.

how to mark points on radar view.

please note that this view is not a radar but radar chart. You will have to inherit RadarChartView class and override it's onDraw() method where you can add your points.

I hope, this will work for you.

rils commented 6 years ago

Thanks i will check that. Is there a way we disable displaying of axis labels ?