ChartsUI

main

A SwiftUI charts library
Kireyin/ChartsUI

ChartsUI

PieChart

Usage

Donut chart

Start by creating your DataPoints and DataSet

let dataPoints: [PieChartDataPoint] = [PieChartDataPoint(value: 15, color: .blue)]
let dataSet: PieChartDataSet = PieChartDataSet(dataPoints: dataPoints)

Then add a PieChartView to your view hierarchy

var body: some View {
  PieChartView(dataSet: dataSet)
}

Description

  • Swift Tools
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 02:27:58 GMT-0900 (Hawaii-Aleutian Daylight Time)