godot-engine.easy-charts icon indicating copy to clipboard operation
godot-engine.easy-charts copied to clipboard

Add Polar visualization.

Open JFerrerBeired opened this issue 3 years ago • 1 comments

Create a new plot type (child of ScatterChartBase) that allows for polar representation:

enter image fhere

It will take a call to plot_funciton like the other ScatterChartBase childs, but instead of using x and y it will use phi and r representing the angle and radius (distance from the center).

I still have to think, however, on the particular implementation, since some things will have to be completely changed (like the tics positions), but most of the other functions should be reusable in the current cartesian form.

JFerrerBeired avatar Mar 16 '21 16:03 JFerrerBeired

Why should this be a child of ScatterChartBase ? Inheriting from Chart should give you right the base you need to do less changes in the future. Also if you might need it take a look at RadarChart which is already implemented and very similar.

fenix-hub avatar Mar 16 '21 17:03 fenix-hub