explaingit

aachartmodel/aachartkit

4,760Objective-CAudience · developerComplexity · 2/5Setup · easy

TLDR

A charting library for iOS, iPadOS, and macOS apps written in Objective-C. Add animated, interactive charts with minimal code using a simple model-view pattern powered by Highcharts.

Mindmap

mindmap
  root((AAChartKit))
    Chart Types
      Bar and column
      Line and spline
      Pie and radar
      Scatter and bubble
    Features
      Animations on load
      Touch interaction
      Live data refresh
    Platforms
      iOS and iPadOS
      macOS
    Setup
      CocoaPods install
      AAChartView and AAChartModel
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Add animated bar, line, pie, or radar charts to an iOS app without writing JavaScript.

USE CASE 2

Build a dashboard screen that refreshes charts live with new data and smooth animations.

USE CASE 3

Create touch-interactive visualizations that respond when users tap on data points.

Tech stack

Objective-CHighchartsCocoaPodsJavaScript

Getting it running

Difficulty · easy Time to first run · 30min

Requires CocoaPods and an Xcode project, can also be added manually by dragging the library folder into Xcode.

In plain English

AAChartKit is a charting library for iOS, iPadOS, and macOS apps, written in Objective-C. It lets developers add animated, interactive charts to Apple platform applications without writing much configuration code. The library wraps the Highcharts JavaScript charting engine and exposes it through a native Objective-C interface, so you work with familiar Apple patterns rather than writing JavaScript directly. The chart types it supports are wide-ranging: column charts, bar charts, line charts, area charts, spline curves, pie charts, scatter plots, bubble charts, radar charts, box plots, funnel charts, waterfall charts, range charts, and polar charts, among others. Charts animate when they appear and respond to touch, so tapping on a data point can trigger events your app code handles. The programming model is declarative and minimal. You create an AAChartView (the visual container) and an AAChartModel (the data and style settings), assign the model to the view, and the chart renders. Changing data or settings later and calling a refresh method updates the chart with another animation. The library also supports chained method calls for configuring options in a compact style. Installation is handled through CocoaPods, a standard package manager for Apple development, with a single line added to a Podfile. You can also add the library manually by dragging its folder into your Xcode project. The same family of libraries exists in Swift under the name AAInfographics, in Java as AAChartCore, and in Kotlin as AAChartCore-Kotlin, so teams working on cross-platform apps can use the same concepts across platforms. Both Chinese and English documentation are included in the repository. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Using AAChartKit in an Objective-C iOS app, show me how to create an AAChartView, set up an AAChartModel with a line chart showing monthly sales for 12 months, and display it in a UIViewController.
Prompt 2
I have AAChartKit installed via CocoaPods. How do I update the chart data and trigger a refresh animation when new data arrives from an API call?
Prompt 3
Using AAChartKit, create a radar chart that shows performance scores across 5 categories. Show me the full Objective-C code.
Prompt 4
How do I handle a tap event on a data point in AAChartKit and show a custom tooltip or trigger an action in my iOS app?
Open on GitHub → Explain another repo

← aachartmodel on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.