├── .gitignore ├── AAChartKit-Pro.podspec ├── AAChartKit-Pro ├── AAChartCreator │ ├── AAChartKit.h │ ├── AAChartModel.h │ ├── AAChartModel.m │ ├── AAChartView.h │ ├── AAChartView.m │ ├── AAGlobalMacro.h │ ├── AAOptions.h │ ├── AAOptions.m │ ├── AASeriesElement.h │ └── AASeriesElement.m ├── AAJSFiles.bundle │ ├── AAChartView.html │ ├── AAMaster │ │ ├── AAEasing.js │ │ ├── AAFunnel.js │ │ ├── AAHighcharts-More.js │ │ ├── AAHighcharts.js │ │ └── AARounded-Corners.js │ └── AAModules │ │ ├── AAArc-Diagram.js │ │ ├── AABullet.js │ │ ├── AAData.js │ │ ├── AADependency-Wheel.js │ │ ├── AADumbbell.js │ │ ├── AAFlame.js │ │ ├── AAHeatmap.js │ │ ├── AAHistogram-Bellcurve.js │ │ ├── AAItem-Series.js │ │ ├── AALollipop.js │ │ ├── AANetworkgraph.js │ │ ├── AAOrganization.js │ │ ├── AAParallel-Coordinates.js │ │ ├── AAPareto.js │ │ ├── AAPattern-Fill.js │ │ ├── AAPictorial.js │ │ ├── AASankey.js │ │ ├── AASolid-Gauge.js │ │ ├── AAStreamgraph.js │ │ ├── AASunburst.js │ │ ├── AATilemap.js │ │ ├── AATimeline.js │ │ ├── AATreegraph.js │ │ ├── AATreemap.js │ │ ├── AAVariable-Pie.js │ │ ├── AAVariwide.js │ │ ├── AAVector.js │ │ ├── AAVenn.js │ │ ├── AAWindbarb.js │ │ ├── AAWordcloud.js │ │ └── AAXrange.js ├── AAOptionsModel │ ├── AAAnimation.h │ ├── AAAnimation.m │ ├── AAAxis │ │ ├── AAChartAxisType.h │ │ ├── AACrosshair.h │ │ ├── AACrosshair.m │ │ ├── AAPlotBandsElement.h │ │ ├── AAPlotBandsElement.m │ │ ├── AAPlotLinesElement.h │ │ ├── AAPlotLinesElement.m │ │ ├── AAXAxis.h │ │ ├── AAXAxis.m │ │ ├── AAYAxis.h │ │ └── AAYAxis.m │ ├── AAChart.h │ ├── AAChart.m │ ├── AACredits.h │ ├── AACredits.m │ ├── AALabel │ │ ├── AADataLabels.h │ │ ├── AADataLabels.m │ │ ├── AADateTimeLabelFormats.h │ │ ├── AADateTimeLabelFormats.m │ │ ├── AALabel.h │ │ ├── AALabel.m │ │ ├── AALabels.h │ │ └── AALabels.m │ ├── AALang.h │ ├── AALang.m │ ├── AALegend.h │ ├── AALegend.m │ ├── AALineStyle.h │ ├── AALineStyle.m │ ├── AAMarker.h │ ├── AAMarker.m │ ├── AAPlotOptions.h │ ├── AAPlotOptions.m │ ├── AASeries │ │ ├── AAArea.h │ │ ├── AAArea.m │ │ ├── AAAreaspline.h │ │ ├── AAAreaspline.m │ │ ├── AABar.h │ │ ├── AABar.m │ │ ├── AABoxplot.h │ │ ├── AABoxplot.m │ │ ├── AABubble.h │ │ ├── AABubble.m │ │ ├── AAColumn.h │ │ ├── AAColumn.m │ │ ├── AAColumnrange.h │ │ ├── AAColumnrange.m │ │ ├── AALine.h │ │ ├── AALine.m │ │ ├── AAPane.h │ │ ├── AAPane.m │ │ ├── AAPie.h │ │ ├── AAPie.m │ │ ├── AAScatter.h │ │ ├── AAScatter.m │ │ ├── AASeries.h │ │ ├── AASeries.m │ │ ├── AASpline.h │ │ └── AASpline.m │ ├── AAShadow.h │ ├── AAShadow.m │ ├── AAStates.h │ ├── AAStates.m │ ├── AAStyle.h │ ├── AAStyle.m │ ├── AATitle.h │ ├── AATitle.m │ ├── AATooltip.h │ └── AATooltip.m ├── AAOptionsProModel │ ├── AAAxis │ │ ├── AAColorAxis.h │ │ ├── AAColorAxis.m │ │ ├── AAParallelAxes.h │ │ └── AAParallelAxes.m │ ├── AAChartKit-Pro.h │ ├── AAChartTypePro.h │ ├── AAChartTypePro.m │ ├── AAData.h │ ├── AAData.m │ ├── AADataElement │ │ ├── AABulletDataElement.h │ │ ├── AABulletDataElement.m │ │ ├── AASolidgaugeDataElement.h │ │ └── AASolidgaugeDataElement.m │ ├── AALayoutAlgorithm.h │ ├── AALayoutAlgorithm.m │ ├── AALevelsElement.h │ ├── AALevelsElement.m │ ├── AAPattern.h │ ├── AAPattern.m │ └── AASeries │ │ ├── AAHeatmap.h │ │ ├── AAHeatmap.m │ │ ├── AAItem.h │ │ ├── AAItem.m │ │ ├── AAOrganization.h │ │ ├── AAOrganization.m │ │ ├── AAPackedbubble.h │ │ ├── AAPackedbubble.m │ │ ├── AAPictorial.h │ │ ├── AAPictorial.m │ │ ├── AASolidgauge.h │ │ ├── AASolidgauge.m │ │ ├── AATreemap.h │ │ └── AATreemap.m └── AATool │ ├── Category │ ├── NSArray+toJSArray.h │ ├── NSArray+toJSArray.m │ ├── NSString+toPureJSString.h │ └── NSString+toPureJSString.m │ ├── Color │ ├── AAColor.h │ ├── AAColor.m │ ├── AAGradientColor.h │ └── AAGradientColor.m │ └── Convenience │ ├── AAMarginConvenience.h │ └── AAStyleConvenience.h ├── AAChartKit-ProDemo.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── AAChartKit-ProDemo ├── AAChartKit-ProDemo.entitlements ├── AppDelegate.h ├── AppDelegate.m ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── ChartsDemo │ ├── AAChartKit-Pro │ │ ├── Composer │ │ │ ├── AABubbleChartComposer.h │ │ │ ├── AABubbleChartComposer.m │ │ │ ├── AABubbleStellarChartComposer.h │ │ │ ├── AABubbleStellarChartComposer.m │ │ │ ├── AAColumnVariantChartComposer.h │ │ │ ├── AAColumnVariantChartComposer.m │ │ │ ├── AAHeatmapChartComposer.h │ │ │ ├── AAHeatmapChartComposer.m │ │ │ ├── AAMixedChartComposer.h │ │ │ ├── AAMixedChartComposer.m │ │ │ ├── AAOrganizationChartComposer.h │ │ │ ├── AAOrganizationChartComposer.m │ │ │ ├── AAPictorialPaths.h │ │ │ ├── AARelationshipChartComposer.h │ │ │ ├── AARelationshipChartComposer.m │ │ │ ├── AASankeyChartComposer.h │ │ │ ├── AASankeyChartComposer.m │ │ │ ├── AATilemapChartComposer.h │ │ │ ├── AATilemapChartComposer.m │ │ │ ├── AATreegraphChartComposer.h │ │ │ ├── AATreegraphChartComposer.m │ │ │ ├── AATreemapChartComposer.h │ │ │ └── AATreemapChartComposer.m │ │ ├── DataSource │ │ │ ├── AAOptionsCSV.h │ │ │ ├── AAOptionsCSV.m │ │ │ ├── AAOptionsData.h │ │ │ ├── AAOptionsData.m │ │ │ ├── AAOptionsSeries.h │ │ │ ├── AAOptionsSeries.m │ │ │ ├── DataJsonFiles │ │ │ │ ├── arcdiagram1Data.json │ │ │ │ ├── arcdiagram2Data.json │ │ │ │ ├── arcdiagram3Data.json │ │ │ │ ├── bellcurveData.json │ │ │ │ ├── bigHeatmapData.json │ │ │ │ ├── calendarHeatmapData.json │ │ │ │ ├── carnivoraPhylogenyNodesData.json │ │ │ │ ├── columnpyramidData.json │ │ │ │ ├── dependencywheelData.json │ │ │ │ ├── drilldownTreemapData.json │ │ │ │ ├── dumbbellData.json │ │ │ │ ├── eulerData.json │ │ │ │ ├── flameData.json │ │ │ │ ├── germanicLanguageTreeData.json │ │ │ │ ├── heatmapData.json │ │ │ │ ├── itemData.json │ │ │ │ ├── lollipopData.json │ │ │ │ ├── marathonData.json │ │ │ │ ├── networkgraphData.json │ │ │ │ ├── organizationData.json │ │ │ │ ├── organizationNodesData.json │ │ │ │ ├── sankeyData.json │ │ │ │ ├── simpleDependencyWheelData.json │ │ │ │ ├── simpleTilemapData.json │ │ │ │ ├── stellarChartData.json │ │ │ │ ├── sunburst2Data.json │ │ │ │ ├── sunburstData.json │ │ │ │ ├── tilemapData.json │ │ │ │ ├── tilemapForAfricaData.json │ │ │ │ ├── timelineData.json │ │ │ │ ├── treegraphData.json │ │ │ │ ├── treemapWithColorAxisData.json │ │ │ │ ├── treemapWithLevels2Data.json │ │ │ │ ├── treemapWithLevelsData.json │ │ │ │ ├── variablepieData.json │ │ │ │ ├── variwideData.json │ │ │ │ ├── vectorData.json │ │ │ │ ├── vennData.json │ │ │ │ ├── volinPlotElement1Data.json │ │ │ │ ├── volinPlotElement2Data.json │ │ │ │ ├── windbarbData.json │ │ │ │ └── wordcloudData.json │ │ │ └── SeriesJsonFiles │ │ │ │ ├── packedbubbleSeries.json │ │ │ │ ├── pictorial1Series.json │ │ │ │ ├── pictorial2Series.json │ │ │ │ ├── sankeyDiagramSeries.json │ │ │ │ ├── streamgraphSeries.json │ │ │ │ └── verticalSankeySeries.json │ │ ├── View │ │ │ ├── ChartExampleCollectionViewCell.h │ │ │ └── ChartExampleCollectionViewCell.m │ │ └── ViewController │ │ │ ├── AABaseChartVC.h │ │ │ ├── AABaseChartVC.m │ │ │ ├── AABubbleChartVC.h │ │ │ ├── AABubbleChartVC.m │ │ │ ├── AAColumnVariantChartVC.h │ │ │ ├── AAColumnVariantChartVC.m │ │ │ ├── AAHeatmapChartVC.h │ │ │ ├── AAHeatmapChartVC.m │ │ │ ├── AARelationshipChartVC.h │ │ │ ├── AARelationshipChartVC.m │ │ │ ├── AATilemapChartVC.h │ │ │ ├── AATilemapChartVC.m │ │ │ ├── AATreegraphChartVC.h │ │ │ ├── AATreegraphChartVC.m │ │ │ ├── AATreemapChartVC.h │ │ │ ├── AATreemapChartVC.m │ │ │ ├── BackgroundEffectsScene.h │ │ │ ├── BackgroundEffectsScene.m │ │ │ ├── ChartExampleCell.h │ │ │ ├── ChartExampleCell.m │ │ │ ├── ChartExampleCollectionViewCell.h │ │ │ ├── ChartExampleCollectionViewCell.m │ │ │ ├── ChartListCollectionViewVC.h │ │ │ ├── ChartListCollectionViewVC.m │ │ │ ├── ChartListTableViewVC.h │ │ │ ├── ChartListTableViewVC.m │ │ │ ├── ChartProVC.h │ │ │ ├── ChartProVC.m │ │ │ ├── ChartSampleProvider.h │ │ │ └── ChartSampleProvider.m │ ├── AAPlugins │ │ ├── AABoost │ │ │ ├── AABoost.h │ │ │ ├── AABoost.js │ │ │ ├── AABoost.m │ │ │ ├── AABoostChartComposer.h │ │ │ ├── AABoostChartComposer.m │ │ │ ├── AABoostChartVC.h │ │ │ ├── AABoostChartVC.m │ │ │ ├── AABoostFractalChartComposer.h │ │ │ ├── AABoostFractalChartComposer.m │ │ │ ├── AAOptions+boost.h │ │ │ └── AAOptions+boost.m │ │ ├── AADrilldown │ │ │ ├── AADrilldown.h │ │ │ ├── AADrilldown.js │ │ │ ├── AADrilldown.m │ │ │ ├── AADrilldownChartComposer.h │ │ │ ├── AADrilldownChartComposer.m │ │ │ ├── AADrilldownChartVC.h │ │ │ ├── AADrilldownChartVC.m │ │ │ ├── AAOptions+Drilldown.h │ │ │ └── AAOptions+Drilldown.m │ │ └── AAOptions3D │ │ │ ├── AAChart+Options3D.h │ │ │ ├── AAChart+Options3D.m │ │ │ ├── AAHighcharts-3D.js │ │ │ ├── AAOptions+ZAxis.h │ │ │ ├── AAOptions+ZAxis.m │ │ │ ├── AAOptions3D.h │ │ │ ├── AAOptions3D.m │ │ │ ├── AAOptions3DChartComposer.h │ │ │ ├── AAOptions3DChartComposer.m │ │ │ ├── AAOptions3DChartVC.h │ │ │ ├── AAOptions3DChartVC.m │ │ │ ├── AASeries+Depth.h │ │ │ └── AASeries+Depth.m │ ├── FirstViewController.h │ └── FirstViewController.m ├── Info.plist ├── PrefixHeader.pch └── main.m ├── AAChartKit-ProDemoTests ├── AAChartKitTests.m └── Info.plist ├── AAChartKit-ProDemoUITests ├── AAChartKitUITests.m └── Info.plist ├── AAChartKit-SwiftDemo └── ChartsDemo │ └── AAPlugins │ └── AABoost │ └── AABoostFractalChartComposer.swift ├── CHINESE-README.md ├── LICENSE ├── README.md └── _config.yml /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | # CocoaPods 32 | # 33 | # We recommend against adding the Pods directory to your .gitignore. However 34 | # you should judge for yourself, the pros and cons are mentioned at: 35 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 36 | # 37 | # Pods/ 38 | 39 | # Carthage 40 | # 41 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 42 | # Carthage/Checkouts 43 | 44 | Carthage/Build 45 | 46 | # fastlane 47 | # 48 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 49 | # screenshots whenever they are needed. 50 | # For more information about the recommended setup visit: 51 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 52 | 53 | fastlane/report.xml 54 | fastlane/Preview.html 55 | fastlane/screenshots/**/*.png 56 | fastlane/test_output 57 | 58 | # Code Injection 59 | # 60 | # After new code Injection tools there's a generated folder /iOSInjectionProject 61 | # https://github.com/johnno1962/injectionforxcode 62 | 63 | iOSInjectionProject/ 64 | .idea/.name 65 | .idea/AAChartKit-Pro.iml 66 | .idea/xcode.xml 67 | -------------------------------------------------------------------------------- /AAChartKit-Pro.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'AAChartKit-Pro' 3 | s.version = '0.0.7' 4 | s.summary = '📈📊🎓🎓🎓AAChartKit-Pro is a professional version of AAChartKit, it is an elegant and beutiful chart framework for iOS, iPadOS, macOS. AAChartKit-Pro is a more powerful data visualization framework that supports more types beautiful chart like bellcurve, bullet, columnpyramid, cylinder, dependencywheel, heatmap, histogram, networkgraph, organization, packedbubble, pareto, sankey, series, solidgauge, streamgraph, sunburst, tilemap, timeline, treemap, variablepie, variwide, vector, venn, windbarb, wordcloud, xrange charts and so on.' 5 | s.homepage = 'https://github.com/AAChartModel/AAChartKit-Pro' 6 | s.license = "Just for Test Demo" 7 | s.authors = {'An An' => '2236368544@qq.com'} 8 | s.source = {:git => 'https://github.com/AAChartModel/AAChartKit-Pro.git', :tag => s.version} 9 | s.social_media_url = 'https://github.com/AAChartModel' 10 | s.source_files = 'AAChartKit-Pro/**/*.{h,m}' 11 | s.resource_bundles = { 'AAChartKit-Pro' => 'AAChartKit-Pro/AAJSFiles.bundle' } 12 | s.prefix_header_contents = '#import "AAGlobalMacro.h"' 13 | s.requires_arc = true 14 | s.ios.frameworks = 'UIKit' 15 | s.ios.deployment_target = '9.0' 16 | s.osx.deployment_target = '10.11' 17 | end 18 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAChartCreator/AAChartKit.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAChartKit.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/13. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | #import "AAChartView.h" 33 | #import "AAGradientColor.h" 34 | #import "NSArray+toJSArray.h" 35 | #import "AAStyleConvenience.h" 36 | #import "AAMarginConvenience.h" 37 | 38 | 39 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAJSFiles.bundle/AAModules/AAFlame.js: -------------------------------------------------------------------------------- 1 | // Add new series type for the flame series 2 | 3 | (function (H) { 4 | H.seriesType('flame', 'columnrange', { 5 | cursor: 'pointer', 6 | dataLabels: { 7 | enabled: true, 8 | format: '{point.name}', 9 | inside: true, 10 | align: 'center', 11 | crop: true, 12 | overflow: 'none', 13 | color: 'black', 14 | style: { 15 | textOutline: 'none', 16 | fontWeight: 'normal' 17 | } 18 | }, 19 | point: { 20 | events: { 21 | click: function () { 22 | var point = this, 23 | chart = point.series.chart, 24 | series = point.series, 25 | xAxis = series.xAxis, 26 | yAxis = series.yAxis; 27 | 28 | xAxis.setExtremes(xAxis.min, point.x, false); 29 | yAxis.setExtremes(point.low, point.high, false); 30 | 31 | chart.showResetZoom(); 32 | chart.redraw(); 33 | } 34 | } 35 | }, 36 | pointPadding: 0, 37 | groupPadding: 0 38 | }, { 39 | drawDataLabels: H.seriesTypes.line.prototype.drawDataLabels 40 | }); 41 | }(Highcharts)); 42 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAJSFiles.bundle/AAModules/AALollipop.js: -------------------------------------------------------------------------------- 1 | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Series):"function"==typeof define&&define.amd?define("highcharts/modules/lollipop",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry,t.Series)}):"object"==typeof exports?exports["highcharts/modules/lollipop"]=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Series):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Series)}("undefined"==typeof window?this:window,(t,e,r)=>(()=>{"use strict";var o={512:t=>{t.exports=e},820:t=>{t.exports=r},944:e=>{e.exports=t}},s={};function i(t){var e=s[t];if(void 0!==e)return e.exports;var r=s[t]={exports:{}};return o[t](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var a={};i.d(a,{default:()=>H});var n=i(944),p=i.n(n),l=i(512),d=i.n(l);let{series:{prototype:{pointClass:h}},seriesTypes:{scatter:{prototype:{pointClass:c}},dumbbell:{prototype:{pointClass:g}}}}=d(),{extend:u}=p();class y extends h{}u(y.prototype,{destroy:g.prototype.destroy,pointSetState:c.prototype.setState,setState:g.prototype.setState});var f=i(820),b=i.n(f);let{seriesTypes:{column:{prototype:x},dumbbell:{prototype:S},scatter:v}}=d(),{extend:C,merge:w}=p();class m extends b(){drawPoints(){let t=this.points.length,e=0,r;for(super.drawPoints.apply(this,arguments);e(()=>{"use strict";var r={512:e=>{e.exports=t},944:t=>{t.exports=e}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={exports:{}};return r[e](i,i.exports,s),i.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var i={};s.d(i,{default:()=>u});var o=s(944),n=s.n(o),h=s(512),d=s.n(h);let{areaspline:p}=d().seriesTypes,{addEvent:c,merge:l,extend:f}=n();class g extends p{streamStacker(e,t,r){e[0]-=t.total/2,e[1]-=t.total/2,this.stackedYData&&(this.stackedYData[r]=Math.max.apply(0,e))}}g.defaultOptions=l(p.defaultOptions,{fillOpacity:1,lineWidth:0,marker:{enabled:!1},stacking:"stream"}),c(g,"afterGetExtremes",e=>{e.dataExtremes.dataMin=-e.dataExtremes.dataMax}),f(g.prototype,{negStacks:!1}),d().registerSeriesType("streamgraph",g);let u=n();return i.default})()); -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AAAnimation.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAAnimation.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/19. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface AAAnimation : NSObject 36 | 37 | AAPropStatementAndPropSetFuncStatement(strong, AAAnimation, NSNumber *, duration) 38 | AAPropStatementAndPropSetFuncStatement(assign, AAAnimation, NSInteger , easing) 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AAAnimation.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAAnimation.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/19. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AAAnimation.h" 34 | 35 | @implementation AAAnimation 36 | 37 | AAPropSetFuncImplementation(AAAnimation, NSNumber *, duration) 38 | AAPropSetFuncImplementation(AAAnimation, NSInteger , easing) 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AAAxis/AAChartAxisType.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAChartAxisType.h 3 | // AAChartKitDemo 4 | // 5 | // Created by Admin on 2021/7/16. 6 | // Copyright © 2021 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #ifndef AAChartAxisType_h 34 | #define AAChartAxisType_h 35 | 36 | typedef NSString *AAChartAxisType; 37 | 38 | static AAChartAxisType const AAChartAxisTypeLinear = @"linear";//线性轴 39 | static AAChartAxisType const AAChartAxisTypeLogarithmic = @"logarithmic";//对数轴 40 | static AAChartAxisType const AAChartAxisTypeDatetime = @"datetime";//时间轴 41 | static AAChartAxisType const AAChartAxisTypeCategory = @"category";//分类轴 42 | 43 | #endif /* AAChartAxisType_h */ 44 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AAAxis/AAPlotBandsElement.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAPlotBandsElement.m 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2018/12/23. 6 | // Copyright © 2018 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AAPlotBandsElement.h" 34 | 35 | @implementation AAPlotBandsElement 36 | 37 | AAPropSetFuncImplementation(AAPlotBandsElement, NSString *, borderColor) 38 | AAPropSetFuncImplementation(AAPlotBandsElement, NSNumber *, borderWidth) 39 | AAPropSetFuncImplementation(AAPlotBandsElement, NSString *, className) 40 | AAPropSetFuncImplementation(AAPlotBandsElement, NSString *, color) 41 | AAPropSetFuncImplementation(AAPlotBandsElement, NSNumber *, from) 42 | AAPropSetFuncImplementation(AAPlotBandsElement, NSDictionary *, label) 43 | AAPropSetFuncImplementation(AAPlotBandsElement, NSNumber *, to) 44 | AAPropSetFuncImplementation(AAPlotBandsElement, NSUInteger , zIndex) 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AAAxis/AAPlotLinesElement.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAPlotLinesElement.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/6. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | @class AALabel; 35 | 36 | @interface AAPlotLinesElement : NSObject 37 | 38 | AAPropStatementAndPropSetFuncStatement(copy, AAPlotLinesElement, NSString *, color) //基线颜色 39 | AAPropStatementAndPropSetFuncStatement(copy, AAPlotLinesElement, NSString *, dashStyle) //基线样式Dash,Dot,Solid,默认Solid 40 | AAPropStatementAndPropSetFuncStatement(strong, AAPlotLinesElement, NSNumber *, width) //基线宽度 41 | AAPropStatementAndPropSetFuncStatement(strong, AAPlotLinesElement, NSNumber *, value) //显示位置 42 | AAPropStatementAndPropSetFuncStatement(strong, AAPlotLinesElement, NSNumber *, zIndex)//层叠,标示线在图表中显示的层叠级别,值越大,显示越向前,默认标示线显示在数据线之后 43 | AAPropStatementAndPropSetFuncStatement(strong, AAPlotLinesElement, AALabel *, label) //标示线的文字标签,用来描述标示线 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AAAxis/AAPlotLinesElement.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAPlotLinesElement.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/6. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AAPlotLinesElement.h" 34 | 35 | @implementation AAPlotLinesElement 36 | 37 | AAPropSetFuncImplementation(AAPlotLinesElement, NSString *, color) //基线颜色 38 | AAPropSetFuncImplementation(AAPlotLinesElement, NSString *, dashStyle) //基线样式Dash,Dot,Solid,默认Solid 39 | AAPropSetFuncImplementation(AAPlotLinesElement, NSNumber *, width) //基线宽度 40 | AAPropSetFuncImplementation(AAPlotLinesElement, NSNumber *, value) //显示位置 41 | AAPropSetFuncImplementation(AAPlotLinesElement, NSNumber *, zIndex) //层叠,标示线在图表中显示的层叠级别,值越大,显示越向前,默认标示线显示在数据线之后 42 | AAPropSetFuncImplementation(AAPlotLinesElement, AALabel *, label) //标示线的文字标签,用来描述标示线 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AACredits.h: -------------------------------------------------------------------------------- 1 | // 2 | // AACredits.h 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2020/7/17. 6 | // Copyright © 2020 AnAn. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @class AAPosition, AAStyle; 36 | 37 | @interface AACredits : NSObject 38 | 39 | AAPropStatementAndPropSetFuncStatement(assign, AACredits, BOOL, enabled) 40 | AAPropStatementAndPropSetFuncStatement(copy, AACredits, NSString *, href) 41 | AAPropStatementAndPropSetFuncStatement(strong, AACredits, AAPosition *, position) 42 | AAPropStatementAndPropSetFuncStatement(strong, AACredits, AAStyle *, style) 43 | AAPropStatementAndPropSetFuncStatement(copy, AACredits, NSString *, text) 44 | 45 | @end 46 | 47 | 48 | @interface AAPosition : NSObject 49 | 50 | AAPropStatementAndPropSetFuncStatement(copy, AAPosition, NSString *, align) 51 | AAPropStatementAndPropSetFuncStatement(copy, AAPosition, NSString *, verticalAlign) 52 | AAPropStatementAndPropSetFuncStatement(strong, AAPosition, NSNumber *, x) 53 | AAPropStatementAndPropSetFuncStatement(strong, AAPosition, NSNumber *, y) 54 | 55 | @end 56 | 57 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AACredits.m: -------------------------------------------------------------------------------- 1 | // 2 | // AACredits.m 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2020/7/17. 6 | // Copyright © 2020 AnAn. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AACredits.h" 34 | 35 | @implementation AACredits 36 | 37 | AAPropSetFuncImplementation(AACredits, BOOL, enabled) 38 | AAPropSetFuncImplementation(AACredits, NSString *, href) 39 | AAPropSetFuncImplementation(AACredits, AAPosition *, position) 40 | AAPropSetFuncImplementation(AACredits, AAStyle *, style) 41 | AAPropSetFuncImplementation(AACredits, NSString *, text) 42 | 43 | @end 44 | 45 | 46 | @implementation AAPosition 47 | 48 | AAPropSetFuncImplementation(AAPosition, NSString *, align) 49 | AAPropSetFuncImplementation(AAPosition, NSString *, verticalAlign) 50 | AAPropSetFuncImplementation(AAPosition, NSNumber *, x) 51 | AAPropSetFuncImplementation(AAPosition, NSNumber *, y) 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AALabel/AADateTimeLabelFormats.h: -------------------------------------------------------------------------------- 1 | // 2 | // AADateTimeLabelFormats.h 3 | // AAChartKitDemo 4 | // 5 | // Created by An An on 2021/7/16. 6 | // Copyright © 2021 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface AADateTimeLabelFormats : NSObject 36 | 37 | AAPropStatementAndPropSetFuncStatement(copy, AADateTimeLabelFormats, NSString *, millisecond) 38 | AAPropStatementAndPropSetFuncStatement(copy, AADateTimeLabelFormats, NSString *, second) 39 | AAPropStatementAndPropSetFuncStatement(copy, AADateTimeLabelFormats, NSString *, minute) 40 | AAPropStatementAndPropSetFuncStatement(copy, AADateTimeLabelFormats, NSString *, hour) 41 | AAPropStatementAndPropSetFuncStatement(copy, AADateTimeLabelFormats, NSString *, day) 42 | AAPropStatementAndPropSetFuncStatement(copy, AADateTimeLabelFormats, NSString *, week) 43 | AAPropStatementAndPropSetFuncStatement(copy, AADateTimeLabelFormats, NSString *, month) 44 | AAPropStatementAndPropSetFuncStatement(copy, AADateTimeLabelFormats, NSString *, year) 45 | 46 | @end 47 | 48 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AALabel/AADateTimeLabelFormats.m: -------------------------------------------------------------------------------- 1 | // 2 | // AADateTimeLabelFormats.m 3 | // AAChartKitDemo 4 | // 5 | // Created by An An on 2021/7/16. 6 | // Copyright © 2021 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AADateTimeLabelFormats.h" 34 | 35 | @implementation AADateTimeLabelFormats 36 | 37 | AAPropSetFuncImplementation(AADateTimeLabelFormats, NSString *, millisecond) 38 | AAPropSetFuncImplementation(AADateTimeLabelFormats, NSString *, second) 39 | AAPropSetFuncImplementation(AADateTimeLabelFormats, NSString *, minute) 40 | AAPropSetFuncImplementation(AADateTimeLabelFormats, NSString *, hour) 41 | AAPropSetFuncImplementation(AADateTimeLabelFormats, NSString *, day) 42 | AAPropSetFuncImplementation(AADateTimeLabelFormats, NSString *, week) 43 | AAPropSetFuncImplementation(AADateTimeLabelFormats, NSString *, month) 44 | AAPropSetFuncImplementation(AADateTimeLabelFormats, NSString *, year) 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AALabel/AALabel.h: -------------------------------------------------------------------------------- 1 | // 2 | // AALabel.h 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2018/12/30. 6 | // Copyright © 2018 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | @class AAStyle; 35 | 36 | @interface AALabel : NSObject 37 | 38 | AAPropStatementAndPropSetFuncStatement(copy, AALabel, NSString *, align)//标签的对齐方式,可用的值有 "left"、"center" 及 "right"。默认值是根据坐标轴的位置(在图表中的位置)即标签的旋转角度进行智能判断的。 默认是:center. 39 | AAPropStatementAndPropSetFuncStatement(strong, AALabel, NSNumber *, rotation)//标签的旋转角度 默认是:0. 40 | AAPropStatementAndPropSetFuncStatement(copy, AALabel, NSString *, text)//文字 41 | AAPropStatementAndPropSetFuncStatement(copy, AALabel, NSString *, textAlign)//文字对齐 42 | AAPropStatementAndPropSetFuncStatement(assign, AALabel, BOOL , useHTML)//HTML渲染 43 | AAPropStatementAndPropSetFuncStatement(copy, AALabel, NSString *, verticalAlign)//竖直对齐 44 | AAPropStatementAndPropSetFuncStatement(strong, AALabel, AAStyle *, style)//轴标签的 CSS 样式 45 | AAPropStatementAndPropSetFuncStatement(strong, AALabel, NSNumber *, x)//水平偏移 46 | AAPropStatementAndPropSetFuncStatement(strong, AALabel, NSNumber *, y)// 竖直偏移 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AALabel/AALabel.m: -------------------------------------------------------------------------------- 1 | // 2 | // AALabel.m 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2018/12/30. 6 | // Copyright © 2018 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AALabel.h" 34 | 35 | @implementation AALabel 36 | 37 | AAPropSetFuncImplementation(AALabel, NSString *, align)//标签的对齐方式,可用的值有 "left"、"center" 及 "right"。默认值是根据坐标轴的位置(在图表中的位置)即标签的旋转角度进行智能判断的。 默认是:center. 38 | AAPropSetFuncImplementation(AALabel, NSNumber *, rotation)//标签的旋转角度 默认是:0. 39 | AAPropSetFuncImplementation(AALabel, NSString *, text)//文字 40 | AAPropSetFuncImplementation(AALabel, NSString *, textAlign)//文字对齐 41 | AAPropSetFuncImplementation(AALabel, BOOL , useHTML)//HTML渲染 42 | AAPropSetFuncImplementation(AALabel, NSString *, verticalAlign)//竖直对齐 43 | AAPropSetFuncImplementation(AALabel, AAStyle *, style)//轴标签的 CSS 样式 44 | AAPropSetFuncImplementation(AALabel, NSNumber *, x)//水平偏移 45 | AAPropSetFuncImplementation(AALabel, NSNumber *, y)// 竖直偏移 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AALang.h: -------------------------------------------------------------------------------- 1 | // 2 | // AALang.h 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2020/7/17. 6 | // Copyright © 2020 AnAn. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface AALang : NSObject 36 | 37 | AAPropStatementAndPropSetFuncStatement(copy, AALang, NSString *, noData) //没有数据 38 | AAPropStatementAndPropSetFuncStatement(strong, AALang, NSNumber *, numericSymbolMagnitude) //国际单位符基数 39 | AAPropStatementAndPropSetFuncStatement(strong, AALang, NSArray *, numericSymbols) //国际单位符 40 | AAPropStatementAndPropSetFuncStatement(copy, AALang, NSString *, resetZoom) // 重置缩放比例 41 | AAPropStatementAndPropSetFuncStatement(copy, AALang, NSString *, thousandsSep) // 千分号 42 | 43 | @end 44 | 45 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AALang.m: -------------------------------------------------------------------------------- 1 | // 2 | // AALang.m 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2020/7/17. 6 | // Copyright © 2020 AnAn. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AALang.h" 34 | 35 | @implementation AALang 36 | 37 | AAPropSetFuncImplementation(AALang, NSString *, noData) //没有数据 38 | AAPropSetFuncImplementation(AALang, NSNumber *, numericSymbolMagnitude) //国际单位符基数 39 | AAPropSetFuncImplementation(AALang, NSArray *, numericSymbols) //国际单位符 40 | AAPropSetFuncImplementation(AALang, NSString *, resetZoom) // 重置缩放比例 41 | AAPropSetFuncImplementation(AALang, NSString *, thousandsSep) //千分号 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AAArea.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAArea.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/15. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @class AADataLabels; 36 | 37 | @interface AAArea : NSObject 38 | 39 | AAPropStatementAndPropSetFuncStatement(strong, AAArea, AADataLabels *, dataLabels) 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AAArea.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAArea.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/15. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AAArea.h" 34 | 35 | @implementation AAArea 36 | 37 | AAPropSetFuncImplementation(AAArea, AADataLabels *, dataLabels) 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AAAreaspline.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAAreaspline.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/15. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @class AADataLabels; 36 | 37 | @interface AAAreaspline : NSObject 38 | 39 | AAPropStatementAndPropSetFuncStatement(strong, AAAreaspline, AADataLabels *, dataLabels) 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AAAreaspline.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAAreaspline.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/15. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AAAreaspline.h" 34 | 35 | @implementation AAAreaspline 36 | 37 | AAPropSetFuncImplementation(AAAreaspline, AADataLabels *, dataLabels) 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AABoxplot.m: -------------------------------------------------------------------------------- 1 | // 2 | // AABoxplot.h 3 | // AAChartKit 4 | // 5 | // Created by AnAn on 2022/8/29. 6 | // Copyright (c) 2022 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AABoxplot.h" 34 | 35 | 36 | @implementation AABoxplot 37 | 38 | AAPropSetFuncImplementation(AABoxplot, NSString *, boxDashStyle) 39 | AAPropSetFuncImplementation(AABoxplot, NSString *, fillColor) 40 | AAPropSetFuncImplementation(AABoxplot, NSNumber *, lineWidth) 41 | AAPropSetFuncImplementation(AABoxplot, NSString *, medianColor) 42 | AAPropSetFuncImplementation(AABoxplot, NSString *, medianDashStyle) 43 | AAPropSetFuncImplementation(AABoxplot, NSNumber *, medianWidth) 44 | AAPropSetFuncImplementation(AABoxplot, NSString *, stemColor) 45 | AAPropSetFuncImplementation(AABoxplot, NSString *, stemDashStyle) 46 | AAPropSetFuncImplementation(AABoxplot, NSNumber *, stemWidth) 47 | AAPropSetFuncImplementation(AABoxplot, NSString *, whiskerColor) 48 | AAPropSetFuncImplementation(AABoxplot, NSString *, whiskerDashStyle) 49 | AAPropSetFuncImplementation(AABoxplot, NSString *, whiskerLength) 50 | AAPropSetFuncImplementation(AABoxplot, NSNumber *, whiskerWidth) 51 | 52 | @end -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AABubble.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABubble.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/11. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AABubble : NSObject 14 | 15 | //// .minSizeSet(@1) 16 | // .maxSizeSet(@10) 17 | 18 | AAPropStatementAndPropSetFuncStatement(strong, AABubble, NSNumber *, minSize) 19 | AAPropStatementAndPropSetFuncStatement(strong, AABubble, NSNumber *, maxSize) 20 | 21 | @end 22 | 23 | NS_ASSUME_NONNULL_END 24 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AABubble.m: -------------------------------------------------------------------------------- 1 | // 2 | // AABubble.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/11. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AABubble.h" 10 | 11 | @implementation AABubble 12 | 13 | AAPropSetFuncImplementation(AABubble, NSNumber *, minSize) 14 | AAPropSetFuncImplementation(AABubble, NSNumber *, maxSize) 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AALine.h: -------------------------------------------------------------------------------- 1 | // 2 | // AALine.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/6. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @class AADataLabels, AAStates, AAMarker; 36 | 37 | @interface AALine : NSObject 38 | 39 | AAPropStatementAndPropSetFuncStatement(strong, AALine, NSNumber *, lineWidth) //设置折线的宽度 40 | AAPropStatementAndPropSetFuncStatement(copy, AALine, NSString *, color) //设置折线的颜色 41 | AAPropStatementAndPropSetFuncStatement(strong, AALine, AAMarker *, marker) //折线的数据点标记 42 | AAPropStatementAndPropSetFuncStatement(strong, AALine, AADataLabels *, dataLabels) 43 | AAPropStatementAndPropSetFuncStatement(copy, AALine, NSString *, dashStyle) //折线的样式类型 44 | AAPropStatementAndPropSetFuncStatement(strong, AALine, AAStates *, states) 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AALine.m: -------------------------------------------------------------------------------- 1 | // 2 | // AALine.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/6. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AALine.h" 34 | 35 | @implementation AALine 36 | //AAPropStatementAndPropSetFuncStatement(strong, AALine, NSNumber *, lineWidth) //设置折线的宽度 37 | //AAPropStatementAndPropSetFuncStatement(copy, AALine, NSString *, color) //设置折线的颜色 38 | //AAPropStatementAndPropSetFuncStatement(strong, AALine, AAMarker *, marker) //折线的数据点标记 39 | //AAPropStatementAndPropSetFuncStatement(strong, AALine, AADataLabels *, dataLabels) 40 | //AAPropStatementAndPropSetFuncStatement(copy, AALine, NSString *, dashStyle) //折线的样式类型 41 | //AAPropStatementAndPropSetFuncStatement(strong, AALine, AAStates *, states) 42 | AAPropSetFuncImplementation(AALine, NSNumber *, lineWidth) 43 | AAPropSetFuncImplementation(AALine, NSString *, color) 44 | AAPropSetFuncImplementation(AALine, AAMarker *, marker) 45 | AAPropSetFuncImplementation(AALine, AADataLabels *, dataLabels) 46 | AAPropSetFuncImplementation(AALine, NSString *, dashStyle) 47 | AAPropSetFuncImplementation(AALine, AAStates *, states) 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AAPie.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAPie.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/9. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @class AADataLabels; 36 | 37 | @interface AAPie : NSObject 38 | 39 | AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, size) 40 | AAPropStatementAndPropSetFuncStatement(assign, AAPie, BOOL, allowPointSelect) 41 | AAPropStatementAndPropSetFuncStatement(copy, AAPie, NSString *, cursor) 42 | AAPropStatementAndPropSetFuncStatement(strong, AAPie, AADataLabels *, dataLabels) 43 | AAPropStatementAndPropSetFuncStatement(assign, AAPie, BOOL, showInLegend) 44 | AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, startAngle) 45 | AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, endAngle) 46 | AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, depth) 47 | AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSArray *, center) 48 | AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, innerSize) 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AAPie.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAPie.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/9. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AAPie.h" 34 | 35 | @implementation AAPie 36 | 37 | AAPropSetFuncImplementation(AAPie, NSNumber *, size) 38 | AAPropSetFuncImplementation(AAPie, BOOL, allowPointSelect) 39 | AAPropSetFuncImplementation(AAPie, NSString *, cursor) 40 | AAPropSetFuncImplementation(AAPie, AADataLabels *, dataLabels) 41 | AAPropSetFuncImplementation(AAPie, BOOL, showInLegend) 42 | AAPropSetFuncImplementation(AAPie, NSNumber *, startAngle) 43 | AAPropSetFuncImplementation(AAPie, NSNumber *, endAngle) 44 | AAPropSetFuncImplementation(AAPie, NSNumber *, depth) 45 | AAPropSetFuncImplementation(AAPie, NSArray *, center) 46 | AAPropSetFuncImplementation(AAPie, NSNumber *, innerSize) 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AAScatter.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAScatter.h 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2022/9/4. 6 | // Copyright © 2022 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @class AAStates, AAMarker; 36 | 37 | @interface AAScatter : NSObject 38 | 39 | AAPropStatementAndPropSetFuncStatement(copy, AAScatter, NSNumber *, lineWidth) 40 | AAPropStatementAndPropSetFuncStatement(copy, AAScatter, NSString *, lineColor) 41 | AAPropStatementAndPropSetFuncStatement(copy, AAScatter, NSString *, dashStyle) 42 | AAPropStatementAndPropSetFuncStatement(copy, AAScatter, id , enableMouseTracking) 43 | AAPropStatementAndPropSetFuncStatement(copy, AAScatter, NSString *, linkedTo) 44 | AAPropStatementAndPropSetFuncStatement(strong, AAScatter, AAStates *, states) 45 | AAPropStatementAndPropSetFuncStatement(strong, AAScatter, AAMarker *, marker) 46 | 47 | @end 48 | 49 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AAScatter.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAScatter.m 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2022/9/4. 6 | // Copyright © 2022 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AAScatter.h" 34 | 35 | @implementation AAScatter 36 | 37 | AAPropSetFuncImplementation(AAScatter, NSNumber *, lineWidth) 38 | AAPropSetFuncImplementation(AAScatter, NSString *, lineColor) 39 | AAPropSetFuncImplementation(AAScatter, NSString *, dashStyle) 40 | AAPropSetFuncImplementation(AAScatter, id , enableMouseTracking) 41 | AAPropSetFuncImplementation(AAScatter, NSString *, linkedTo) 42 | AAPropSetFuncImplementation(AAScatter, AAStates *, states) 43 | AAPropSetFuncImplementation(AAScatter, AAMarker *, marker) 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AASpline.h: -------------------------------------------------------------------------------- 1 | // 2 | // AASpline.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/19. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @class AADataLabels, AAStates; 36 | 37 | @interface AASpline : NSObject 38 | 39 | AAPropStatementAndPropSetFuncStatement(strong, AASpline, AADataLabels *, dataLabels) 40 | //AAPropStatementAndPropSetFuncStatement(assign, AASpline, BOOL, enableMouseTracking) 41 | AAPropStatementAndPropSetFuncStatement(strong, AASpline, AAStates *, states) 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AASeries/AASpline.m: -------------------------------------------------------------------------------- 1 | // 2 | // AASpline.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/19. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AASpline.h" 34 | 35 | @implementation AASpline 36 | 37 | AAPropSetFuncImplementation(AASpline, AADataLabels *, dataLabels) 38 | //AAPropSetFuncImplementation(AASpline, BOOL , enableMouseTracking) 39 | AAPropSetFuncImplementation(AASpline, AAStates *, states) 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AAShadow.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAShadow.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/7/16. 6 | // Copyright © 2020 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface AAShadow : NSObject 36 | 37 | AAPropStatementAndPropSetFuncStatement(copy, AAShadow, NSString *, color) 38 | AAPropStatementAndPropSetFuncStatement(strong, AAShadow, NSNumber *, offsetX) 39 | AAPropStatementAndPropSetFuncStatement(strong, AAShadow, NSNumber *, offsetY) 40 | AAPropStatementAndPropSetFuncStatement(strong, AAShadow, NSNumber *, opacity) 41 | AAPropStatementAndPropSetFuncStatement(strong, AAShadow, NSNumber *, width) 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AAShadow.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAShadow.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/7/16. 6 | // Copyright © 2020 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AAShadow.h" 34 | 35 | @implementation AAShadow : NSObject 36 | 37 | AAPropSetFuncImplementation(AAShadow, NSString *, color) 38 | AAPropSetFuncImplementation(AAShadow, NSNumber *, offsetX) 39 | AAPropSetFuncImplementation(AAShadow, NSNumber *, offsetY) 40 | AAPropSetFuncImplementation(AAShadow, NSNumber *, opacity) 41 | AAPropSetFuncImplementation(AAShadow, NSNumber *, width) 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsModel/AATitle.m: -------------------------------------------------------------------------------- 1 | // 2 | // AATitle.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/5. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "AATitle.h" 34 | 35 | @implementation AATitle 36 | 37 | AAPropSetFuncImplementation(AATitle, NSString *, text) 38 | AAPropSetFuncImplementation(AATitle, AAStyle *, style) 39 | AAPropSetFuncImplementation(AATitle, NSString *, align) 40 | AAPropSetFuncImplementation(AATitle, NSString *, verticalAlign) 41 | AAPropSetFuncImplementation(AATitle, NSNumber *, x) //标题相对于水平对齐的偏移量,取值范围为:图表左边距到图表右边距,可以是负值,单位px。 默认是:0. 42 | AAPropSetFuncImplementation(AATitle, NSNumber *, y) //标题相对于垂直对齐的偏移量,取值范围:图表的上边距(chart.spacingTop )到图表的下边距(chart.spacingBottom),可以是负值,单位是px。默认值和字体大小有关。 43 | AAPropSetFuncImplementation(AATitle, BOOL , useHTML) //是否 使用HTML渲染标题。 默认是:false. 44 | 45 | @end 46 | 47 | 48 | @implementation AASubtitle 49 | 50 | AAPropSetFuncImplementation(AASubtitle, NSString *, text) 51 | AAPropSetFuncImplementation(AASubtitle, NSString *, align) 52 | AAPropSetFuncImplementation(AASubtitle, AAStyle *, style) 53 | AAPropSetFuncImplementation(AASubtitle, NSNumber *, x) 54 | AAPropSetFuncImplementation(AASubtitle, NSNumber *, y) 55 | 56 | @end 57 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAAxis/AAColorAxis.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAColorAxis.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/6. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @class AADataClassesElement, AALabels; 14 | 15 | @interface AAColorAxis : NSObject 16 | 17 | AAPropStatementAndPropSetFuncStatement(strong, AAColorAxis, NSNumber *, min) 18 | AAPropStatementAndPropSetFuncStatement(copy, AAColorAxis, NSString *, minColor) 19 | AAPropStatementAndPropSetFuncStatement(copy, AAColorAxis, NSString *, maxColor) 20 | AAPropStatementAndPropSetFuncStatement(strong, AAColorAxis, NSArray *, dataClasses) 21 | AAPropStatementAndPropSetFuncStatement(strong, AAColorAxis, NSArray *, stops) 22 | AAPropStatementAndPropSetFuncStatement(strong, AAColorAxis, NSNumber *, max) 23 | AAPropStatementAndPropSetFuncStatement(assign, AAColorAxis, BOOL , startOnTick) 24 | AAPropStatementAndPropSetFuncStatement(assign, AAColorAxis, BOOL , endOnTick) 25 | AAPropStatementAndPropSetFuncStatement(strong, AAColorAxis, AALabels *, labels) 26 | 27 | @end 28 | 29 | @interface AADataClassesElement : NSObject 30 | 31 | AAPropStatementAndPropSetFuncStatement(strong, AADataClassesElement, NSNumber *, from) 32 | AAPropStatementAndPropSetFuncStatement(strong, AADataClassesElement, NSNumber *, to) 33 | AAPropStatementAndPropSetFuncStatement(copy, AADataClassesElement, NSString *, color) 34 | AAPropStatementAndPropSetFuncStatement(copy, AADataClassesElement, NSString *, name) 35 | 36 | @end 37 | 38 | NS_ASSUME_NONNULL_END 39 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAAxis/AAColorAxis.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAColorAxis.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/6. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import "AAColorAxis.h" 10 | 11 | @implementation AAColorAxis 12 | 13 | AAPropSetFuncImplementation(AAColorAxis, NSNumber *, min) 14 | AAPropSetFuncImplementation(AAColorAxis, NSString *, minColor) 15 | AAPropSetFuncImplementation(AAColorAxis, NSString *, maxColor) 16 | AAPropSetFuncImplementation(AAColorAxis, NSArray *, dataClasses) 17 | AAPropSetFuncImplementation(AAColorAxis, NSArray *, stops) 18 | AAPropSetFuncImplementation(AAColorAxis, NSNumber *, max) 19 | AAPropSetFuncImplementation(AAColorAxis, BOOL , startOnTick) 20 | AAPropSetFuncImplementation(AAColorAxis, BOOL , endOnTick) 21 | AAPropSetFuncImplementation(AAColorAxis, AALabels *, labels) 22 | 23 | @end 24 | 25 | @implementation AADataClassesElement 26 | 27 | AAPropSetFuncImplementation(AADataClassesElement, NSNumber *, from) 28 | AAPropSetFuncImplementation(AADataClassesElement, NSNumber *, to) 29 | AAPropSetFuncImplementation(AADataClassesElement, NSString *, color) 30 | AAPropSetFuncImplementation(AADataClassesElement, NSString *, name) 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAAxis/AAParallelAxes.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAParallelAxes.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/9. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AAParallelAxes : NSObject 14 | 15 | AAPropStatementAndPropSetFuncStatement(strong, AAParallelAxes, NSNumber *, lineWidth) 16 | 17 | @end 18 | 19 | NS_ASSUME_NONNULL_END 20 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAAxis/AAParallelAxes.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAParallelAxes.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/9. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AAParallelAxes.h" 10 | 11 | @implementation AAParallelAxes 12 | 13 | AAPropSetFuncImplementation(AAParallelAxes, NSNumber *, lineWidth) 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAChartKit-Pro.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAChartKit-Pro.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #ifndef AAChartKit_Pro_h 10 | #define AAChartKit_Pro_h 11 | 12 | #import "AAChartKit.h" 13 | 14 | #import "AAChartTypePro.h" 15 | #import "AALevelsElement.h" 16 | #import "AAPackedbubble.h" 17 | #import "AATreemap.h" 18 | #import "AAItem.h" 19 | #import "AALayoutAlgorithm.h" 20 | #import "AASolidgaugeDataElement.h" 21 | #import "AASolidgauge.h" 22 | #import "AAHeatmap.h" 23 | #import "AAParallelAxes.h" 24 | #import "AABulletDataElement.h" 25 | #import "AAPictorial.h" 26 | #import "AAOrganization.h" 27 | 28 | #endif /* AAChartKit_Pro_h */ 29 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAChartTypePro.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAChartTypePro.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/11. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AAChartModel.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAChartTypePro : NSObject 15 | 16 | AACHARTKIT_EXTERN AAChartType const AAChartTypeSankey; 17 | AACHARTKIT_EXTERN AAChartType const AAChartTypeVariablepie; 18 | AACHARTKIT_EXTERN AAChartType const AAChartTypeTreemap; 19 | AACHARTKIT_EXTERN AAChartType const AAChartTypeVariwide; 20 | AACHARTKIT_EXTERN AAChartType const AAChartTypeSunburst; 21 | AACHARTKIT_EXTERN AAChartType const AAChartTypeDependencywheel; 22 | AACHARTKIT_EXTERN AAChartType const AAChartTypeHeatmap; 23 | AACHARTKIT_EXTERN AAChartType const AAChartTypePackedbubble; 24 | AACHARTKIT_EXTERN AAChartType const AAChartTypeVenn; 25 | AACHARTKIT_EXTERN AAChartType const AAChartTypeDumbbell; 26 | AACHARTKIT_EXTERN AAChartType const AAChartTypeLollipop; 27 | AACHARTKIT_EXTERN AAChartType const AAChartTypeStreamgraph; 28 | AACHARTKIT_EXTERN AAChartType const AAChartTypeColumnpyramid; 29 | AACHARTKIT_EXTERN AAChartType const AAChartTypeXrange; 30 | 31 | AACHARTKIT_EXTERN AAChartType const AAChartTypeTilemap; 32 | AACHARTKIT_EXTERN AAChartType const AAChartTypeVector; 33 | AACHARTKIT_EXTERN AAChartType const AAChartTypeBellcurve; 34 | AACHARTKIT_EXTERN AAChartType const AAChartTypeTimeline; 35 | AACHARTKIT_EXTERN AAChartType const AAChartTypeItem; 36 | AACHARTKIT_EXTERN AAChartType const AAChartTypeWindbarb; 37 | AACHARTKIT_EXTERN AAChartType const AAChartTypeNetworkgraph; 38 | AACHARTKIT_EXTERN AAChartType const AAChartTypeWordcloud; 39 | 40 | AACHARTKIT_EXTERN AAChartType const AAChartTypeOrganization; 41 | AACHARTKIT_EXTERN AAChartType const AAChartTypeArcdiagram; 42 | AACHARTKIT_EXTERN AAChartType const AAChartTypeFlame; 43 | AACHARTKIT_EXTERN AAChartType const AAChartTypeHistogram; 44 | AACHARTKIT_EXTERN AAChartType const AAChartTypeSolidgauge; 45 | AACHARTKIT_EXTERN AAChartType const AAChartTypeBullet; 46 | AACHARTKIT_EXTERN AAChartType const AAChartTypeTreegraph; 47 | AACHARTKIT_EXTERN AAChartType const AAChartTypePictorial; 48 | 49 | @end 50 | 51 | NS_ASSUME_NONNULL_END 52 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAChartTypePro.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAChartTypePro.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/11. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import "AAChartTypePro.h" 10 | 11 | @implementation AAChartTypePro 12 | 13 | AAChartType const AAChartTypeSankey = @"sankey"; 14 | AAChartType const AAChartTypeVariablepie = @"variablepie"; 15 | AAChartType const AAChartTypeTreemap = @"treemap"; 16 | AAChartType const AAChartTypeVariwide = @"variwide"; 17 | AAChartType const AAChartTypeSunburst = @"sunburst"; 18 | AAChartType const AAChartTypeDependencywheel = @"dependencywheel"; 19 | AAChartType const AAChartTypeHeatmap = @"heatmap"; 20 | AAChartType const AAChartTypePackedbubble = @"packedbubble"; 21 | AAChartType const AAChartTypeVenn = @"venn"; 22 | AAChartType const AAChartTypeDumbbell = @"dumbbell"; 23 | AAChartType const AAChartTypeLollipop = @"lollipop"; 24 | AAChartType const AAChartTypeStreamgraph = @"streamgraph"; 25 | AAChartType const AAChartTypeColumnpyramid = @"columnpyramid"; 26 | AAChartType const AAChartTypeXrange = @"xrange"; 27 | 28 | AAChartType const AAChartTypeTilemap = @"tilemap"; 29 | AAChartType const AAChartTypeVector = @"vector"; 30 | AAChartType const AAChartTypeBellcurve = @"bellcurve"; 31 | AAChartType const AAChartTypeTimeline = @"timeline"; 32 | AAChartType const AAChartTypeItem = @"item"; 33 | AAChartType const AAChartTypeWindbarb = @"windbarb"; 34 | AAChartType const AAChartTypeNetworkgraph = @"networkgraph"; 35 | AAChartType const AAChartTypeWordcloud = @"wordcloud"; 36 | 37 | AAChartType const AAChartTypeOrganization = @"organization"; 38 | AAChartType const AAChartTypeArcdiagram = @"arcdiagram"; 39 | AAChartType const AAChartTypeFlame = @"flame"; 40 | AAChartType const AAChartTypeHistogram = @"histogram"; 41 | AAChartType const AAChartTypeSolidgauge = @"solidgauge"; 42 | AAChartType const AAChartTypeBullet = @"bullet"; 43 | AAChartType const AAChartTypeTreegraph = @"treegraph"; 44 | AAChartType const AAChartTypePictorial = @"pictorial"; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAData.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAData.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AAData : NSObject 14 | 15 | AAPropStatementAndPropSetFuncStatement(copy, AAData, NSString *, csv) 16 | AAPropStatementAndPropSetFuncStatement(copy, AAData, NSString *, parsed) 17 | AAPropStatementAndPropSetFuncStatement(strong, AAData, NSArray *, seriesMapping) 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAData.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAData.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AAData.h" 10 | #import "NSString+toPureJSString.h" 11 | 12 | @implementation AAData 13 | 14 | AAPropSetFuncImplementation(AAData, NSString *, csv) 15 | //AAPropSetFuncImplementation(AAData, NSString *, parsed) 16 | AAPropSetFuncImplementation(AAData, NSArray *, seriesMapping) 17 | 18 | 19 | AAJSFuncTypePropSetFuncImplementation(AAData, NSString *, parsed) 20 | 21 | - (void)setParsed:(NSString *)parsed { 22 | _parsed = [parsed aa_toPureJSString]; 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AADataElement/AABulletDataElement.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABulletDataElement.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/9. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AABulletDataElement : NSObject 14 | 15 | AAPropStatementAndPropSetFuncStatement(strong, AABulletDataElement, NSNumber *, y) 16 | AAPropStatementAndPropSetFuncStatement(strong, AABulletDataElement, NSNumber *, target) 17 | 18 | @end 19 | 20 | NS_ASSUME_NONNULL_END 21 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AADataElement/AABulletDataElement.m: -------------------------------------------------------------------------------- 1 | // 2 | // AABulletDataElement.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/9. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AABulletDataElement.h" 10 | 11 | @implementation AABulletDataElement 12 | 13 | AAPropSetFuncImplementation(AABulletDataElement, NSNumber *, y) 14 | AAPropSetFuncImplementation(AABulletDataElement, NSNumber *, target) 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AADataElement/AASolidgaugeDataElement.h: -------------------------------------------------------------------------------- 1 | // 2 | // AASolidgaugeDataElement.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AADataLabels, AAMarker; 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AASolidgaugeDataElement : NSObject 15 | 16 | AAPropStatementAndPropSetFuncStatement(copy, AASolidgaugeDataElement, NSString *, radius) 17 | AAPropStatementAndPropSetFuncStatement(copy, AASolidgaugeDataElement, NSString *, innerRadius) 18 | 19 | AAPropStatementAndPropSetFuncStatement(copy , AASolidgaugeDataElement, NSString *, color) 20 | AAPropStatementAndPropSetFuncStatement(strong, AASolidgaugeDataElement, AADataLabels *, dataLabels) 21 | AAPropStatementAndPropSetFuncStatement(strong, AASolidgaugeDataElement, AAMarker *, marker) 22 | AAPropStatementAndPropSetFuncStatement(strong, AASolidgaugeDataElement, NSNumber *, y) 23 | 24 | @end 25 | 26 | NS_ASSUME_NONNULL_END 27 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AADataElement/AASolidgaugeDataElement.m: -------------------------------------------------------------------------------- 1 | // 2 | // AASolidgaugeDataElement.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AASolidgaugeDataElement.h" 10 | 11 | @implementation AASolidgaugeDataElement 12 | 13 | AAPropSetFuncImplementation(AASolidgaugeDataElement, NSString *, radius) 14 | AAPropSetFuncImplementation(AASolidgaugeDataElement, NSString *, innerRadius) 15 | 16 | AAPropSetFuncImplementation(AASolidgaugeDataElement, NSString *, color) 17 | AAPropSetFuncImplementation(AASolidgaugeDataElement, AADataLabels *, dataLabels) 18 | AAPropSetFuncImplementation(AASolidgaugeDataElement, AAMarker *, marker) 19 | AAPropSetFuncImplementation(AASolidgaugeDataElement, NSNumber *, y) 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AALayoutAlgorithm.h: -------------------------------------------------------------------------------- 1 | // 2 | // AALayoutAlgorithm.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/10. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AALayoutAlgorithm : NSObject 14 | 15 | AAPropStatementAndPropSetFuncStatement(strong, AALayoutAlgorithm, NSNumber *, gravitationalConstant) 16 | AAPropStatementAndPropSetFuncStatement(strong, AALayoutAlgorithm, id , splitSeries) 17 | AAPropStatementAndPropSetFuncStatement(strong, AALayoutAlgorithm, id , seriesInteraction) 18 | AAPropStatementAndPropSetFuncStatement(strong, AALayoutAlgorithm, id , dragBetweenSeries) 19 | AAPropStatementAndPropSetFuncStatement(strong, AALayoutAlgorithm, id , parentNodeLimit) 20 | 21 | @end 22 | 23 | NS_ASSUME_NONNULL_END 24 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AALayoutAlgorithm.m: -------------------------------------------------------------------------------- 1 | // 2 | // AALayoutAlgorithm.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/10. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import "AALayoutAlgorithm.h" 10 | 11 | @implementation AALayoutAlgorithm 12 | 13 | AAPropSetFuncImplementation(AALayoutAlgorithm, NSNumber *, gravitationalConstant) 14 | AAPropSetFuncImplementation(AALayoutAlgorithm, id , splitSeries) 15 | AAPropSetFuncImplementation(AALayoutAlgorithm, id , seriesInteraction) 16 | AAPropSetFuncImplementation(AALayoutAlgorithm, id , dragBetweenSeries) 17 | AAPropSetFuncImplementation(AALayoutAlgorithm, id , parentNodeLimit) 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AALevelsElement.h: -------------------------------------------------------------------------------- 1 | // 2 | // AALevelsElement.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/10. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | @class AADataLabels, AAColorVariation; 13 | 14 | @interface AALevelsElement : NSObject 15 | 16 | AAPropStatementAndPropSetFuncStatement(copy, AALevelsElement, NSString *, borderColor) 17 | AAPropStatementAndPropSetFuncStatement(copy, AALevelsElement, NSString *, borderDashStyle) 18 | AAPropStatementAndPropSetFuncStatement(strong, AALevelsElement, NSNumber *, borderWidth) 19 | AAPropStatementAndPropSetFuncStatement(copy, AALevelsElement, NSString *, color) 20 | AAPropStatementAndPropSetFuncStatement(assign, AALevelsElement, id , colorByPoint) 21 | AAPropStatementAndPropSetFuncStatement(strong, AALevelsElement, AADataLabels *, dataLabels) 22 | AAPropStatementAndPropSetFuncStatement(copy, AALevelsElement, NSString *, layoutAlgorithm) 23 | AAPropStatementAndPropSetFuncStatement(copy, AALevelsElement, NSString *, layoutStartingDirection) 24 | AAPropStatementAndPropSetFuncStatement(strong, AALevelsElement, NSNumber *, level) 25 | AAPropStatementAndPropSetFuncStatement(strong, AALevelsElement, AAColorVariation *, colorVariation) 26 | AAPropStatementAndPropSetFuncStatement(strong, AALevelsElement, NSNumber *, height) 27 | 28 | @end 29 | 30 | @interface AAColorVariation : NSObject 31 | 32 | AAPropStatementAndPropSetFuncStatement(copy, AAColorVariation, NSString *, key) 33 | AAPropStatementAndPropSetFuncStatement(strong, AAColorVariation, NSNumber *, to) 34 | 35 | @end 36 | 37 | NS_ASSUME_NONNULL_END 38 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AALevelsElement.m: -------------------------------------------------------------------------------- 1 | // 2 | // AALevelsElement.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/10. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import "AALevelsElement.h" 10 | 11 | @implementation AALevelsElement 12 | 13 | AAPropSetFuncImplementation(AALevelsElement, NSString *, borderColor) 14 | AAPropSetFuncImplementation(AALevelsElement, NSString *, borderDashStyle) 15 | AAPropSetFuncImplementation(AALevelsElement, NSNumber *, borderWidth) 16 | AAPropSetFuncImplementation(AALevelsElement, NSString *, color) 17 | AAPropSetFuncImplementation(AALevelsElement, id , colorByPoint) 18 | AAPropSetFuncImplementation(AALevelsElement, AADataLabels *, dataLabels) 19 | AAPropSetFuncImplementation(AALevelsElement, NSString *, layoutAlgorithm) 20 | AAPropSetFuncImplementation(AALevelsElement, NSString *, layoutStartingDirection) 21 | AAPropSetFuncImplementation(AALevelsElement, NSNumber *, level) 22 | AAPropSetFuncImplementation(AALevelsElement, AAColorVariation *, colorVariation) 23 | AAPropSetFuncImplementation(AALevelsElement, NSNumber *, height) 24 | 25 | @end 26 | 27 | @implementation AAColorVariation 28 | 29 | AAPropSetFuncImplementation(AAColorVariation, NSString *, key) 30 | AAPropSetFuncImplementation(AAColorVariation, NSNumber *, to) 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAPattern.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAPattern.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2023/6/1. 6 | // Copyright © 2023 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAPatternOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | //https://api.highcharts.com/class-reference/Highcharts.PatternObject#toc0 16 | @interface AAPattern : NSObject 17 | 18 | AAPropStatementAndPropSetFuncStatement(strong, AAPattern, id, animation) 19 | AAPropStatementAndPropSetFuncStatement(strong, AAPattern, AAPatternOptions *, pattern) 20 | AAPropStatementAndPropSetFuncStatement(strong, AAPattern, NSNumber *, patternIndex) 21 | 22 | @end 23 | 24 | 25 | //https://api.highcharts.com/class-reference/Highcharts.PatternOptionsObject#toc0 26 | @interface AAPatternOptions : NSObject 27 | 28 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSNumber *, aspectRatio) 29 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSString *, backgroundColor) 30 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSString *, color) 31 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSNumber *, height) 32 | AAPropStatementAndPropSetFuncStatement(copy, AAPatternOptions, NSString *, id) 33 | AAPropStatementAndPropSetFuncStatement(copy, AAPatternOptions, NSString *, image) 34 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSNumber *, opacity) 35 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSString *, path) 36 | AAPropStatementAndPropSetFuncStatement(copy, AAPatternOptions, NSString *, patternTransform) 37 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSNumber *, width) 38 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSNumber *, x) 39 | AAPropStatementAndPropSetFuncStatement(strong, AAPatternOptions, NSNumber *, y) 40 | 41 | @end 42 | 43 | NS_ASSUME_NONNULL_END 44 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AAPattern.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAPattern.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2023/6/1. 6 | // Copyright © 2023 An An. All rights reserved. 7 | // 8 | 9 | #import "AAPattern.h" 10 | 11 | @implementation AAPattern : NSObject 12 | 13 | AAPropSetFuncImplementation(AAPattern, id, animation) 14 | AAPropSetFuncImplementation(AAPattern, AAPatternOptions *, pattern) 15 | AAPropSetFuncImplementation(AAPattern, NSNumber *, patternIndex) 16 | 17 | @end 18 | 19 | 20 | @implementation AAPatternOptions 21 | 22 | AAPropSetFuncImplementation(AAPatternOptions, NSNumber *, aspectRatio) 23 | AAPropSetFuncImplementation(AAPatternOptions, NSString *, backgroundColor) 24 | AAPropSetFuncImplementation(AAPatternOptions, NSString *, color) 25 | AAPropSetFuncImplementation(AAPatternOptions, NSNumber *, height) 26 | AAPropSetFuncImplementation(AAPatternOptions, NSString *, id) 27 | AAPropSetFuncImplementation(AAPatternOptions, NSString *, image) 28 | AAPropSetFuncImplementation(AAPatternOptions, NSNumber *, opacity) 29 | AAPropSetFuncImplementation(AAPatternOptions, NSString *, path) 30 | AAPropSetFuncImplementation(AAPatternOptions, NSString *, patternTransform) 31 | AAPropSetFuncImplementation(AAPatternOptions, NSNumber *, width) 32 | AAPropSetFuncImplementation(AAPatternOptions, NSNumber *, x) 33 | AAPropSetFuncImplementation(AAPatternOptions, NSNumber *, y) 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAHeatmap.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAHeatmap.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AATooltip; 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAHeatmap : NSObject 15 | 16 | AAPropStatementAndPropSetFuncStatement(strong, AAHeatmap, NSNumber *, borderWidth) 17 | AAPropStatementAndPropSetFuncStatement(copy, AAHeatmap, NSString *, nullColor) 18 | AAPropStatementAndPropSetFuncStatement(strong, AAHeatmap, NSNumber *, colsize) 19 | AAPropStatementAndPropSetFuncStatement(strong, AAHeatmap, AATooltip *, tooltip) 20 | AAPropStatementAndPropSetFuncStatement(strong, AAHeatmap, NSArray *, data) 21 | AAPropStatementAndPropSetFuncStatement(strong, AAHeatmap, NSNumber *, turboThreshold) 22 | 23 | @end 24 | 25 | NS_ASSUME_NONNULL_END 26 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAHeatmap.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAHeatmap.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AAHeatmap.h" 10 | 11 | @implementation AAHeatmap 12 | 13 | AAPropSetFuncImplementation(AAHeatmap, NSNumber *, borderWidth) 14 | AAPropSetFuncImplementation(AAHeatmap, NSString *, nullColor) 15 | AAPropSetFuncImplementation(AAHeatmap, NSNumber *, colsize) 16 | AAPropSetFuncImplementation(AAHeatmap, AATooltip *, tooltip) 17 | AAPropSetFuncImplementation(AAHeatmap, NSArray *, data) 18 | AAPropSetFuncImplementation(AAHeatmap, NSNumber *, turboThreshold) 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAItem.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/1. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @class AADataLabels; 14 | 15 | @interface AAItem : NSObject 16 | 17 | AAPropStatementAndPropSetFuncStatement(copy, AAItem, NSString *, name) 18 | AAPropStatementAndPropSetFuncStatement(strong, AAItem, NSArray *, data) 19 | AAPropStatementAndPropSetFuncStatement(strong, AAItem, NSArray *, keys) 20 | AAPropStatementAndPropSetFuncStatement(strong, AAItem, NSNumber *, size) 21 | AAPropStatementAndPropSetFuncStatement(assign, AAItem, BOOL, allowPointSelect) 22 | AAPropStatementAndPropSetFuncStatement(copy, AAItem, NSString *, cursor) 23 | AAPropStatementAndPropSetFuncStatement(strong, AAItem, AADataLabels *, dataLabels) 24 | AAPropStatementAndPropSetFuncStatement(assign, AAItem, BOOL, showInLegend) 25 | AAPropStatementAndPropSetFuncStatement(strong, AAItem, NSNumber *, startAngle) 26 | AAPropStatementAndPropSetFuncStatement(strong, AAItem, NSNumber *, endAngle) 27 | AAPropStatementAndPropSetFuncStatement(strong, AAItem, NSArray *, center) 28 | 29 | @end 30 | 31 | NS_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAItem.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/1. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AAItem.h" 10 | 11 | @implementation AAItem 12 | 13 | AAPropSetFuncImplementation(AAItem, NSString *, name) 14 | AAPropSetFuncImplementation(AAItem, NSArray *, data) 15 | AAPropSetFuncImplementation(AAItem, NSArray *, keys) 16 | AAPropSetFuncImplementation(AAItem, NSNumber *, size) 17 | AAPropSetFuncImplementation(AAItem, BOOL, allowPointSelect) 18 | AAPropSetFuncImplementation(AAItem, NSString *, cursor) 19 | AAPropSetFuncImplementation(AAItem, AADataLabels *, dataLabels) 20 | AAPropSetFuncImplementation(AAItem, BOOL, showInLegend) 21 | AAPropSetFuncImplementation(AAItem, NSNumber *, startAngle) 22 | AAPropSetFuncImplementation(AAItem, NSNumber *, endAngle) 23 | AAPropSetFuncImplementation(AAItem, NSArray *, center) 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAOrganization.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOrganization.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AAOrganization : NSObject 14 | 15 | AAPropStatementAndPropSetFuncStatement(copy, AAOrganization, NSString *, hangingIndentTranslation) 16 | AAPropStatementAndPropSetFuncStatement(strong, AAOrganization, NSNumber *, hangingIndent) 17 | 18 | @end 19 | 20 | NS_ASSUME_NONNULL_END 21 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAOrganization.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAOrganization.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOrganization.h" 10 | 11 | @implementation AAOrganization 12 | 13 | AAPropSetFuncImplementation(AAOrganization, NSString *, hangingIndentTranslation) 14 | AAPropSetFuncImplementation(AAOrganization, NSNumber *, hangingIndent) 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAPackedbubble.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAPackedbubble.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/10. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @class AADataLabels,AALayoutAlgorithm; 14 | 15 | @interface AAPackedbubble : NSObject 16 | 17 | AAPropStatementAndPropSetFuncStatement(copy, AAPackedbubble, NSString *, minSize) 18 | AAPropStatementAndPropSetFuncStatement(copy, AAPackedbubble, NSString *, maxSize) 19 | AAPropStatementAndPropSetFuncStatement(strong, AAPackedbubble, NSNumber *, zMin) 20 | AAPropStatementAndPropSetFuncStatement(strong, AAPackedbubble, NSNumber *, zMax) 21 | AAPropStatementAndPropSetFuncStatement(strong, AAPackedbubble, AALayoutAlgorithm *, layoutAlgorithm) 22 | AAPropStatementAndPropSetFuncStatement(strong, AAPackedbubble, AADataLabels *, dataLabels) 23 | AAPropStatementAndPropSetFuncStatement(strong, AAPackedbubble, id, useSimulation) 24 | 25 | @end 26 | 27 | NS_ASSUME_NONNULL_END 28 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAPackedbubble.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAPackedbubble.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/10. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import "AAPackedbubble.h" 10 | 11 | @implementation AAPackedbubble 12 | 13 | AAPropSetFuncImplementation(AAPackedbubble, NSString *, minSize) 14 | AAPropSetFuncImplementation(AAPackedbubble, NSString *, maxSize) 15 | AAPropSetFuncImplementation(AAPackedbubble, NSNumber *, zMin) 16 | AAPropSetFuncImplementation(AAPackedbubble, NSNumber *, zMax) 17 | AAPropSetFuncImplementation(AAPackedbubble, AALayoutAlgorithm *, layoutAlgorithm) 18 | AAPropSetFuncImplementation(AAPackedbubble, AADataLabels *, dataLabels) 19 | AAPropSetFuncImplementation(AAPackedbubble, id, useSimulation) 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAPictorial.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAPictorial.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2023/5/31. 6 | // Copyright © 2023 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AADataLabels; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AAPictorial : NSObject 16 | 17 | AAPropStatementAndPropSetFuncStatement(strong, AAPictorial, NSNumber *, pointPadding) 18 | AAPropStatementAndPropSetFuncStatement(strong, AAPictorial, NSNumber *, groupPadding) 19 | AAPropStatementAndPropSetFuncStatement(strong, AAPictorial, AADataLabels *, dataLabels) 20 | AAPropStatementAndPropSetFuncStatement(copy , AAPictorial, NSString *, stacking) 21 | AAPropStatementAndPropSetFuncStatement(strong, AAPictorial, NSArray *, paths) 22 | 23 | @end 24 | 25 | 26 | @interface AAPathsElement : NSObject 27 | 28 | AAPropStatementAndPropSetFuncStatement(copy , AAPathsElement, NSString *, definition) 29 | AAPropStatementAndPropSetFuncStatement(strong, AAPathsElement, NSNumber *, max) 30 | 31 | @end 32 | 33 | NS_ASSUME_NONNULL_END 34 | 35 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AAPictorial.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAPictorial.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2023/5/31. 6 | // Copyright © 2023 An An. All rights reserved. 7 | // 8 | 9 | #import "AAPictorial.h" 10 | 11 | @implementation AAPictorial 12 | 13 | AAPropSetFuncImplementation(AAPictorial, NSNumber *, pointPadding) 14 | AAPropSetFuncImplementation(AAPictorial, NSNumber *, groupPadding) 15 | AAPropSetFuncImplementation(AAPictorial, AADataLabels *, dataLabels) 16 | AAPropSetFuncImplementation(AAPictorial, NSString *, stacking) 17 | AAPropSetFuncImplementation(AAPictorial, NSArray *, paths) 18 | 19 | @end 20 | 21 | 22 | @implementation AAPathsElement 23 | 24 | AAPropSetFuncImplementation(AAPathsElement, NSString *, definition) 25 | AAPropSetFuncImplementation(AAPathsElement, NSNumber *, max) 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AASolidgauge.h: -------------------------------------------------------------------------------- 1 | // 2 | // AASolidgauge.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AADataLabels; 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AASolidgauge : NSObject 15 | 16 | AAPropStatementAndPropSetFuncStatement(strong, AASolidgauge, AADataLabels *, dataLabels) 17 | AAPropStatementAndPropSetFuncStatement(copy, AASolidgauge, NSString *, linecap) 18 | AAPropStatementAndPropSetFuncStatement(assign, AASolidgauge, BOOL , stickyTracking) 19 | AAPropStatementAndPropSetFuncStatement(assign, AASolidgauge, BOOL , rounded) 20 | 21 | @end 22 | 23 | NS_ASSUME_NONNULL_END 24 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AASolidgauge.m: -------------------------------------------------------------------------------- 1 | // 2 | // AASolidgauge.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AASolidgauge.h" 10 | 11 | @implementation AASolidgauge 12 | 13 | AAPropSetFuncImplementation(AASolidgauge, AADataLabels *, dataLabels) 14 | AAPropSetFuncImplementation(AASolidgauge, NSString *, linecap) 15 | AAPropSetFuncImplementation(AASolidgauge, BOOL , stickyTracking) 16 | AAPropSetFuncImplementation(AASolidgauge, BOOL , rounded) 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AATreemap.h: -------------------------------------------------------------------------------- 1 | // 2 | // AATreemap.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/11. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AATreemap : NSObject 14 | 15 | AAPropStatementAndPropSetFuncStatement(strong, AATreemap, NSString *, layoutAlgorithm) 16 | AAPropStatementAndPropSetFuncStatement(assign, AATreemap, BOOL , allowTraversingTree) 17 | AAPropStatementAndPropSetFuncStatement(assign, AATreemap, BOOL , alternateStartingDirection) 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AAOptionsProModel/AASeries/AATreemap.m: -------------------------------------------------------------------------------- 1 | // 2 | // AATreemap.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/11. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import "AATreemap.h" 10 | 11 | @implementation AATreemap 12 | 13 | AAPropSetFuncImplementation(AATreemap, NSString *, layoutAlgorithm) 14 | AAPropSetFuncImplementation(AATreemap, BOOL , allowTraversingTree) 15 | AAPropSetFuncImplementation(AATreemap, BOOL , alternateStartingDirection) 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AATool/Category/NSArray+toJSArray.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+toJSArray.h 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2020/8/11. 6 | // Copyright © 2020 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------ 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface NSArray (toJSArray) 36 | 37 | //Convert Objective-C array to be JavaScript array 38 | - (NSString *)aa_toJSArray; 39 | 40 | @end 41 | 42 | 43 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AATool/Category/NSArray+toJSArray.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+toJSArray.m 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2020/8/11. 6 | // Copyright © 2020 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------ 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import "NSArray+toJSArray.h" 34 | 35 | @implementation NSArray (toJSArray) 36 | 37 | - (NSString *)aa_toJSArray { 38 | NSString *originalJsArrStr = @""; 39 | for (NSString *obj in self) { 40 | originalJsArrStr = [originalJsArrStr stringByAppendingFormat:@"'%@',",obj]; 41 | } 42 | 43 | NSString *finalJSArrStr = [NSString stringWithFormat:@"[%@]",originalJsArrStr]; 44 | return finalJSArrStr; 45 | } 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AATool/Category/NSString+toPureJSString.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+toPureJSString.h 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2020/8/11. 6 | // Copyright © 2020 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------ 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface NSString (pureJSString) 36 | 37 | - (NSString *)aa_toPureJSString; 38 | - (NSString *)aa_toPureHTMLString; 39 | - (NSString *)aa_toPureCSVString; 40 | 41 | @end 42 | 43 | 44 | -------------------------------------------------------------------------------- /AAChartKit-Pro/AATool/Convenience/AAMarginConvenience.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAMarginConvenience.h 3 | // AAChartKitDemo 4 | // 5 | // Created by An An on 2020/7/24. 6 | // Copyright © 2020 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #ifndef AAMarginConvenience_h 34 | #define AAMarginConvenience_h 35 | 36 | AACHARTKIT_STATIC_INLINE 37 | NSArray * AAMargin(float marginTop, 38 | float marginRight, 39 | float marginBottom, 40 | float marginLeft) { 41 | return @[ 42 | @(marginTop), 43 | @(marginRight), 44 | @(marginBottom), 45 | @(marginLeft) 46 | ]; 47 | } 48 | 49 | AACHARTKIT_STATIC_INLINE 50 | NSArray * AAMarginTopBottom(float marginTop, 51 | float marginBottom) { 52 | return AAMargin(marginTop, 0, marginBottom, 0); 53 | } 54 | 55 | AACHARTKIT_STATIC_INLINE 56 | NSArray * AAMarginLeftRight(float marginLeft, 57 | float marginRight) { 58 | return AAMargin(0, marginRight, 0, marginLeft); 59 | } 60 | 61 | #endif /* AAMarginConvenience_h */ 62 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/AAChartKit-ProDemo.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.network.client 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/13. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : http://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface AppDelegate : UIResponder 36 | 37 | @property (strong, nonatomic) UIWindow *window; 38 | 39 | 40 | @end 41 | 42 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AABubbleChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABubbleChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AABubbleChartComposer : NSObject 15 | 16 | + (AAOptions *)packedbubbleChart; 17 | + (AAOptions *)packedbubbleSplitChart; 18 | + (AAOptions *)packedbubbleSpiralChart; 19 | + (AAOptions *)eulerChart; 20 | + (AAOptions *)vennChart; 21 | 22 | @end 23 | 24 | NS_ASSUME_NONNULL_END 25 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AABubbleStellarChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABubbleStellarChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2025/5/3. 6 | // Copyright © 2025 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | @class AAOptions; 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AABubbleStellarChartComposer : NSObject 15 | 16 | + (AAOptions *)bubbleStellarChart; 17 | 18 | @end 19 | 20 | NS_ASSUME_NONNULL_END 21 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AAColumnVariantChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAColumnVariantChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAColumnVariantChartComposer : NSObject 15 | 16 | + (AAOptions *)variwideChart; 17 | + (AAOptions *)columnpyramidChart; 18 | + (AAOptions *)dumbbellChart; 19 | + (AAOptions *)lollipopChart; 20 | + (AAOptions *)xrangeChart; 21 | + (AAOptions *)histogramChart; 22 | + (AAOptions *)bellcurveChart; 23 | + (AAOptions *)bulletChart; 24 | + (AAOptions *)pictorial1Chart; 25 | + (AAOptions *)pictorial2Chart; 26 | 27 | @end 28 | 29 | NS_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AAHeatmapChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAHeatmapChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AAHeatmapChartComposer : NSObject 16 | 17 | + (AAOptions *)heatmapChart; 18 | + (AAOptions *)largeDataHeatmapChart; 19 | + (AAOptions *)calendarHeatmap; 20 | 21 | @end 22 | 23 | NS_ASSUME_NONNULL_END 24 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AAMixedChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAMixedChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2025/6/3. 6 | // Copyright © 2025 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | @class AAOptions; 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAMixedChartComposer : NSObject 15 | 16 | + (AAOptions *)barMixedColumnrangeWithPatternFillChart; 17 | 18 | @end 19 | 20 | NS_ASSUME_NONNULL_END 21 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AAOrganizationChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOrganizationChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AAOrganizationChartComposer : NSObject 16 | 17 | + (AAOptions *)germanicLanguageTreeChart; 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AARelationshipChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AARelationshipChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AARelationshipChartComposer : NSObject 15 | 16 | + (AAOptions *)sankeyChart; 17 | + (AAOptions *)dependencywheelChart; 18 | + (AAOptions *)arcdiagramChart1; 19 | + (AAOptions *)arcdiagramChart2; 20 | + (AAOptions *)arcdiagramChart3; 21 | + (AAOptions *)organizationChart; 22 | + (AAOptions *)networkgraphChart; 23 | + (AAOptions *)simpleDependencyWheelChart; 24 | + (AAOptions *)neuralNetworkChart; 25 | + (AAOptions *)carnivoraPhylogenyOrganizationChart; 26 | 27 | @end 28 | 29 | NS_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AASankeyChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AASankeyChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AASankeyChartComposer : NSObject 16 | 17 | + (AAOptions *)sankeyDiagramChart; 18 | + (AAOptions *)verticalSankeyChart; 19 | 20 | @end 21 | 22 | NS_ASSUME_NONNULL_END 23 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AATilemapChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AATilemapChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AATilemapChartComposer : NSObject 15 | 16 | + (AAOptions *)simpleTilemapWithHexagonTileShape; 17 | + (AAOptions *)simpleTilemapWithCircleTileShape; 18 | + (AAOptions *)simpleTilemapWithDiamondTileShape; 19 | + (AAOptions *)simpleTilemapWithSquareTileShape; 20 | 21 | + (AAOptions *)tilemapForAfricaWithHexagonTileShape; 22 | + (AAOptions *)tilemapForAfricaWithCircleTileShape; 23 | + (AAOptions *)tilemapForAfricaWithDiamondTileShape; 24 | + (AAOptions *)tilemapForAfricaWithSquareTileShape; 25 | 26 | + (AAOptions *)tilemapChartForAmericaWithHexagonTileShape; 27 | + (AAOptions *)tilemapChartForAmericaWithCircleTileShape; 28 | + (AAOptions *)tilemapChartForAmericaWithDiamondTileShape; 29 | + (AAOptions *)tilemapChartForAmericaWithSquareTileShape; 30 | 31 | @end 32 | 33 | NS_ASSUME_NONNULL_END 34 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AATreegraphChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AATreegraphChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AATreegraphChartComposer : NSObject 16 | 17 | + (AAOptions *)treegraph; 18 | + (AAOptions *)invertedTreegraph; 19 | + (AAOptions *)treegraphWithBoxLayout; 20 | 21 | @end 22 | 23 | NS_ASSUME_NONNULL_END 24 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/Composer/AATreemapChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AATreemapChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AATreemapChartComposer : NSObject 16 | 17 | + (AAOptions *)treemapWithColorAxisData; 18 | + (AAOptions *)treemapWithLevelsData; 19 | + (AAOptions *)treemapWithLevelsData2; 20 | + (AAOptions *)drilldownLargeDataTreemapChart; 21 | 22 | @end 23 | 24 | NS_ASSUME_NONNULL_END 25 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/AAOptionsCSV.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptionsCSV.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AAOptionsCSV : NSObject 14 | 15 | + (NSDictionary *)csvData; 16 | + (NSDictionary *)stellarChartData; 17 | 18 | @end 19 | 20 | NS_ASSUME_NONNULL_END 21 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/AAOptionsCSV.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptionsCSV.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptionsCSV.h" 10 | 11 | @implementation AAOptionsCSV 12 | 13 | + (NSDictionary *)csvData { 14 | return [self getJsonDataWithJsonFileName:@"bigHeatmapData"]; 15 | } 16 | 17 | + (NSDictionary *)stellarChartData { 18 | // Read the CSV file content as a string 19 | return [self getJsonDataWithJsonFileName:@"stellarChartData"]; 20 | } 21 | 22 | + (id)getJsonDataWithJsonFileName:(NSString *)jsonFileName 23 | { 24 | NSString *path = [[NSBundle mainBundle] pathForResource:jsonFileName ofType:@"json"]; 25 | NSData *jsonData = [[NSData alloc] initWithContentsOfFile:path]; 26 | NSError *error; 27 | id jsonObj = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingMutableContainers error:&error]; 28 | if (!jsonData || error) { 29 | NSLog(@"失败❌❌❌ 📃JSON文件%@解码失败",jsonFileName); 30 | return nil; 31 | } else { 32 | NSLog(@"成功🔥🔥🔥 📃JSON文件%@解码成功",jsonFileName); 33 | return jsonObj; 34 | } 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/AAOptionsData.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptionsData.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/6. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AAOptionsData : NSObject 14 | 15 | + (NSArray *)variablepieData; 16 | + (NSArray *)variwideData; 17 | + (NSArray *)heatmapData; 18 | + (NSArray *)columnpyramidData; 19 | + (NSArray *)treemapWithColorAxisData; 20 | + (NSArray *)drilldownTreemapData; 21 | 22 | + (NSArray *)sankeyData; 23 | + (NSArray *)dependencywheelData; 24 | + (NSArray *)sunburstData; 25 | + (NSArray *)dumbbellData; 26 | + (NSArray *)vennData; 27 | + (NSArray *)lollipopData; 28 | + (NSArray *)tilemapData; 29 | + (NSArray *)treemapWithLevelsData; 30 | + (NSArray *)treemapWithLevels2Data; 31 | + (NSArray *)xrangeData; 32 | + (NSArray *)vectorData; 33 | + (NSArray *)bellcurveData; 34 | + (NSArray *)timelineData; 35 | + (NSArray *)itemData; 36 | + (NSArray *)windbarbData; 37 | + (NSArray *)networkgraphData; 38 | + (NSArray *)wordcloudData; 39 | + (NSArray *)eulerData; 40 | 41 | + (NSArray *)organizationData; 42 | + (NSArray *)organizationNodesData; 43 | + (NSArray *)carnivoraPhylogenyNodesData; 44 | 45 | + (NSArray *)arcdiagram1Data; 46 | + (NSArray *)arcdiagram2Data; 47 | + (NSArray *)arcdiagram3Data; 48 | + (NSArray *)flameData; 49 | + (NSArray *)sunburst2Data; 50 | + (NSArray *)marathonData; 51 | 52 | 53 | + (NSArray *)volinPlotElement1Data; 54 | + (NSArray *)volinPlotElement2Data; 55 | 56 | + (NSArray *)simpleTilemapData; 57 | + (NSArray *)tilemapForAfricaData; 58 | 59 | 60 | 61 | + (NSArray *)simpleDependencyWheelData; 62 | + (NSArray *)treegraphData; 63 | + (NSArray *)germanicLanguageTreeData; 64 | + (NSArray *)calendarHeatmapData; 65 | 66 | @end 67 | 68 | NS_ASSUME_NONNULL_END 69 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/AAOptionsSeries.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptionsSeries.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/7. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AAOptionsSeries : NSObject 14 | 15 | + (NSArray *)pictorial1Series; 16 | + (NSArray *)pictorial2Series; 17 | + (NSArray *)packedbubbleSeries; 18 | + (NSArray *)streamgraphSeries; 19 | + (NSArray *)sankeyDiagramSeries; 20 | + (NSArray *)verticalSankeySeries; 21 | 22 | 23 | @end 24 | 25 | NS_ASSUME_NONNULL_END 26 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/AAOptionsSeries.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptionsSeries.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2020/6/7. 6 | // Copyright © 2020 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptionsSeries.h" 10 | 11 | @implementation AAOptionsSeries 12 | 13 | + (NSArray *)pictorial1Series { 14 | return [self getJsonDataWithJsonFileName:@"pictorial1Series"]; 15 | } 16 | 17 | + (NSArray *)pictorial2Series { 18 | return [self getJsonDataWithJsonFileName:@"pictorial2Series"]; 19 | } 20 | 21 | + (NSArray *)packedbubbleSeries { 22 | return [self getJsonDataWithJsonFileName:@"packedbubbleSeries"]; 23 | } 24 | 25 | + (NSArray *)streamgraphSeries { 26 | return [self getJsonDataWithJsonFileName:@"streamgraphSeries"]; 27 | } 28 | 29 | + (NSArray *)sankeyDiagramSeries { 30 | return [self getJsonDataWithJsonFileName:@"sankeyDiagramSeries"]; 31 | } 32 | 33 | + (NSArray *)verticalSankeySeries { 34 | return [self getJsonDataWithJsonFileName:@"verticalSankeySeries"]; 35 | } 36 | 37 | + (id)getJsonDataWithJsonFileName:(NSString *)jsonFileName 38 | { 39 | NSString *path = [[NSBundle mainBundle] pathForResource:jsonFileName ofType:@"json"]; 40 | NSData *jsonData = [[NSData alloc] initWithContentsOfFile:path]; 41 | NSError *error; 42 | id jsonObj = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingMutableContainers error:&error]; 43 | if (!jsonData || error) { 44 | NSLog(@"失败❌❌❌ 📃JSON文件%@解码失败",jsonFileName); 45 | return nil; 46 | } else { 47 | NSLog(@"成功🔥🔥🔥 📃JSON文件%@解码成功",jsonFileName); 48 | return jsonObj; 49 | } 50 | } 51 | 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/arcdiagram1Data.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["Hamburg", "Stuttgart", 1], 3 | ["Hamburg", "Frankfurt", 1], 4 | ["Hamburg", "München", 1], 5 | ["Hannover", "Wien", 1], 6 | ["Hannover", "München", 1], 7 | ["Berlin", "Wien", 1], 8 | ["Berlin", "München", 1], 9 | ["Berlin", "Stuttgart", 1], 10 | ["Berlin", "Frankfurt", 1], 11 | ["Berlin", "Köln", 1], 12 | ["Berlin", "Düsseldorf", 1], 13 | ["München", "Düsseldorf", 1], 14 | ["München", "Wien", 1], 15 | ["München", "Frankfurt", 1], 16 | ["München", "Köln", 1], 17 | ["München", "Amsterdam", 1], 18 | ["Stuttgart", "Wien", 1], 19 | ["Frankfurt", "Wien", 1], 20 | ["Frankfurt", "Amsterdam", 1], 21 | ["Frankfurt", "Paris", 1], 22 | ["Frankfurt", "Budapest", 1], 23 | ["Düsseldorf", "Wien", 1], 24 | ["Düsseldorf", "Hamburg", 1], 25 | ["Amsterdam", "Paris", 1], 26 | ["Paris", "Brest", 1], 27 | ["Paris", "Nantes", 1], 28 | ["Paris", "Bayonne", 1], 29 | ["Paris", "Bordeaux", 1], 30 | ["Paris", "Toulouse", 1], 31 | ["Paris", "Montpellier", 1], 32 | ["Paris", "Marseille", 1], 33 | ["Paris", "Nice", 1], 34 | ["Paris", "Milano", 1], 35 | ["Nantes", "Nice", 1], 36 | ["Bordeaux", "Lyon", 1], 37 | ["Nantes", "Lyon", 1], 38 | ["Milano", "München", 1], 39 | ["Milano", "Roma", 1], 40 | ["Milano", "Bari", 1], 41 | ["Milano", "Napoli", 1], 42 | ["Milano", "Brindisi", 1], 43 | ["Milano", "Lamezia Terme", 1], 44 | ["Torino", "Roma", 1], 45 | ["Venezia", "Napoli", 1], 46 | ["Roma", "Bari", 1], 47 | ["Roma", "Catania", 1], 48 | ["Roma", "Brindisi", 1], 49 | ["Catania", "Milano", 1] 50 | ] 51 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/arcdiagram2Data.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["Brazil", "Portugal", 5], 3 | ["Brazil", "France", 1], 4 | ["Brazil", "Spain", 1], 5 | ["Brazil", "England", 1], 6 | ["Canada", "Portugal", 1], 7 | ["Canada", "France", 5], 8 | ["Canada", "England", 1] 9 | ] 10 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/arcdiagram3Data.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["Brazil", "Portugal", 5], 3 | ["Brazil", "France", 1], 4 | ["Brazil", "Spain", 1], 5 | ["Brazil", "England", 1], 6 | ["Canada", "Portugal", 1], 7 | ["Canada", "France", 5], 8 | ["Canada", "England", 1], 9 | ["Mexico", "Portugal", 1], 10 | ["Mexico", "France", 1], 11 | ["Mexico", "Spain", 5], 12 | ["Mexico", "England", 1], 13 | ["USA", "Portugal", 1], 14 | ["USA", "France", 1], 15 | ["USA", "Spain", 1], 16 | ["USA", "England", 5], 17 | ["Portugal", "Angola", 2], 18 | ["Portugal", "Senegal", 1], 19 | ["Portugal", "Morocco", 1], 20 | ["Portugal", "South Africa", 3], 21 | ["France", "Angola", 1], 22 | ["France", "Senegal", 3], 23 | ["France", "Mali", 3], 24 | ["France", "Morocco", 3], 25 | ["France", "South Africa", 1], 26 | ["Spain", "Senegal", 1], 27 | ["Spain", "Morocco", 3], 28 | ["Spain", "South Africa", 1], 29 | ["England", "Angola", 1], 30 | ["England", "Senegal", 1], 31 | ["England", "Morocco", 2], 32 | ["England", "South Africa", 7], 33 | ["South Africa", "China", 5], 34 | ["South Africa", "India", 1], 35 | ["South Africa", "Japan", 3], 36 | ["Angola", "China", 5], 37 | ["Angola", "India", 1], 38 | ["Angola", "Japan", 3], 39 | ["Senegal", "China", 5], 40 | ["Senegal", "India", 1], 41 | ["Senegal", "Japan", 3], 42 | ["Mali", "China", 5], 43 | ["Mali", "India", 1], 44 | ["Mali", "Japan", 3], 45 | ["Morocco", "China", 5], 46 | ["Morocco", "India", 1], 47 | ["Morocco", "Japan", 3], 48 | ["Japan", "Brazil", 1] 49 | ] 50 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/bellcurveData.json: -------------------------------------------------------------------------------- 1 | [3.5, 3, 3.2, 3.1, 3.6, 3.9, 3.4, 3.4, 2.9, 3.1, 3.7, 3.4, 3, 3, 4, 2 | 4.4, 3.9, 3.5, 3.8, 3.8, 3.4, 3.7, 3.6, 3.3, 3.4, 3, 3.4, 3.5, 3.4, 3.2, 3 | 3.1, 3.4, 4.1, 4.2, 3.1, 3.2, 3.5, 3.6, 3, 3.4, 3.5, 2.3, 3.2, 3.5, 3.8, 3, 4 | 3.8, 3.2, 3.7, 3.3, 3.2, 3.2, 3.1, 2.3, 2.8, 2.8, 3.3, 2.4, 2.9, 2.7, 2, 3, 5 | 2.2, 2.9, 2.9, 3.1, 3, 2.7, 2.2, 2.5, 3.2, 2.8, 2.5, 2.8, 2.9, 3, 2.8, 3, 6 | 2.9, 2.6, 2.4, 2.4, 2.7, 2.7, 3, 3.4, 3.1, 2.3, 3, 2.5, 2.6, 3, 2.6, 2.3, 7 | 2.7, 3, 2.9, 2.9, 2.5, 2.8, 3.3, 2.7, 3, 2.9, 3, 3, 2.5, 2.9, 2.5, 3.6, 8 | 3.2, 2.7, 3, 2.5, 2.8, 3.2, 3, 3.8, 2.6, 2.2, 3.2, 2.8, 2.8, 2.7, 3.3, 3.2, 9 | 2.8, 3, 2.8, 3, 2.8, 3.8, 2.8, 2.8, 2.6, 3, 3.4, 3.1, 3, 3.1, 3.1, 3.1, 2.7, 10 | 3.2, 3.3, 3, 2.5, 3, 3.4, 3] 11 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/columnpyramidData.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["Pyramid of Khufu", 138.8], 3 | ["Pyramid of Khafre", 136.4], 4 | ["Red Pyramid", 104], 5 | ["Bent Pyramid", 101.1], 6 | ["Pyramid of the Sun", 75] 7 | ] 8 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/dependencywheelData.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["Brazil", "Portugal", 5], 3 | ["Brazil", "France", 1], 4 | ["Brazil", "Spain", 1], 5 | ["Brazil", "England", 1], 6 | ["Canada", "Portugal", 1], 7 | ["Canada", "France", 5], 8 | ["Canada", "England", 1], 9 | ["Mexico", "Portugal", 1], 10 | ["Mexico", "France", 1], 11 | ["Mexico", "Spain", 5], 12 | ["Mexico", "England", 1], 13 | ["USA", "Portugal", 1], 14 | ["USA", "France", 1], 15 | ["USA", "Spain", 1], 16 | ["USA", "England", 5], 17 | ["Portugal", "Angola", 2], 18 | ["Portugal", "Senegal", 1], 19 | ["Portugal", "Morocco", 1], 20 | ["Portugal", "South Africa", 3], 21 | ["France", "Angola", 1], 22 | ["France", "Senegal", 3], 23 | ["France", "Mali", 3], 24 | ["France", "Morocco", 3], 25 | ["France", "South Africa", 1], 26 | ["Spain", "Senegal", 1], 27 | ["Spain", "Morocco", 3], 28 | ["Spain", "South Africa", 1], 29 | ["England", "Angola", 1], 30 | ["England", "Senegal", 1], 31 | ["England", "Morocco", 2], 32 | ["England", "South Africa", 7], 33 | ["South Africa", "China", 5], 34 | ["South Africa", "India", 1], 35 | ["South Africa", "Japan", 3], 36 | ["Angola", "China", 5], 37 | ["Angola", "India", 1], 38 | ["Angola", "Japan", 3], 39 | ["Senegal", "China", 5], 40 | ["Senegal", "India", 1], 41 | ["Senegal", "Japan", 3], 42 | ["Mali", "China", 5], 43 | ["Mali", "India", 1], 44 | ["Mali", "Japan", 3], 45 | ["Morocco", "China", 5], 46 | ["Morocco", "India", 1], 47 | ["Morocco", "Japan", 3], 48 | ["Japan", "Brazil", 1] 49 | ] 50 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/eulerData.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "sets": ["A"], 4 | "value": 4, 5 | "name": "Euler diagrams", 6 | "description": "An Euler diagram is a diagrammatic means of representing sets and their relationships. Unlike Venn diagrams, which show all possible relations between different sets, the Euler diagram shows only relevant relationships." 7 | }, { 8 | "sets": ["B"], 9 | "value": 1, 10 | "name": "Venn diagrams", 11 | "description": "In Venn diagrams the curves are overlapped in every possible way, showing all possible relations between the sets. They are thus a special case of Euler diagrams, which do not necessarily show all relations" 12 | }, { 13 | "sets": ["A", "B"], 14 | "value": 1 15 | } 16 | ] 17 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/germanicLanguageTreeData.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["Germanic", "West Germanic"], 3 | ["West Germanic", "Old English"], 4 | ["Old English", "Middle English"], 5 | ["Middle English", "English"], 6 | ["West Germanic", "Old Frisian"], 7 | ["Old Frisian", "Frisian"], 8 | ["West Germanic", "Old Dutch"], 9 | ["Old Dutch", "Middle Dutch"], 10 | ["Middle Dutch", "Hollandic"], 11 | ["Middle Dutch", "Flemish"], 12 | ["Middle Dutch", "Dutch"], 13 | ["Middle Dutch", "Limburgish"], 14 | ["Middle Dutch", "Brabantian"], 15 | ["Middle Dutch", "Rhinelandic"], 16 | ["West Germanic", "Old Low German"], 17 | ["Old Low German", "Middle Low German"], 18 | ["Middle Low German", "Low German"], 19 | ["West Germanic", "Old High German"], 20 | ["Old High German", "Middle High German"], 21 | ["Middle High German", "(High) German"], 22 | ["Middle High German", "Yiddish"], 23 | 24 | ["Germanic", "East Germanic"], 25 | ["East Germanic", "Gothic"], 26 | ["East Germanic", "Vandalic"], 27 | ["East Germanic", "Burgundian"], 28 | ["East Germanic", "Bastarnisch"], 29 | ["East Germanic", "Gepidisch"], 30 | ["East Germanic", "Herulisch"], 31 | ["East Germanic", "Rugisch"], 32 | ["East Germanic", "Skirisch"], 33 | ["East Germanic", "Crimean Gothic"], 34 | 35 | ["Germanic", "North Germanic"], 36 | ["North Germanic", "Old Norse"], 37 | ["Old Norse", "Old Icelandic"], 38 | ["Old Icelandic", "Icelandic"], 39 | ["Old Norse", "Old Norwegian"], 40 | ["Old Norwegian", "Norwegian"], 41 | ["Old Norse", "Faroese"], 42 | ["North Germanic", "Old Swedish"], 43 | ["Old Swedish", "Middle Swedish"], 44 | ["Middle Swedish", "Swedish"], 45 | ["North Germanic", "Old Danish"], 46 | ["Old Danish", "Middle Danish"], 47 | ["Middle Danish", "Danish"] 48 | ] 49 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/heatmapData.json: -------------------------------------------------------------------------------- 1 | [ 2 | [0, 0, 10], 3 | [0, 1, 19], 4 | [0, 2, 8], 5 | [0, 3, 24], 6 | [0, 4, 67], 7 | [1, 0, 92], 8 | [1, 1, 58], 9 | [1, 2, 78], 10 | [1, 3, 117], 11 | [1, 4, 48], 12 | [2, 0, 35], 13 | [2, 1, 15], 14 | [2, 2, 123], 15 | [2, 3, 64], 16 | [2, 4, 52], 17 | [3, 0, 72], 18 | [3, 1, 132], 19 | [3, 2, 114], 20 | [3, 3, 19], 21 | [3, 4, 16], 22 | [4, 0, 38], 23 | [4, 1, 5], 24 | [4, 2, 8], 25 | [4, 3, 117], 26 | [4, 4, 115], 27 | [5, 0, 88], 28 | [5, 1, 32], 29 | [5, 2, 12], 30 | [5, 3, 6], 31 | [5, 4, 120], 32 | [6, 0, 13], 33 | [6, 1, 44], 34 | [6, 2, 88], 35 | [6, 3, 98], 36 | [6, 4, 96], 37 | [7, 0, 31], 38 | [7, 1, 1], 39 | [7, 2, 82], 40 | [7, 3, 32], 41 | [7, 4, 30], 42 | [8, 0, 85], 43 | [8, 1, 97], 44 | [8, 2, 123], 45 | [8, 3, 64], 46 | [8, 4, 84], 47 | [9, 0, 47], 48 | [9, 1, 114], 49 | [9, 2, 31], 50 | [9, 3, 48], 51 | [9, 4, 91] 52 | ] 53 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/itemData.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["The Left", 69, "#BE3075", "DIE LINKE"], 3 | ["Social Democratic Party", 153, "#EB001F", "SPD"], 4 | ["Alliance 90/The Greens", 67, "#64A12D", "GRÜNE"], 5 | ["Free Democratic Party", 80, "#FFED00", "FDP"], 6 | ["Christian Democratic Union", 200, "#000000", "CDU"], 7 | ["Christian Social Union in Bavaria", 46, "#008AC5", "CSU"], 8 | ["Alternative for Germany", 94, "#009EE0", "AfD"] 9 | ] 10 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/lollipopData.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "China", 4 | "y": 1427647786 5 | }, { 6 | "name": "India", 7 | "y": 1352642280 8 | }, { 9 | "name": "United States", 10 | "y": 327096265 11 | }, { 12 | "name": "Indonesia", 13 | "y": 267670543 14 | }, { 15 | "name": "Pakistan", 16 | "y": 212228286 17 | }, { 18 | "name": "Brazil", 19 | "y": 209469323 20 | }, { 21 | "name": "Nigeria", 22 | "y": 195874683 23 | }, { 24 | "name": "Bangladesh", 25 | "y": 161376708 26 | }, { 27 | "name": "Russia", 28 | "y": 145734038 29 | }, { 30 | "name": "Mexico", 31 | "y": 126190788 32 | } 33 | ] 34 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/organizationData.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["股东", "董事会"], 3 | ["董事会", "CEO"], 4 | ["CEO", "CTO"], 5 | ["CEO", "CPO"], 6 | ["CEO", "CSO"], 7 | ["CEO", "CMO"], 8 | ["CEO", "HR"], 9 | ["CTO", "Product"], 10 | ["CTO", "Web"], 11 | ["CSO", "Sales"], 12 | ["CMO", "Market"] 13 | ] 14 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/organizationNodesData.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "Shareholders" 4 | }, 5 | { 6 | "id": "Board" 7 | }, 8 | { 9 | "id": "CEO", 10 | "title": "CEO", 11 | "name": "Grethe Hjetland", 12 | "image": "https://wp-assets.highcharts.com/www-highcharts-com/blog/wp-content/uploads/2018/11/12132317/Grethe.jpg" 13 | }, 14 | { 15 | "id": "HR", 16 | "title": "HR/CFO", 17 | "name": "Anne Jorunn Fjærestad", 18 | "color": "#007ad0", 19 | "image": "https://wp-assets.highcharts.com/www-highcharts-com/blog/wp-content/uploads/2018/11/12132314/AnneJorunn.jpg", 20 | "column": 3, 21 | "offset": "75%" 22 | }, 23 | { 24 | "id": "CTO", 25 | "title": "CTO", 26 | "name": "Christer Vasseng", 27 | "column": 4, 28 | "image": "https://wp-assets.highcharts.com/www-highcharts-com/blog/wp-content/uploads/2018/11/12140620/Christer.jpg", 29 | "layout": "hanging" 30 | }, 31 | { 32 | "id": "CPO", 33 | "title": "CPO", 34 | "name": "Torstein Hønsi", 35 | "column": 4, 36 | "image": "https://wp-assets.highcharts.com/www-highcharts-com/blog/wp-content/uploads/2018/11/12131849/Torstein1.jpg" 37 | }, 38 | { 39 | "id": "CSO", 40 | "title": "CSO", 41 | "name": "Anita Nesse", 42 | "column": 4, 43 | "image": "https://wp-assets.highcharts.com/www-highcharts-com/blog/wp-content/uploads/2018/11/12132313/Anita.jpg", 44 | "layout": "hanging" 45 | }, 46 | { 47 | "id": "CMO", 48 | "title": "CMO", 49 | "name": "Vidar Brekke", 50 | "column": 4, 51 | "image": "https://wp-assets.highcharts.com/www-highcharts-com/blog/wp-content/uploads/2018/11/13105551/Vidar.jpg", 52 | "layout": "hanging" 53 | }, 54 | { 55 | "id": "Product", 56 | "name": "产品研发" 57 | }, 58 | { 59 | "id": "Web", 60 | "name": "运维", 61 | "description": "网站开发,系统维护" 62 | }, 63 | { 64 | "id": "Sales", 65 | "name": "销售部" 66 | }, 67 | { 68 | "id": "Market", 69 | "name": "市场部" 70 | } 71 | ] 72 | 73 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/sankeyData.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["巴西", "葡萄牙", 5], 3 | ["巴西", "法国", 1], 4 | ["巴西", "西班牙", 1], 5 | ["巴西", "英国", 1], 6 | ["加拿大", "葡萄牙", 1], 7 | ["加拿大", "法国", 5], 8 | ["加拿大", "英国", 1], 9 | ["墨西哥", "葡萄牙", 1], 10 | ["墨西哥", "法国", 1], 11 | ["墨西哥", "西班牙", 5], 12 | ["墨西哥", "英国", 1], 13 | ["美国", "葡萄牙", 1], 14 | ["美国", "法国", 1], 15 | ["美国", "西班牙", 1], 16 | ["美国", "英国", 5], 17 | ["葡萄牙", "安哥拉", 2], 18 | ["葡萄牙", "塞内加尔", 1], 19 | ["葡萄牙", "摩洛哥", 1], 20 | ["葡萄牙", "南非", 3], 21 | ["法国", "安哥拉", 1], 22 | ["法国", "塞内加尔", 3], 23 | ["法国", "马里", 3], 24 | ["法国", "摩洛哥", 3], 25 | ["法国", "南非", 1], 26 | ["西班牙", "塞内加尔", 1], 27 | ["西班牙", "摩洛哥", 3], 28 | ["西班牙", "南非", 1], 29 | ["英国", "安哥拉", 1], 30 | ["英国", "塞内加尔", 1], 31 | ["英国", "摩洛哥", 2], 32 | ["英国", "南非", 7], 33 | ["南非", "中国", 5], 34 | ["南非", "印度", 1], 35 | ["南非", "日本", 3], 36 | ["安哥拉", "中国", 5], 37 | ["安哥拉", "印度", 1], 38 | ["安哥拉", "日本", 3], 39 | ["塞内加尔", "中国", 5], 40 | ["塞内加尔", "印度", 1], 41 | ["塞内加尔", "日本", 3], 42 | ["马里", "中国", 5], 43 | ["马里", "印度", 1], 44 | ["马里", "日本", 3], 45 | ["摩洛哥", "中国", 5], 46 | ["摩洛哥", "印度", 1], 47 | ["摩洛哥", "日本", 3] 48 | ] 49 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/simpleDependencyWheelData.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["Brazil", "Russia", 2524], 3 | ["Brazil", "India", 4115], 4 | ["Brazil", "China", 45738], 5 | ["Brazil", "South Africa", 1401], 6 | ["Russia", "Brazil", 2021], 7 | ["Russia", "India", 5564], 8 | ["Russia", "China", 32229], 9 | ["Russia", "South Africa", 196], 10 | ["India", "Brazil", 2484], 11 | ["India", "Russia", 2398], 12 | ["India", "China", 11757], 13 | ["India", "South Africa", 3554], 14 | ["China", "Brazil", 23364], 15 | ["China", "India", 61311], 16 | ["China", "South Africa", 12848], 17 | ["China", "Russia", 38105], 18 | ["South Africa", "Russia", 255], 19 | ["South Africa", "Brazil", 336], 20 | ["South Africa", "India", 5814], 21 | ["South Africa", "China", 22491] 22 | ] 23 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/simpleTilemapData.json: -------------------------------------------------------------------------------- 1 | [ 2 | [3, 3, "Step 1", 3 | "First step towards the main idea. Describe the starting point of the situation."], 4 | [4, 3, "Step 2", 5 | "Describe where to move next in a short term time perspective."], 6 | [5, 4, "Step 3", 7 | "This can be a larger milestone, after the initial steps have been taken."], 8 | [6, 3, "Step 4", 9 | "Evaluate progress and readjust the course of the project."], 10 | [7, 3, "Step 5", 11 | "At this point, major progress should have been made, and we should be well on our way to implementing the main idea."], 12 | [6, 2, "Step 6", 13 | "Second evaluation and readjustment step. Implement final changes."], 14 | [5, 2, "Step 7", 15 | "Testing and final verification step."], 16 | [4, 2, "Step 8", 17 | "Iterate after final testing and finalize implementation of the idea."] 18 | ] -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/timelineData.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "首次生物", 4 | "label": "1951:第一批太空犬", 5 | "description": "1951年7月22日第一批狗(Dezik 和 Tsygan)送上太空" 6 | }, { 7 | "name": "人造卫星", 8 | "label": "1957: 第一颗人造卫星", 9 | "description": "1957年十月4日,发射第一颗人造卫星,第一次接收到来自太空的信号" 10 | }, { 11 | "name": "载人航天", 12 | "label": "1961:首次载人航天(尤里加加林)", 13 | "description": "首次载人航天(尤里加加林),首次载人轨道飞行" 14 | }, { 15 | "name": "登陆月球", 16 | "label": "1969:人类首次登陆月球", 17 | "description": "First human on the Moon, and first space launch from a celestial body other than the Earth. First sample return from the Moon" 18 | }, { 19 | "name": "空间站", 20 | "label": "1971: 第一个太空空间站", 21 | "description": "Salyut 1 was the first space station of any kind, launched into low Earth orbit by the Soviet Union on April 19, 1971." 22 | }, { 23 | "name": "阿波罗-联盟号试验计划", 24 | "label": "1975: First multinational manned mission", 25 | "description": "The mission included both joint and separate scientific experiments, and provided useful engineering experience for future joint US–Russian space flights, such as the Shuttle–Mir Program and the International Space Station." 26 | } 27 | ] 28 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/treemapWithColorAxisData.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "A", 4 | "value": 6, 5 | "color": { 6 | "patternIndex": 0 7 | }, 8 | "colorValue": 1 9 | }, { 10 | "name": "B", 11 | "value": 6, 12 | "color": { 13 | "patternIndex": 1 14 | }, 15 | "colorValue": 2 16 | }, { 17 | "name": "C", 18 | "value": 4, 19 | "color": { 20 | "patternIndex": 2 21 | }, 22 | "colorValue": 3 23 | }, { 24 | "name": "D", 25 | "value": 3, 26 | "color": { 27 | "patternIndex": 3 28 | }, 29 | "colorValue": 4 30 | }, { 31 | "name": "E", 32 | "value": 2, 33 | "color": { 34 | "patternIndex": 4 35 | }, 36 | "colorValue": 5 37 | }, { 38 | "name": "F", 39 | "value": 2, 40 | "color": { 41 | "patternIndex": 5 42 | }, 43 | "colorValue": 6 44 | }, { 45 | "name": "G", 46 | "value": 1, 47 | "color": { 48 | "patternIndex": 6 49 | }, 50 | "colorValue": 7 51 | } 52 | ] 53 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/treemapWithLevels2Data.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "id": "A", 3 | "name": "Nord-Norge", 4 | "color": "#50FFB1" 5 | }, { 6 | "id": "B", 7 | "name": "Trøndelag", 8 | "color": "#F5FBEF" 9 | }, { 10 | "id": "C", 11 | "name": "Vestlandet", 12 | "color": "#A09FA8" 13 | }, { 14 | "id": "D", 15 | "name": "Østlandet", 16 | "color": "#E7ECEF" 17 | }, { 18 | "id": "E", 19 | "name": "Sørlandet", 20 | "color": "#A9B4C2" 21 | }, { 22 | "name": "Troms og Finnmark", 23 | "parent": "A", 24 | "value": 70923 25 | }, { 26 | "name": "Nordland", 27 | "parent": "A", 28 | "value": 35759 29 | }, { 30 | "name": "Trøndelag", 31 | "parent": "B", 32 | "value": 39494 33 | }, { 34 | "name": "Møre og Romsdal", 35 | "parent": "C", 36 | "value": 13840 37 | }, { 38 | "name": "Vestland", 39 | "parent": "C", 40 | "value": 31969 41 | }, { 42 | "name": "Rogaland", 43 | "parent": "C", 44 | "value": 8576 45 | }, { 46 | "name": "Viken", 47 | "parent": "D", 48 | "value": 22768 49 | }, { 50 | "name": "Innlandet", 51 | "parent": "D", 52 | "value": 49391 53 | }, 54 | { 55 | "name": "Oslo", 56 | "parent": "D", 57 | "value": 454 58 | }, 59 | { 60 | "name": "Vestfold og Telemark", 61 | "parent": "D", 62 | "value": 15925 63 | }, 64 | { 65 | "name": "Agder", 66 | "parent": "E", 67 | "value": 14981 68 | }] 69 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/treemapWithLevelsData.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "A", 4 | "name": "苹果", 5 | "color": { 6 | "patternIndex": 6 7 | } 8 | }, { 9 | "id": "B", 10 | "name": "香蕉", 11 | "color": { 12 | "patternIndex": 7 13 | } 14 | }, { 15 | "id": "O", 16 | "name": "橘子", 17 | "color": { 18 | "patternIndex": 8 19 | } 20 | }, { 21 | "name": "小张", 22 | "parent": "A", 23 | "value": 5 24 | }, { 25 | "name": "小彭", 26 | "parent": "A", 27 | "value": 3 28 | }, { 29 | "name": "小潘", 30 | "parent": "A", 31 | "value": 4 32 | }, { 33 | "name": "小张", 34 | "parent": "B", 35 | "value": 4 36 | }, { 37 | "name": "小彭", 38 | "parent": "B", 39 | "value": 10 40 | }, { 41 | "name": "小潘", 42 | "parent": "B", 43 | "value": 1 44 | }, { 45 | "name": "小张", 46 | "parent": "O", 47 | "value": 1 48 | }, { 49 | "name": "小彭", 50 | "parent": "O", 51 | "value": 3 52 | }, { 53 | "name": "小潘", 54 | "parent": "O", 55 | "value": 3 56 | }, { 57 | "name": "阿苏", 58 | "parent": "wiki", 59 | "value": 2, 60 | "color": { 61 | "patternIndex": 9 62 | } 63 | } 64 | ] 65 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/variablepieData.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "西班牙", 4 | "color": { 5 | "patternIndex": 0 6 | }, 7 | "y": 505370, 8 | "z": 92.9 9 | }, { 10 | "name": "法国", 11 | "color": { 12 | "patternIndex": 1 13 | }, 14 | "y": 551500, 15 | "z": 118.7 16 | }, { 17 | "name": "波兰", 18 | "color": { 19 | "patternIndex": 2 20 | }, 21 | "y": 312685, 22 | "z": 124.6 23 | }, { 24 | "name": "捷克共和国", 25 | "color": { 26 | "patternIndex": 3 27 | }, 28 | "y": 78867, 29 | "z": 137.5 30 | }, { 31 | "name": "意大利", 32 | "color": { 33 | "patternIndex": 4 34 | }, 35 | "y": 301340, 36 | "z": 201.8 37 | }, { 38 | "name": "瑞士", 39 | "color": { 40 | "patternIndex": 5 41 | }, 42 | "y": 41277, 43 | "z": 214.5 44 | }, { 45 | "name": "德国", 46 | "color": { 47 | "patternIndex": 6 48 | }, 49 | "y": 357022, 50 | "z": 235.6 51 | } 52 | ] 53 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/variwideData.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["挪威", 50.2, 335504], 3 | ["丹麦", 42, 277339], 4 | ["比利时", 39.2, 421611], 5 | ["瑞典", 38, 462057], 6 | ["法国", 35.6, 2228857], 7 | ["荷兰", 34.3, 702641], 8 | ["芬兰", 33.2, 215615], 9 | ["德国", 33.0, 3144050], 10 | ["奥地利", 32.7, 349344], 11 | ["爱尔兰", 30.4, 275567], 12 | ["意大利", 27.8, 1672438], 13 | ["英国", 26.7, 2366911], 14 | ["西班牙", 21.3, 1113851], 15 | ["希腊", 14.2, 175887], 16 | ["葡萄牙", 13.7, 184933], 17 | ["捷克共和国", 10.2, 176564], 18 | ["波兰", 8.6, 424269], 19 | ["罗马尼亚", 5.5, 169578] 20 | ] 21 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/vennData.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "sets": ["Good"], 4 | "value": 2 5 | }, { 6 | "sets": ["Fast"], 7 | "value": 2 8 | }, { 9 | "sets": ["Cheap"], 10 | "value": 2 11 | }, { 12 | "sets": ["Good", "Fast"], 13 | "value": 1, 14 | "name": "More expensive" 15 | }, { 16 | "sets": ["Good", "Cheap"], 17 | "value": 1, 18 | "name": "Will take time to deliver" 19 | }, { 20 | "sets": ["Fast", "Cheap"], 21 | "value": 1, 22 | "name": "Not the best quality" 23 | }, { 24 | "sets": ["Fast", "Cheap", "Good"], 25 | "value": 1, 26 | "name": "They are dreaming" 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/volinPlotElement2Data.json: -------------------------------------------------------------------------------- 1 | [ 2 | [38, 0], 3 | [39, 0], 4 | [40, 0], 5 | [41, 0], 6 | [42, 0], 7 | [43, 1.7398814086959525e-10], 8 | [44, 4.2738095400258076e-8], 9 | [45, 0.000003887437286771067], 10 | [46, 0.0001323598214453675], 11 | [47, 0.001732535403876214], 12 | [48, 0.00922734792388576], 13 | [49, 0.021768546189023814], 14 | [50, 0.024012929915311995], 15 | [51, 0.011979910355387695], 16 | [52, 0.0033388294748258334], 17 | [53, 0.005227646441141197], 18 | [54, 0.013771532251947839], 19 | [55, 0.02919339926294712], 20 | [56, 0.07570390197742677], 21 | [57, 0.13365103542847676], 22 | [58, 0.13076621964804375], 23 | [59, 0.1078097770084547], 24 | [60, 0.09010677069685188], 25 | [61, 0.056582402708003965], 26 | [62, 0.03308468727355079], 27 | [63, 0.023455701911044388], 28 | [64, 0.02457030480282277], 29 | [65, 0.03632399183590655], 30 | [66, 0.052880667866068654], 31 | [67, 0.07723712616722567], 32 | [68, 0.10112277607441206], 33 | [69, 0.12481435329503127], 34 | [70, 0.15172074777005065], 35 | [71, 0.1672892277665827], 36 | [72, 0.18246452053632298], 37 | [73, 0.1755546923253718], 38 | [74, 0.1838775533940472], 39 | [75, 0.20966992614184968], 40 | [76, 0.18927036028023367], 41 | [77, 0.12351552590851589], 42 | [78, 0.07196164152893701], 43 | [79, 0.056531488980089674], 44 | [80, 0.0534323580717955], 45 | [81, 0.04235686946541823], 46 | [82, 0.029216384766772643], 47 | [83, 0.029091581174119197], 48 | [84, 0.03132016604603416], 49 | [85, 0.031774947357177896], 50 | [86, 0.02920414463847989], 51 | [87, 0.017870932795005387], 52 | [88, 0.007443733922222755], 53 | [89, 0.007878551612935955], 54 | [90, 0.011467441221575675], 55 | [91, 0.006915425022752088], 56 | [92, 0.0015426205427402709], 57 | [93, 0.00012662432753104478], 58 | [94, 0.0000038237208668521435], 59 | [95, 4.2477700493199295e-8] 60 | ] 61 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/DataJsonFiles/windbarbData.json: -------------------------------------------------------------------------------- 1 | [ 2 | [9.8, 177.9], 3 | [10.1, 177.2], 4 | [11.3, 179.7], 5 | [10.9, 175.5], 6 | [9.3, 159.9], 7 | [8.8, 159.6], 8 | [7.8, 162.6], 9 | [5.6, 186.2], 10 | [6.8, 146.0], 11 | [6.4, 139.9], 12 | [3.1, 180.2], 13 | [4.3, 177.6], 14 | [5.3, 191.8], 15 | [6.3, 173.1], 16 | [7.7, 140.2], 17 | [8.5, 136.1], 18 | [9.4, 142.9], 19 | [10.0, 140.4], 20 | [5.3, 142.1], 21 | [3.8, 141.0], 22 | [3.3, 116.5], 23 | [1.5, 327.5], 24 | [0.1, 1.1], 25 | [1.2, 11.1] 26 | ] 27 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/SeriesJsonFiles/pictorial1Series.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "name": "Daylight", 3 | "data": [6500] 4 | }, { 5 | "name": "Moonlight", 6 | "data": [4000] 7 | }, 8 | { 9 | "name": "Morning/Evening Sun", 10 | "data": [3500] 11 | }, 12 | { 13 | "name": "Lightbulb", 14 | "data": [3000] 15 | }, 16 | { 17 | "name": "Sunrise/sunset", 18 | "data": [2500] 19 | }, 20 | { 21 | "name": "Candle flame", 22 | "data": [1800] 23 | } 24 | ] 25 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/DataSource/SeriesJsonFiles/pictorial2Series.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "name": "Other", 3 | "data": [25, 25] 4 | }, { 5 | "name": "Essential Fat", 6 | "data": [12, 3] 7 | }, 8 | { 9 | "name": "Non-Essential Fat", 10 | "data": [15, 12] 11 | }, { 12 | "name": "Muscle Tissue", 13 | "data": [36, 45] 14 | }, 15 | { 16 | "name": "Bone", 17 | "data": [12, 15] 18 | } 19 | ] 20 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/View/ChartExampleCollectionViewCell.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "AAChartKit.h" 3 | 4 | NS_ASSUME_NONNULL_BEGIN 5 | 6 | @interface ChartExampleCollectionViewCell : UICollectionViewCell 7 | 8 | @property (nonatomic, strong, readonly) AAChartView *aaChartView; // 假设已有图表视图属性 9 | 10 | // 添加方法声明 11 | - (void)configureAppearanceForNightMode:(BOOL)isNightMode; 12 | 13 | - (void)setChartOptions:(AAOptions *)chartOptions completion:(void (^)(AAChartView *aaChartView))completion; 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AABaseChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABaseViewController.h 3 | // AAChartKitDemo 4 | // 5 | // Created by AnAn on 2020/7/5. 6 | // Copyright © 2020 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : https://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | #import "AAChartKit-Pro.h" 35 | 36 | NS_ASSUME_NONNULL_BEGIN 37 | 38 | @interface AABaseChartVC : UIViewController 39 | 40 | @property (nonatomic, strong) NSArray *navigationItemTitleArr; 41 | @property (nonatomic, assign) NSUInteger selectedIndex; 42 | 43 | @property (nonatomic, strong) AAChartView *aaChartView; 44 | 45 | @end 46 | 47 | NS_ASSUME_NONNULL_END 48 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AABubbleChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABubbleChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AABaseChartVC.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AABubbleChartVC : AABaseChartVC 15 | 16 | @end 17 | 18 | NS_ASSUME_NONNULL_END 19 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AABubbleChartVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // AABubbleChartVC.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AABubbleChartVC.h" 10 | #import "AABubbleChartComposer.h" 11 | #import "AABubbleStellarChartComposer.h" 12 | 13 | @implementation AABubbleChartVC 14 | 15 | - (void)viewDidLoad { 16 | [super viewDidLoad]; 17 | 18 | } 19 | 20 | - (id)chartConfigurationWithSelectedIndex:(NSUInteger)selectedIndex { 21 | switch (self.selectedIndex) { 22 | case 0: return [AABubbleChartComposer packedbubbleChart]; 23 | case 1: return [AABubbleChartComposer packedbubbleSplitChart]; 24 | case 2: return [AABubbleChartComposer packedbubbleSpiralChart]; 25 | case 3: return [AABubbleChartComposer eulerChart]; 26 | case 4: return [AABubbleStellarChartComposer bubbleStellarChart]; 27 | } 28 | return nil; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AAColumnVariantChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAColumnVariantChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AABaseChartVC.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAColumnVariantChartVC : AABaseChartVC 15 | 16 | @end 17 | 18 | NS_ASSUME_NONNULL_END 19 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AAColumnVariantChartVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAColumnVariantChartVC.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AAColumnVariantChartVC.h" 10 | #import "AAColumnVariantChartComposer.h" 11 | 12 | @implementation AAColumnVariantChartVC 13 | 14 | - (void)viewDidLoad { 15 | [super viewDidLoad]; 16 | 17 | } 18 | 19 | - (id)chartConfigurationWithSelectedIndex:(NSUInteger)selectedIndex { 20 | switch (self.selectedIndex) { 21 | case 0: return [AAColumnVariantChartComposer variwideChart]; 22 | case 1: return [AAColumnVariantChartComposer columnpyramidChart]; 23 | case 2: return [AAColumnVariantChartComposer dumbbellChart]; 24 | case 3: return [AAColumnVariantChartComposer lollipopChart]; 25 | case 4: return [AAColumnVariantChartComposer xrangeChart]; 26 | case 5: return [AAColumnVariantChartComposer histogramChart]; 27 | case 6: return [AAColumnVariantChartComposer bellcurveChart]; 28 | case 7: return [AAColumnVariantChartComposer bulletChart]; 29 | case 8: return [AAColumnVariantChartComposer pictorial1Chart]; 30 | case 9: return [AAColumnVariantChartComposer pictorial2Chart]; 31 | 32 | } 33 | return nil; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AAHeatmapChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAHeatmapChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AABaseChartVC.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AAHeatmapChartVC : AABaseChartVC 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AAHeatmapChartVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAHeatmapChartVC.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAHeatmapChartVC.h" 10 | #import "AAHeatmapChartComposer.h" 11 | 12 | @implementation AAHeatmapChartVC 13 | 14 | - (void)viewDidLoad { 15 | [super viewDidLoad]; 16 | 17 | } 18 | 19 | - (id)chartConfigurationWithSelectedIndex:(NSUInteger)selectedIndex { 20 | switch (selectedIndex) { 21 | case 0: return [AAHeatmapChartComposer heatmapChart]; 22 | case 1: return [AAHeatmapChartComposer largeDataHeatmapChart]; 23 | case 2: return [AAHeatmapChartComposer calendarHeatmap]; 24 | 25 | default: return nil; 26 | } 27 | } 28 | 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AARelationshipChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AARelationshipChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AABaseChartVC.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AARelationshipChartVC : AABaseChartVC 15 | 16 | @end 17 | 18 | NS_ASSUME_NONNULL_END 19 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AARelationshipChartVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // AARelationshipChartVC.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AARelationshipChartVC.h" 10 | #import "AARelationshipChartComposer.h" 11 | #import "AAOrganizationChartComposer.h" 12 | #import "AASankeyChartComposer.h" 13 | #import "AAMixedChartComposer.h" 14 | 15 | @implementation AARelationshipChartVC 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | 20 | } 21 | 22 | - (id)chartConfigurationWithSelectedIndex:(NSUInteger)selectedIndex { 23 | switch (self.selectedIndex) { 24 | case 0: return [AAMixedChartComposer barMixedColumnrangeWithPatternFillChart]; 25 | case 1: return [AARelationshipChartComposer dependencywheelChart]; 26 | case 2: return [AARelationshipChartComposer arcdiagramChart1]; 27 | case 3: return [AARelationshipChartComposer arcdiagramChart2]; 28 | case 4: return [AARelationshipChartComposer arcdiagramChart3]; 29 | case 5: return [AARelationshipChartComposer organizationChart]; 30 | case 6: return [AARelationshipChartComposer networkgraphChart]; 31 | case 7: return [AARelationshipChartComposer simpleDependencyWheelChart]; 32 | case 8: return [AARelationshipChartComposer neuralNetworkChart]; 33 | case 9: return [AARelationshipChartComposer carnivoraPhylogenyOrganizationChart]; 34 | case 10: return [AAOrganizationChartComposer germanicLanguageTreeChart]; 35 | case 11: return [AASankeyChartComposer sankeyDiagramChart]; 36 | case 12: return [AASankeyChartComposer verticalSankeyChart]; 37 | 38 | 39 | } 40 | return nil; 41 | } 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AATilemapChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAHeatOrTreeMapChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2022/8/8. 6 | // Copyright © 2022 An An. All rights reserved. 7 | // 8 | 9 | #import "AABaseChartVC.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AATilemapChartVC : AABaseChartVC 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AATreegraphChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AATreegraphChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AABaseChartVC.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AATreegraphChartVC : AABaseChartVC 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AATreegraphChartVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // AATreegraphChartVC.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AATreegraphChartVC.h" 10 | #import "AATreegraphChartComposer.h" 11 | 12 | @implementation AATreegraphChartVC 13 | 14 | - (void)viewDidLoad { 15 | [super viewDidLoad]; 16 | 17 | } 18 | 19 | - (id)chartConfigurationWithSelectedIndex:(NSUInteger)selectedIndex { 20 | switch (selectedIndex) { 21 | case 0: return [AATreegraphChartComposer treegraph]; 22 | case 1: return [AATreegraphChartComposer invertedTreegraph]; 23 | case 2: return [AATreegraphChartComposer treegraphWithBoxLayout]; 24 | 25 | default: return nil; 26 | } 27 | } 28 | 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AATreemapChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AATreemapChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AABaseChartVC.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AATreemapChartVC : AABaseChartVC 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/AATreemapChartVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // AATreemapChartVC.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/1. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AATreemapChartVC.h" 10 | #import "AATreemapChartComposer.h" 11 | 12 | @implementation AATreemapChartVC 13 | 14 | - (void)viewDidLoad { 15 | [super viewDidLoad]; 16 | 17 | } 18 | 19 | - (id)chartConfigurationWithSelectedIndex:(NSUInteger)selectedIndex { 20 | switch (selectedIndex) { 21 | case 0: return [AATreemapChartComposer treemapWithColorAxisData]; 22 | case 1: return [AATreemapChartComposer treemapWithLevelsData]; 23 | case 2: return [AATreemapChartComposer treemapWithLevelsData2]; 24 | case 3: return [AATreemapChartComposer drilldownLargeDataTreemapChart]; 25 | 26 | default: return nil; 27 | } 28 | } 29 | 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/BackgroundEffectsScene.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | NS_ASSUME_NONNULL_BEGIN 4 | 5 | @interface BackgroundEffectsScene : SKScene 6 | 7 | @end 8 | 9 | NS_ASSUME_NONNULL_END 10 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/ChartExampleCell.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @class AAChartView; 4 | @class AAOptions; 5 | 6 | NS_ASSUME_NONNULL_BEGIN 7 | 8 | typedef void(^ChartCompletionBlock)(AAChartView *aaChartView); 9 | 10 | @interface ChartExampleCell : UITableViewCell 11 | 12 | @property (nonatomic, strong, readonly) AAChartView *aaChartView; 13 | 14 | /// 设置图表选项 15 | /// @param options AAOptions 对象 16 | /// @param completion 完成回调 17 | - (void)setChartOptions:(AAOptions *)options completion:(nullable ChartCompletionBlock)completion; 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/ChartExampleCollectionViewCell.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @class AAChartView; 4 | @class AAOptions; 5 | 6 | NS_ASSUME_NONNULL_BEGIN 7 | 8 | // 重用 TableViewCell 的 Block 定义 9 | typedef void(^ChartCompletionBlock)(AAChartView *aaChartView); 10 | 11 | @interface ChartExampleCollectionViewCell : UICollectionViewCell 12 | 13 | @property (nonatomic, strong, readonly) AAChartView *aaChartView; 14 | 15 | /// 设置图表选项 16 | /// @param options AAOptions 对象 17 | /// @param completion 完成回调 18 | - (void)setChartOptions:(AAOptions *)options completion:(nullable ChartCompletionBlock)completion; 19 | 20 | - (void)configureAppearanceForNightMode:(BOOL)isNightMode; 21 | 22 | @end 23 | 24 | NS_ASSUME_NONNULL_END 25 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/ChartListCollectionViewVC.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | NS_ASSUME_NONNULL_BEGIN 4 | 5 | @interface ChartListCollectionViewVC : UIViewController 6 | 7 | @end 8 | 9 | NS_ASSUME_NONNULL_END 10 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/ChartListTableViewVC.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | NS_ASSUME_NONNULL_BEGIN 4 | 5 | @interface ChartListTableViewVC : UIViewController 6 | 7 | @end 8 | 9 | NS_ASSUME_NONNULL_END 10 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/ChartProVC.h: -------------------------------------------------------------------------------- 1 | 2 | // SpecialChartVC.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/23. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : http://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | #import "AABaseChartVC.h" 35 | 36 | @interface ChartProVC : AABaseChartVC 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAChartKit-Pro/ViewController/ChartSampleProvider.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | // 假设 AAOptions 和其他 Composer 类在 Objective-C 中可用且已导入 4 | #import "AAOptions.h" 5 | 6 | // 假设 ChartProVC 的方法在 Objective-C 中有等效实现,可能需要一个包装类或直接调用 7 | // #import "ChartProVCWrapper.h" // 示例导入 8 | 9 | NS_ASSUME_NONNULL_BEGIN 10 | 11 | @interface ChartSampleProvider : NSObject 12 | 13 | + (NSArray *)allProTypeSamples; 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AABoost/AABoost.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABoost.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/11. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AADebug; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AABoost : NSObject 16 | 17 | /** 18 | boost:{ 19 | allowForce:true 20 | debug:{ 21 | showSkipSummary:false 22 | timeBufferCopy:false 23 | timeKDTree:false 24 | timeRendering:false 25 | timeSeriesProcessing:false 26 | timeSetup:false 27 | } 28 | enabled:true 29 | pixelRatio:1 30 | seriesThreshold:50 31 | useGPUTranslations:false 32 | usePreallocated:false 33 | } 34 | */ 35 | 36 | AAPropStatementAndPropSetFuncStatement(strong, AABoost, id, allowForce) 37 | AAPropStatementAndPropSetFuncStatement(strong, AABoost, id, enabled) 38 | AAPropStatementAndPropSetFuncStatement(strong, AABoost, id, useGPUTranslations) 39 | AAPropStatementAndPropSetFuncStatement(strong, AABoost, id, usePreallocated) 40 | AAPropStatementAndPropSetFuncStatement(strong, AABoost, NSNumber *, pixelRatio) 41 | AAPropStatementAndPropSetFuncStatement(strong, AABoost, NSNumber *, seriesThreshold) 42 | AAPropStatementAndPropSetFuncStatement(strong, AABoost, AADebug *, debug) 43 | 44 | - (NSDictionary *)toDic; 45 | 46 | @end 47 | 48 | 49 | @interface AADebug : NSObject 50 | 51 | AAPropStatementAndPropSetFuncStatement(assign, AADebug, BOOL, showSkipSummary) 52 | AAPropStatementAndPropSetFuncStatement(assign, AADebug, BOOL, timeBufferCopy) 53 | AAPropStatementAndPropSetFuncStatement(assign, AADebug, BOOL, timeKDTree) 54 | AAPropStatementAndPropSetFuncStatement(assign, AADebug, BOOL, timeRendering) 55 | AAPropStatementAndPropSetFuncStatement(assign, AADebug, BOOL, timeSeriesProcessing) 56 | AAPropStatementAndPropSetFuncStatement(assign, AADebug, BOOL, timeSetup) 57 | 58 | @end 59 | 60 | NS_ASSUME_NONNULL_END 61 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AABoost/AABoostChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABoostChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/11. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AABoostChartComposer : NSObject 16 | 17 | + (AAOptions *)lineChart; 18 | + (AAOptions *)areaChart; 19 | + (AAOptions *)columnChart; 20 | + (AAOptions *)lineChartWithHundredsOfSeries; 21 | + (AAOptions *)scatterChartOptions; 22 | + (AAOptions *)areaRangeChart; 23 | + (AAOptions *)columnRangeChart; 24 | + (AAOptions *)bubbleChart; 25 | + (AAOptions *)heatMapChart; 26 | + (AAOptions *)stackingAreaChart; 27 | + (AAOptions *)stackingColumnChart; 28 | 29 | @end 30 | 31 | NS_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AABoost/AABoostChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABoostChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/11. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AABaseChartVC.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AABoostChartVC : AABaseChartVC 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AABoost/AABoostFractalChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AABoostFractalChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2025/4/9. 6 | // Copyright © 2025 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | @class AAOptions; 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AABoostFractalChartComposer : NSObject 15 | 16 | + (AAOptions *)boostFractalChart; 17 | 18 | @end 19 | 20 | NS_ASSUME_NONNULL_END 21 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AABoost/AAOptions+boost.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions+boost.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/11. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptions.h" 10 | #import "AABoost.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAOptions (boost) 15 | 16 | //为 AAOption 添加一个 boost 属性 17 | AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AABoost *, boost) 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AABoost/AAOptions+boost.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions+boost.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/11. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptions+boost.h" 10 | //导入 runtime 11 | #import 12 | 13 | @implementation AAOptions (boost) 14 | 15 | //使用关联对象, 实现添加 boost 属性 16 | - (void)setBoost:(NSDictionary *)boost { 17 | objc_setAssociatedObject(self, @selector(boost), boost, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 18 | } 19 | 20 | - (NSDictionary *)boost { 21 | return objc_getAssociatedObject(self, @selector(boost)); 22 | } 23 | 24 | //AAPropSetFuncImplementation(AAOptions, AABoost *, boost) 25 | //- (className * (^) (propertyPointerType propertyName))propertyName##Set { \ 26 | //return ^(propertyPointerType propertyName) { \ 27 | //self->_##propertyName = propertyName; \ 28 | //return self; \ 29 | //}; \ 30 | //} 31 | 32 | - (AAOptions * (^) (AABoost * boost))boostSet { 33 | return ^(AABoost * boost) { 34 | self.boost = boost; 35 | return self; 36 | }; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AADrilldown/AADrilldown.h: -------------------------------------------------------------------------------- 1 | // 2 | // AADrilldown.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AABreadcrumbs, AAPosition; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | /** 16 | drilldown: { 17 | breadcrumbs: { 18 | position: { 19 | align: 'right' 20 | } 21 | }, 22 | series: [ 23 | { 24 | name: 'Chrome', 25 | id: 'Chrome', 26 | data: [ 27 | */ 28 | @interface AADrilldown : NSObject 29 | 30 | AAPropStatementAndPropSetFuncStatement(strong, AADrilldown, AABreadcrumbs *, breadcrumbs) 31 | AAPropStatementAndPropSetFuncStatement(strong, AADrilldown, NSArray *, series) 32 | 33 | @end 34 | 35 | 36 | @interface AABreadcrumbs : NSObject 37 | 38 | AAPropStatementAndPropSetFuncStatement(strong, AABreadcrumbs, AAPosition *, position) 39 | 40 | @end 41 | 42 | 43 | /** 44 | data: [ 45 | { 46 | name: 'Chrome', 47 | y: 63.06, 48 | drilldown: 'Chrome' 49 | }, 50 | { 51 | name: 'Safari', 52 | y: 19.84, 53 | drilldown: 'Safari' 54 | }, 55 | */ 56 | @interface AADrilldownDataElement : NSObject 57 | 58 | AAPropStatementAndPropSetFuncStatement(copy, AADrilldownDataElement, NSString *, name) 59 | AAPropStatementAndPropSetFuncStatement(strong, AADrilldownDataElement, NSNumber *, y) 60 | AAPropStatementAndPropSetFuncStatement(copy, AADrilldownDataElement, NSString *, drilldown) 61 | 62 | @end 63 | 64 | 65 | 66 | NS_ASSUME_NONNULL_END 67 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AADrilldown/AADrilldown.m: -------------------------------------------------------------------------------- 1 | // 2 | // AADrilldown.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AADrilldown.h" 10 | 11 | /** 12 | @interface AADrilldown : NSObject 13 | 14 | AAPropStatementAndPropSetFuncStatement(strong, AADrilldown, AABreadcrumbs *, breadcrumbs) 15 | AAPropStatementAndPropSetFuncStatement(strong, AADrilldown, NSArray *, series) 16 | 17 | @end 18 | 19 | 20 | @interface AABreadcrumbs : NSObject 21 | 22 | AAPropStatementAndPropSetFuncStatement(strong, AABreadcrumbs, NSDictionary *, position) 23 | 24 | @end 25 | */ 26 | 27 | @implementation AADrilldown 28 | 29 | AAPropSetFuncImplementation(AADrilldown, AABreadcrumbs *, breadcrumbs) 30 | AAPropSetFuncImplementation(AADrilldown, NSArray *, series) 31 | 32 | @end 33 | 34 | 35 | @implementation AABreadcrumbs 36 | 37 | AAPropSetFuncImplementation(AABreadcrumbs, AAPosition *, position) 38 | 39 | @end 40 | 41 | /** 42 | @interface AADrilldownDataElement : NSObject 43 | 44 | AAPropStatementAndPropSetFuncStatement(copy, AADrilldownDataElement, NSString *, name) 45 | AAPropStatementAndPropSetFuncStatement(strong, AADrilldownDataElement, NSNumber *, y) 46 | AAPropStatementAndPropSetFuncStatement(copy, AADrilldownDataElement, NSString *, drilldown) 47 | 48 | @end 49 | */ 50 | 51 | @implementation AADrilldownDataElement 52 | 53 | AAPropSetFuncImplementation(AADrilldownDataElement, NSString *, name) 54 | AAPropSetFuncImplementation(AADrilldownDataElement, NSNumber *, y) 55 | AAPropSetFuncImplementation(AADrilldownDataElement, NSString *, drilldown) 56 | 57 | @end 58 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AADrilldown/AADrilldownChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AADrilldownChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AADrilldownChartComposer : NSObject 16 | 17 | + (AAOptions *)columnChart; 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AADrilldown/AADrilldownChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AADrilldownChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AABaseChartVC.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AADrilldownChartVC : AABaseChartVC 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AADrilldown/AADrilldownChartVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // AADrilldownChartVC.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AADrilldownChartVC.h" 10 | #import "AADrilldownChartComposer.h" 11 | 12 | //static NSString * const kBoostPath = @"https://code.highcharts.com/modules/boost.js"; 13 | 14 | @interface AADrilldownChartVC () 15 | 16 | @end 17 | 18 | @implementation AADrilldownChartVC 19 | 20 | - (void)viewDidLoad { 21 | [super viewDidLoad]; 22 | // Do any additional setup after loading the view. 23 | NSString *jsPath = [[NSBundle mainBundle] pathForResource:@"AADrilldown" ofType:@"js"]; 24 | self.aaChartView.pluginsArray = @[jsPath]; 25 | 26 | // AAOptions *aaOptions = [self configureChartOptions]; 27 | // NSDictionary *jsonDic = [AABoostChartComposer lineChartOptions]; 28 | AAOptions *aaOptions = [self chartConfigurationWithSelectedIndex:self.selectedIndex]; 29 | //⚠️ 这里打断点虽然看不到 boost 属性, 但是转换成 json 之后就能看到了 30 | //PS: 为什么看不到? 因为 boost 是一个动态属性, 通过 runtime 关联对象添加的 31 | //如果在控制台打印 aaOptions JSON 看不到 boost 属性, 在控制台搜索 boost 关键字也搜索不到, 其实只是因为数据太长, 控制台没有完全展示而已 32 | // AABoost *boost = aaOptions.boost; 33 | // NSLog(@"🚀🚀🚀 查看 boost 属性是否正常: %@",boost.toDic); 34 | // [self.aaChartView aa_drawChartWithOptions:aaOptions]; 35 | 36 | //https://code.highcharts.com/{version}/modules/boost.js 37 | //https://code.highcharts.com/9.3.2/modules/boost.js 38 | // 39 | //https://code.highcharts.com/10.0.0/modules/drilldown.js 40 | // 41 | //https://code.highcharts.com/11.0.1/highcharts-3d.js 42 | 43 | } 44 | 45 | - (id)chartConfigurationWithSelectedIndex:(NSUInteger)selectedIndex { 46 | switch (self.selectedIndex) { 47 | 48 | 49 | case 0: return [AADrilldownChartComposer columnChart]; 50 | 51 | 52 | 53 | } 54 | return nil; 55 | } 56 | 57 | 58 | 59 | 60 | 61 | @end 62 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AADrilldown/AAOptions+Drilldown.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions+Drilldown.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptions.h" 10 | #import "AADrilldown.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAOptions (Drilldown) 15 | 16 | //为 AAOptions 添加 drilldown 属性 17 | AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AADrilldown *, drilldown) 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AADrilldown/AAOptions+Drilldown.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions+Drilldown.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptions+Drilldown.h" 10 | //导入 runtime 库 11 | #import 12 | 13 | @implementation AAOptions (Drilldown) 14 | 15 | //使用关联对象, 实现添加 drilldown 属性 16 | - (void)setDrilldown:(AADrilldown *)drilldown { 17 | objc_setAssociatedObject(self, @selector(drilldown), drilldown, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 18 | } 19 | 20 | - (AADrilldown *)drilldown { 21 | return objc_getAssociatedObject(self, @selector(drilldown)); 22 | } 23 | 24 | - (AAOptions * (^) (AADrilldown * drilldown))drilldownSet { 25 | return ^(AADrilldown * drilldown) { 26 | self.drilldown = drilldown; 27 | return self; 28 | }; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AAChart+Options3D.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAChart+Options3D.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAChart.h" 10 | #import "AAOptions3D.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAChart (Options3D) 15 | 16 | //为 AAChart 对象添加 AAOpton3D 属性 17 | AAPropStatementAndPropSetFuncStatement(strong, AAChart, AAOptions3D *, options3d) 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AAChart+Options3D.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAChart+Options3D.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAChart+Options3D.h" 10 | //导入 runtime 头文件 11 | #import 12 | 13 | @implementation AAChart (Options3D) 14 | 15 | //使用关联对象, 实现添加 options3d 属性 16 | - (void)setOptions3d:(AAOptions3D *)options3d { 17 | objc_setAssociatedObject(self, @selector(options3d), options3d, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 18 | } 19 | 20 | - (AAOptions3D *)options3d { 21 | return objc_getAssociatedObject(self, @selector(options3d)); 22 | } 23 | 24 | - (AAChart * (^) (AAOptions3D * options3d))options3dSet { 25 | return ^(AAOptions3D * options3d) { 26 | self.options3d = options3d; 27 | return self; 28 | }; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AAOptions+ZAxis.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions+ZAxis.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptions.h" 10 | #import "AAOptions3D.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface AAOptions (ZAxis) 15 | 16 | //为 AAChart 对象添加 zAxis 属性 17 | AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AAZAxis *, zAxis) 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AAOptions+ZAxis.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions+ZAxis.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptions+ZAxis.h" 10 | //导入 runtime 库 11 | #import 12 | 13 | @implementation AAOptions (ZAxis) 14 | 15 | //使用关联对象, 实现添加 zAxis 属性 16 | - (void)setZAxis:(AAZAxis *)zAxis { 17 | objc_setAssociatedObject(self, @selector(zAxis), zAxis, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 18 | } 19 | 20 | - (AAZAxis *)zAxis { 21 | return objc_getAssociatedObject(self, @selector(zAxis)); 22 | } 23 | 24 | - (AAOptions * (^) (AAZAxis * zAxis))zAxisSet { 25 | return ^(AAZAxis * zAxis) { 26 | self.zAxis = zAxis; 27 | return self; 28 | }; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AAOptions3D.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions3D.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AAOptions3D.h" 10 | 11 | /** 12 | options3d: { 13 | enabled: true, 14 | alpha: 10, 15 | beta: 30, 16 | depth: 250, 17 | viewDistance: 5, 18 | fitToPlot: false, 19 | frame: { 20 | bottom: { size: 1, color: 'rgba(0,0,0,0.02)' }, 21 | back: { size: 1, color: 'rgba(0,0,0,0.04)' }, 22 | side: { size: 1, color: 'rgba(0,0,0,0.06)' } 23 | } 24 | } 25 | */ 26 | @implementation AAOptions3D 27 | 28 | AAPropSetFuncImplementation(AAOptions3D, BOOL , enabled) 29 | AAPropSetFuncImplementation(AAOptions3D, NSNumber *, alpha) 30 | AAPropSetFuncImplementation(AAOptions3D, NSNumber *, beta) 31 | AAPropSetFuncImplementation(AAOptions3D, NSNumber *, depth) 32 | AAPropSetFuncImplementation(AAOptions3D, NSNumber *, viewDistance) 33 | AAPropSetFuncImplementation(AAOptions3D, BOOL , fitToPlot) 34 | AAPropSetFuncImplementation(AAOptions3D, AAFrame *, frame) 35 | 36 | @end 37 | 38 | 39 | @implementation AAFrame 40 | 41 | AAPropSetFuncImplementation(AAFrame, NSDictionary *, bottom) 42 | AAPropSetFuncImplementation(AAFrame, NSDictionary *, back) 43 | AAPropSetFuncImplementation(AAFrame, NSDictionary *, side) 44 | 45 | @end 46 | 47 | 48 | /** 49 | zAxis: { 50 | min: 0, 51 | max: 3, 52 | categories: ['A01', 'A02', 'A03', 'A04', 'A05', 'A06', 'A07', 'A08', 'A09', 'A10', 'A11', 'A12'], 53 | labels: { 54 | y: 5, 55 | rotation: 18 56 | } 57 | }, 58 | */ 59 | 60 | @implementation AAZAxis 61 | 62 | AAPropSetFuncImplementation(AAZAxis, NSNumber *, min) 63 | AAPropSetFuncImplementation(AAZAxis, NSNumber *, max) 64 | AAPropSetFuncImplementation(AAZAxis, NSArray *, categories) 65 | AAPropSetFuncImplementation(AAZAxis, AALabels *, labels) 66 | //showFirstLabel 67 | AAPropSetFuncImplementation(AAZAxis, BOOL , showFirstLabel) 68 | 69 | @end 70 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AAOptions3DChartComposer.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions3DChartComposer.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class AAOptions; 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | @interface AAOptions3DChartComposer : NSObject 16 | 17 | + (AAOptions *)_3DColumnWithStackingRandomData; 18 | + (AAOptions *)_3DColumnWithStackingAndGrouping; 19 | + (AAOptions *)_3DBarWithStackingRandomData; 20 | + (AAOptions *)_3DBarWithStackingAndGrouping; 21 | + (AAOptions *)_3DAreaChart; 22 | + (AAOptions *)_3DScatterChart; 23 | + (AAOptions *)_3DPieChart; 24 | 25 | @end 26 | 27 | NS_ASSUME_NONNULL_END 28 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AAOptions3DChartVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // AAOptions3DChartVC.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AABaseChartVC.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface AAOptions3DChartVC : AABaseChartVC 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AASeries+Depth.h: -------------------------------------------------------------------------------- 1 | // 2 | // AASeries+Depth.h 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AASeries.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | /** .seriesSet(AASeries.new 14 | // .groupZPaddingSet(@10) 15 | // .depthSet(@100) 16 | .groupPaddingSet(@0) 17 | // .groupingSet(false) 18 | )*/ 19 | @interface AASeries (Depth) 20 | 21 | //为 AASeries 对象设置 groupZPadding 属性 22 | AAPropStatementAndPropSetFuncStatement(strong, AASeries, NSNumber *, groupZPadding) 23 | //为 AASeries 对象设置 depth 属性 24 | AAPropStatementAndPropSetFuncStatement(strong, AASeries, NSNumber *, depth) 25 | //为 AASeries 对象设置 grouping 属性 26 | AAPropStatementAndPropSetFuncStatement(assign, AASeries, BOOL, grouping) 27 | 28 | @end 29 | 30 | NS_ASSUME_NONNULL_END 31 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/AAPlugins/AAOptions3D/AASeries+Depth.m: -------------------------------------------------------------------------------- 1 | // 2 | // AASeries+Depth.m 3 | // AAChartKit-ProDemo 4 | // 5 | // Created by AnAn on 2024/11/15. 6 | // Copyright © 2024 An An. All rights reserved. 7 | // 8 | 9 | #import "AASeries+Depth.h" 10 | //导入 runtime 库 11 | #import 12 | 13 | /** 14 | //为 AASeries 对象设置 groupZPadding 属性 15 | AAPropStatementAndPropSetFuncStatement(strong, AASeries, NSNumber *, groupZPadding) 16 | //为 AASeries 对象设置 depth 属性 17 | AAPropStatementAndPropSetFuncStatement(strong, AASeries, NSNumber *, depth) 18 | //为 AASeries 对象设置 grouping 属性 19 | AAPropStatementAndPropSetFuncStatement(assign, AASeries, BOOL, grouping) 20 | 21 | */ 22 | @implementation AASeries (Depth) 23 | 24 | 25 | //使用关联对象, 实现添加 groupZPadding 属性 26 | - (void)setGroupZPadding:(NSNumber *)groupZPadding { 27 | objc_setAssociatedObject(self, @selector(groupZPadding), groupZPadding, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 28 | } 29 | 30 | - (NSNumber *)groupZPadding { 31 | return objc_getAssociatedObject(self, @selector(groupZPadding)); 32 | } 33 | 34 | - (AASeries * (^) (NSNumber * groupZPadding))groupZPaddingSet { 35 | return ^(NSNumber * groupZPadding) { 36 | self.groupZPadding = groupZPadding; 37 | return self; 38 | }; 39 | } 40 | 41 | 42 | //使用关联对象, 实现添加 depth 属性 43 | - (void)setDepth:(NSNumber *)depth { 44 | objc_setAssociatedObject(self, @selector(depth), depth, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 45 | } 46 | 47 | - (NSNumber *)depth { 48 | return objc_getAssociatedObject(self, @selector(depth)); 49 | } 50 | 51 | - (AASeries * (^) (NSNumber * depth))depthSet { 52 | return ^(NSNumber * depth) { 53 | self.depth = depth; 54 | return self; 55 | }; 56 | } 57 | 58 | 59 | //使用关联对象, 实现添加 grouping 属性 60 | - (void)setGrouping:(BOOL)grouping { 61 | objc_setAssociatedObject(self, @selector(grouping), @(grouping), OBJC_ASSOCIATION_RETAIN_NONATOMIC); 62 | } 63 | 64 | - (BOOL)grouping { 65 | return [objc_getAssociatedObject(self, @selector(grouping)) boolValue]; 66 | } 67 | 68 | - (AASeries * (^) (BOOL grouping))groupingSet { 69 | return ^(BOOL grouping) { 70 | self.grouping = grouping; 71 | return self; 72 | }; 73 | } 74 | 75 | @end 76 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/ChartsDemo/FirstViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FirstViewController.h 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/14. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : http://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface FirstViewController : UIViewController 36 | 37 | @end 38 | 39 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | UIInterfaceOrientationPortraitUpsideDown 37 | 38 | UISupportedInterfaceOrientations~ipad 39 | 40 | UIInterfaceOrientationPortrait 41 | UIInterfaceOrientationPortraitUpsideDown 42 | UIInterfaceOrientationLandscapeLeft 43 | UIInterfaceOrientationLandscapeRight 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/PrefixHeader.pch: -------------------------------------------------------------------------------- 1 | // 2 | // PrefixHeader.pch 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/1/5. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : http://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #ifndef PrefixHeader_pch 34 | #define PrefixHeader_pch 35 | 36 | #import "AAGlobalMacro.h" 37 | 38 | 39 | 40 | 41 | 42 | // Include any system framework and library headers here that should be included in all compilation units. 43 | // You will also need to set the Prefix Header build setting of one or more of your targets to reference this file. 44 | 45 | #endif /* PrefixHeader_pch */ 46 | -------------------------------------------------------------------------------- /AAChartKit-ProDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // AAChartKit 4 | // 5 | // Created by An An on 17/3/13. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : http://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | #import "AppDelegate.h" 35 | 36 | int main(int argc, char * argv[]) { 37 | @autoreleasepool { 38 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /AAChartKit-ProDemoTests/AAChartKitTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // AAChartKitTests.m 3 | // AAChartKitTests 4 | // 5 | // Created by An An on 17/3/13. 6 | // Copyright © 2017年 An An. All rights reserved. 7 | //*************** ...... SOURCE CODE ...... *************** 8 | //***...................................................*** 9 | //*** https://github.com/AAChartModel/AAChartKit *** 10 | //*** https://github.com/AAChartModel/AAChartKit-Swift *** 11 | //***...................................................*** 12 | //*************** ...... SOURCE CODE ...... *************** 13 | 14 | /* 15 | 16 | * ------------------------------------------------------------------------------- 17 | * 18 | * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔 19 | * 20 | * Please contact me on GitHub,if there are any problems encountered in use. 21 | * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues 22 | * ------------------------------------------------------------------------------- 23 | * And if you want to contribute for this project, please contact me as well 24 | * GitHub : https://github.com/AAChartModel 25 | * StackOverflow : https://stackoverflow.com/users/12302132/codeforu 26 | * JianShu : http://www.jianshu.com/u/f1e6753d4254 27 | * SegmentFault : https://segmentfault.com/u/huanghunbieguan 28 | * 29 | * ------------------------------------------------------------------------------- 30 | 31 | */ 32 | 33 | #import 34 | 35 | @interface AAChartKitTests : XCTestCase 36 | 37 | @end 38 | 39 | @implementation AAChartKitTests 40 | 41 | - (void)setUp { 42 | [super setUp]; 43 | // Put setup code here. This method is called before the invocation of each test method in the class. 44 | } 45 | 46 | - (void)tearDown { 47 | // Put teardown code here. This method is called after the invocation of each test method in the class. 48 | [super tearDown]; 49 | } 50 | 51 | - (void)testExample { 52 | // This is an example of a functional test case. 53 | // Use XCTAssert and related functions to verify your tests produce the correct results. 54 | } 55 | 56 | - (void)testPerformanceExample { 57 | // This is an example of a performance test case. 58 | [self measureBlock:^{ 59 | // Put the code you want to measure the time of here. 60 | }]; 61 | } 62 | 63 | @end 64 | -------------------------------------------------------------------------------- /AAChartKit-ProDemoTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /AAChartKit-ProDemoUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 An An 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-architect --------------------------------------------------------------------------------