{"repo":"AppPear/ChartView","free":true,"listed":false,"github":"https://github.com/AppPear/ChartView","clone":"git clone https://github.com/AppPear/ChartView.git","description":"ChartView made in SwiftUI","language":"Swift","stars":5637,"topics":["swiftui","swift","ios","chart","charts"],"license":"MIT","category":"mobile-apps","readme_excerpt":"SwiftUICharts SwiftUICharts is a composable, SwiftUI-native chart library for iOS 13+. 2.0.0 is a major release focused on immutable configuration, environment-driven composition, and modifier-based APIs. AI Agent Quick Context Use this section when an AI agent generates code against this package. API contract - Use only 2.x composable APIs. - Do not use legacy 1.x types or mutating chains. - Build charts with ViewModifier composition. - Keep data source semantics explicit: - chartData([Double]) = categorical slots - chartData([(Double, Double)]) = numeric/continuous domain Use these APIs Task API --- --- Set data chartData(...) Set ranges chartXRange(...) , chartYRange(...) Style chart chartStyle(...) Grid config chartGridLines , chartGridStroke , chartGridBaseline Axis labels/ticks chartXAxisLabels , chartYAxisLabels , chartXAxisAutoTicks , chartYAxisAutoTicks Line tuning chartLineWidth , chartLineStyle , chartLineMarks , chartLineAnimation Shared interaction chartInteractionValue(...) Callback interaction chartSelectionHandler { event in ... } Streaming data ChartStreamingDataSource + chartData(stream) Large datasets chartPerformance(...) Avoid these legacy APIs - LineChartView , BarChartView , PieChartView , MultiLineChartView - .data(...) , .rangeX(...) , .rangeY(...) - .setAxisXLabels(...) , .setNumberOfHorizontalLines(...) - .showChartMarks(...) (old form) Installation Add with Swift Package Manager: https://github.com/AppPear/ChartView For this release, use tag 2.0.0 ","default_branch":null,"files":null,"tree":[],"storefront":"/r/AppPear","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AppPear/ChartView/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}