Skip to content

Implement new chart type - Polar Plot #39

Open
@KarthikRIyer

Description

@KarthikRIyer

The current LineChart implementation uses rectangular coordinates. It would be good to have a plot type that helps us plot data using polar coordinates.
Details about what a polar plot is can be found here.
A simple example of a polar plot can be found here.

This task will require you to implement the following:

  • A new plot type (PolarPlot) similar to LineChart, BarChart implemented currently. (Very basic implementation. You need not implement support for multiple series, although that would be a great addition.)
  • Add functions to atleast two from the three renderers (AGG/SVG/CoreGraphics) to draw an empty circle.

The input type can be Pair<FloatConvertible , FloatConvertible>. The end user should be able to create plots using an array of (r,θ) values or a function that returns r at a specific θ [ r = f(θ) ].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions