AnyChart-Android icon indicating copy to clipboard operation
AnyChart-Android copied to clipboard

Polar chart, line plot, change xAxis value labels for strings

Open ifll opened this issue 5 years ago • 2 comments

Hello to everyone,

I have been struggling with some features which I don't know if they are available for the AnyChart-Android library. After many days of fight, I come here to check if anyone with more experience could tell me if this is an issue, an implementation request, or is is actually doable but I couldn't manage.

The whole question would be: "Is it possible in a polar plot, in which I would draw lines (with X and Y coordinates) to change the numerical scale of the Xaxis to a String name?"

Here there's a summary of what I would like to do:

  • I would like to draw a polar plot (to ease the imagination process, imagine a polar plot which would have the functionallyty of a compass). In this example 0º would be north, 90º east, 180º south and 270º west.
  • This polar plot should have only 4 xAxis labels (North, East, South, West)
  • I should be able to plot a line which:
    • Line (X=0,Y=0) -> (X=0, Y=10) defines North orientation
    • Line (X=45,Y=0) -> (X=45, Y=10) defines NorthEast orientation
    • etc... all orientations should be possible, since any X and Y combinations should be possible

Do you think this is feasable?

Thank you very much

ifll avatar Apr 15 '20 12:04 ifll

To ease even more the imagination, and taking the example I have placed in my previous comment, this is how it should like the plot I am aiming to achieve: polar2

An this is what I achieved to do: polar3

ifll avatar Apr 15 '20 12:04 ifll

The solution I found it thanks to "AnyChart Support" in stackoverflow in the following link: https://stackoverflow.com/questions/61206267/anychart-android-polar-plot-xaxis-labels-change-them-to-char-strings/61221670#61221670

Thank you very much to you all for your help and support

ifll avatar Apr 16 '20 09:04 ifll