AAChartModel / AAChartKit
📈📊🚀🚀🚀An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的现代化声明式数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing AAChartModel/AAChartKit in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewAAChartKit **English Document 🇬🇧** | **简体中文文档 🇨🇳** The Swift version of AAChartKit can be found here: *https://github.com/AAChartModel/AAChartKit-Swift* Preface AAChartKit is an elegant and friendly (user-friendly && enviroment-friendly) chart framework for iOS, based on the open source JS libraries. AAChartKit is extremely powerful, easy to configure and a pleasure to use. Currently AAChartKit includes support for the following chart types: column chart, bar chart, area chart, area spline chart, line chart, spline chart, radar chart, polar chart, pie chart, bubble chart, pyramid chart, funnel chart, column range and area range chart. More chart types are planned to be supported. AAChartKit gives you easy and fast access to a wide range of chart types, hassle-free and quick to integrate into your own project. *** Features • 🎂 **Environment friendly**. Support 、 and . Totally support language, and there are more types version such as language version AAInfographics 、 language version AAChartCore 、 language version AAInfographics . To get more details you can see the source code links list. • 🚀 **Powerful and easy to use**. It supports , , , , , , , , , , , , , , and other graphics. Support for more chart types is planned. • 📝 **Modern Declarative Syntax**. Unlike previous imperative programming techniques, drawing any custom chart in AAChartKit, you don't need to care about the inner implementation details which is annoying && boring. *Describe what you want, you will get what you described*. • 🎮 **Interactive and animated**. The charts effect is exquisite, delicate, smooth and beautiful. • ⛓ **Chain programming**. Supports like *Masonry* . • 🦋 **Minimalist**. . The AAChartKit follows a minimalist formula: Chart view + Chart model = The chart you want, just like the powerful and beautiful charts lib AAInfographics. • 🖱 **Interaction event callback**. Support for monitoring user click events and single finger move over events, which can be used to achieve double charts linked-working and even multiple charts linkage, as well as other more complex custom user interaction effects. *** Beauty Appreciation | Column Chart | Column Range Chart | Area Chart | | :----: | :----: | :----: | | | | | | Line Chart | Step Area Chart | Step Line Chart | | :----: | :----: | :----: | | | | | | Spline Chart | Areaspline Chart | Stacked Polar Chart | | :----: | :----: | :----: | | | | | | Bubble Chart | Arearange Average Value Chart | Column Mixed Line Chart | | :----: | :----: | :----: | | | | | | Scatter Chart | Boxplot Chart | Mirror Column Chart | | :----: | :----: | :----: | | | | | Installation CocoaPods (recommended practice) • Add following content to your . • Run or . Manually (old school way) • Drag the folder into your project. • Add the following to your file. Usage • Add the following to your view controller file: • Create an instance object of chart view: • Configure the chart model properties: • Draw the chart (this method is only called the first time you create an AAChartView instance object) 🎉🎉🎉 Congratulations! Everything was done!!! You will get what you want!!! 🌈🌈🌈 Update chart content If you want to refresh chart content, you should do something as follow. According to your actual needs, select the function that fits you. • Refresh the chart data (this method is recommended for updating the series data dynamically) • Refresh the chart, minus the chart data (this method is recommended for subsequent refreshes after the first drawing of graphics has completed. If you want to update the chart data only, you should use the function ) Samples • ### line chart • ### column chart • ### bar chart • ### special area chart one • ### special area chart two • ### special area chart three • ### radar chart • ### polar chart • ### pie chart • ### bubble chart • ### scatter chart • ### arearange chart • ### step area chart • ### mixed chart More graphics >>> * Note: The following is a which has a size of around *6M*. If you don't see any dynamic preview, then this is because the picture resources were not fully loaded. In such a case please be patient and wait for the contents to finish loading. Maybe you need to reload this page. Special instructions Support user click events and move over events you can monitor the user touch events message through implementing delegate function for AAChartView instance object The received touch events message contain following content Monitoring user click events can achieve a variety of custom functions. For example, you can implement **Double Charts Linkage** through user click event callbacks. The example effects are as follows Support for custom the style of chart through function As we all know, AAChartKit support using String. Most of time, the 、 、 HTML string is enough for customizing chart tooltip string content, However, sometimes the needs of APP is so weird to satified, in this time, you can even customize the chart tooltip style via *JavaScript function*. For example • configuring AATooltip instance object properties as follow: you can get the customized tooltip style chart like this👇 • configuring AATooltip instance object properties as follow: you can get the customized tooltip style chart like this👇 Support value range segmentation • chart with value range segmentation • chart with value range segmentation • chart with value range segmentation Support scrolling update chart data Support data sorting with animation effect Supported chart types for now Supported zoom guesture types for now Suppported line dash style types for now `objective-c AACHARTKIT_EXTERN AAChart _...truncated for preview_