Skip to content

A simple and customizable radar chart for iOS.

Notifications You must be signed in to change notification settings

Vincouux/Charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iCharts

A simple and customizable radar chart for iOS. version swift iOS Xcode

How to install ?

  1. Paste the iCharts.framework to the root of your project.

  2. Add iCharts.framework in the general settings. gif

How to use it ?

  1. Import iCharts
import iCharts
  1. Create the view by adding an UIView in your Storyboard.

  2. Select UIRadarChart in the identity inspector.

  3. Setup the UIRadarChart.

class ViewController: UIViewController {

    @IBOutlet weak var radarChart: UIRadarChart!

    override func viewDidLoad() {
        super.viewDidLoad()
        let radarChartDataValues1: RadarChartDataValues = RadarChartDataValues(values: [28, 20, 50, 46, 82, 84], color: UIColor.cyan)
        let radarChartDataValues2: RadarChartDataValues = RadarChartDataValues(values: [38, 76, 67, 82, 48, 92], color: UIColor.orange)
        let radarChartData: RadarChartData = RadarChartData(values: [radarChartDataValues2, radarChartDataValues1],
                                                            labels: ["AUG", "SEP", "OCT", "NOV", "DEC", "JAN"])
        self.radarChart.data = radarChartData
        self.radarChart.drawingStyle = .circles
        self.radarChart.animation = true
        self.radarChart.draw()
    }
}

Features

UIRadarChart

gif

About

A simple and customizable radar chart for iOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published