Commit 2666579b authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

no message

parent c2d18ff1
This diff is collapsed.
......@@ -90,8 +90,8 @@
for (ICIPAProductModel *model in self.products) {
if ([model.productId containsString:@"week"]) {
_currentProduct = model;
break;
}
break;
}
[self startPlanAction:_currentProduct];
}
......@@ -104,8 +104,8 @@
for (ICIPAProductModel *model in self.products) {
if ([model.productId containsString:@"year"]) {
_currentProduct = model;
break;
}
break;
}
[self startPlanAction:_currentProduct];
}
......
......@@ -23,6 +23,7 @@
#import "ICPhotoManageViewController.h"
#import "ICContactsViewController.h"
#import "ICCalendarManageController.h"
#import "StatisticsViewController.h"
@interface ICHomeViewController ()<UICollectionViewDelegate,UICollectionViewDataSource>
......@@ -328,6 +329,11 @@
[self.navigationController pushViewController:vc animated:true];
}
break;
case 7:{
StatisticsViewController * statistics = [[StatisticsViewController alloc] init];
[self.navigationController pushViewController:statistics animated:YES];
}
break;
default:
break;
}
......
......@@ -293,7 +293,7 @@ static ZTNetworkTools* _tools = nil;
[dict setValue: UIDevice.currentDevice.systemVersion forKey:@"svn"];
//appLs
[dict setValue: @"58be4768aad83b97" forKey: @"appLs"];
[dict setValue: @"71b221c60431edfa" forKey: @"appLs"];
// LANGUAGE //lang=en_US
NSString *language = [[NSLocale preferredLanguages] firstObject];
......
//
// AAChartKit.h
// AAChartKit
//
// Created by An An on 17/3/13.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAChartView.h"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
//
// AAGlobalMacro.h
// AAChartKit
//
// Created by An An on 17/3/13.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#ifndef AAGlobalMacro_h
#define AAGlobalMacro_h
#define AAObject(objectName) [[objectName alloc]init]
#define AARgbaColor(r,g,b,a) [NSString stringWithFormat:@"rgba(%d,%d,%d,%f)",r,g,b,a]
#define AAJSFunc(x) #x
#define AAPropStatementAndPropSetFuncStatement(propertyModifier,className, propertyPointerType, propertyName) \
@property(nonatomic,propertyModifier)propertyPointerType propertyName; \
- (className * (^) (propertyPointerType propertyName)) propertyName##Set;
#define AAPropSetFuncImplementation(className, propertyPointerType, propertyName) \
- (className * (^) (propertyPointerType propertyName))propertyName##Set{ \
return ^(propertyPointerType propertyName) { \
self.propertyName = propertyName; \
return self; \
}; \
}
#endif /* AAGlobalMacro_h */
//
// AAOptions.h
// AAChartKit
//
// Created by An An on 17/1/4.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
#import "AAChart.h"
#import "AAAnimation.h"
#import "AATitle.h"
#import "AAXAxis.h"
#import "AAYAxis.h"
#import "AAPlotBandsElement.h"
#import "AACrosshair.h"
#import "AALabels.h"
#import "AALabel.h"
#import "AATooltip.h"
#import "AAPlotOptions.h"
#import "AAColumn.h"
#import "AABar.h"
#import "AAArea.h"
#import "AAAreaspline.h"
#import "AALine.h"
#import "AASpline.h"
#import "AAPie.h"
#import "AALegend.h"
#import "AADataLabels.h"
#import "AAStyle.h"
#import "AASeries.h"
#import "AAShadow.h"
#import "AAMarker.h"
#import "AAGradientColor.h"
#import "AAColor.h"
#import "AAStates.h"
#import "AAPane.h"
#import "AACredits.h"
#import "AALang.h"
@interface AAOptions : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AAChart *, chart)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AATitle *, title)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AASubtitle *, subtitle)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AAXAxis *, xAxis)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AAYAxis *, yAxis)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AATooltip *, tooltip)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AAPlotOptions *, plotOptions)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, NSArray *, series)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AALegend *, legend)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AAPane *, pane)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, NSArray *, colors)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AACredits *, credits)
AAPropStatementAndPropSetFuncStatement(strong, AAOptions, AALang *, defaultOptions)
AAPropStatementAndPropSetFuncStatement(assign, AAOptions, BOOL , touchEventEnabled)
@end
#import "AAChartModel.h"
@interface AAOptionsConstructor : NSObject
/**
Configure the chart content and style
@param chartModel The instance object of chart model
@return The instance object of chart options
*/
+ (AAOptions *)configureChartOptionsWithAAChartModel:(AAChartModel *)chartModel;
@end
This diff is collapsed.
//
// AASeriesElement.h
// AAChartKit
//
// Created by An An on 17/1/5.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AAMarker,AADataLabels,AATooltip,AAStates,AAShadow,AAZonesElement,AADataSorting;
@interface AASeriesElement : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, type)
AAPropStatementAndPropSetFuncStatement(assign, AASeriesElement, BOOL , allowPointSelect) //是否允许在点击数据点标记(markers)、柱子(柱形图)、扇区(饼图)时选中该点,选中的点可以通过 Chart.getSelectedPoints 来获取。 默认是:false.
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, name)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSArray *, data)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSString *, color)
AAPropStatementAndPropSetFuncStatement(assign, AASeriesElement, id , colorByPoint) //When using automatic point colors pulled from the options.colors collection, this option determines whether the chart should receive one color per series or one color per point. 默认是:false.
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, AAMarker *, marker)
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, stacking)
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, dashStyle)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, threshold)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, lineWidth) //折线图、曲线图、直方折线图、折线填充图、曲线填充图、直方折线填充图的线条宽度
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, borderWidth)//柱形图、条形图、扇形图等图形的描边宽度
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, borderColor) //柱形图、条形图、扇形图顿号等图形的描边颜色
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, borderRadius)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, borderRadiusTopLeft)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, borderRadiusTopRight)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, borderRadiusBottomLeft)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, borderRadiusBottomRight)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSString *, fillColor) //折线填充图、曲线填充图、直方折线填充图等填充图类型的填充颜色
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, fillOpacity) //折线填充图、曲线填充图、直方折线填充图等填充图类型的填充颜色透明度
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSString *, negativeColor) // The color for the parts of the graph or points that are below the threshold
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSString *, negativeFillColor)//A separate color for the negative part of the area.
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, innerSize)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, size)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSArray *, keys)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, yAxis)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, AADataLabels*, dataLabels)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, id , step) //是否转变为直方折线图
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, AAStates *, states)
AAPropStatementAndPropSetFuncStatement(assign, AASeriesElement, BOOL , showInLegend) //Whether to display this particular series or series type in the legend. The default value is true for standalone series, false for linked series. 默认是:true.
AAPropStatementAndPropSetFuncStatement(assign, AASeriesElement, BOOL , visible) //数据列是否显示的状态,可以通过 series.show()、series.hide()、series.setVisible 来改变这个属性
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSArray<AAZonesElement *>*, zones)
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, zoneAxis) //Defines the Axis on which the zones are applied. 默认是:y.
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, AAShadow *, shadow) //数据列的阴影效果。从 2.3 开始阴影可以配置成包含 color、offsetX、offsetY、opacity 和 width 属性的对象形式。 默认是:false
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, stack)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, AATooltip*, tooltip)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, zIndex) //层叠,series element 在图表中显示的层叠级别,值越大,显示越向前
AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, pointPlacement)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, id , enableMouseTracking)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, AADataSorting *, dataSorting)
AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, id , reversed) //Only useful for pyramid chart and funnel chart
@end
@interface AADataElement : NSObject
AAPropStatementAndPropSetFuncStatement(copy , AADataElement, NSString *, color)
AAPropStatementAndPropSetFuncStatement(strong, AADataElement, AADataLabels *, dataLabels)
AAPropStatementAndPropSetFuncStatement(strong, AADataElement, AAMarker *, marker)
AAPropStatementAndPropSetFuncStatement(strong, AADataElement, NSNumber *, y)
@end
@interface AAZonesElement : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAZonesElement, NSNumber *, value)
AAPropStatementAndPropSetFuncStatement(copy, AAZonesElement, NSString *, color)
AAPropStatementAndPropSetFuncStatement(strong, AAZonesElement, NSString *, fillColor)
AAPropStatementAndPropSetFuncStatement(copy, AAZonesElement, NSString *, dashStyle)
@end
@interface AADataSorting : NSObject
AAPropStatementAndPropSetFuncStatement(assign, AADataSorting, BOOL, enabled)
AAPropStatementAndPropSetFuncStatement(assign, AADataSorting, BOOL, matchByName)
@end
//
// AASeriesElement.m
// AAChartKit
//
// Created by An An on 17/1/19.
// Copyright © 2017年 An An. xAll rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AASeriesElement.h"
@implementation AASeriesElement
- (instancetype)init {
self = [super init];
if (self) {
_allowPointSelect = false;
_showInLegend = true;
_visible = true;
}
return self;
}
AAPropSetFuncImplementation(AASeriesElement, NSString *, type)
AAPropSetFuncImplementation(AASeriesElement, BOOL , allowPointSelect) //是否允许在点击数据点标记(markers)、柱子(柱形图)、扇区(饼图)时选中该点,选中的点可以通过 Chart.getSelectedPoints 来获取。 默认是:false.
AAPropSetFuncImplementation(AASeriesElement, NSString *, name)
AAPropSetFuncImplementation(AASeriesElement, NSArray *, data)
AAPropSetFuncImplementation(AASeriesElement, NSString *, color)
AAPropSetFuncImplementation(AASeriesElement, id , colorByPoint) //When using automatic point colors pulled from the options.colors collection, this option determines whether the chart should receive one color per series or one color per point. 默认是:false.
AAPropSetFuncImplementation(AASeriesElement, AAMarker *, marker)
AAPropSetFuncImplementation(AASeriesElement, NSString *, stacking)
AAPropSetFuncImplementation(AASeriesElement, NSString *, dashStyle)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, threshold)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, lineWidth) //折线图、曲线图、直方折线图、折线填充图、曲线填充图、直方折线填充图的线条宽度
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, borderWidth)//柱形图、条形图、扇形图等图形的描边宽度
AAPropSetFuncImplementation(AASeriesElement, NSString *, borderColor) //柱形图、条形图、扇形图等图形的描边颜色
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, borderRadius)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, borderRadiusTopLeft)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, borderRadiusTopRight)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, borderRadiusBottomLeft)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, borderRadiusBottomRight)
AAPropSetFuncImplementation(AASeriesElement, NSString *, fillColor) //折线填充图、曲线填充图、直方折线填充图等填充图类型的填充颜色
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, fillOpacity) //折线填充图、曲线填充图、直方折线填充图等填充图类型的填充颜色透明度
AAPropSetFuncImplementation(AASeriesElement, NSString *, negativeColor) //The color for the parts of the graph or points that are below the threshold
AAPropSetFuncImplementation(AASeriesElement, NSString *, negativeFillColor)//A separate color for the negative part of the area.
AAPropSetFuncImplementation(AASeriesElement, NSString *, innerSize)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, size)
AAPropSetFuncImplementation(AASeriesElement, NSArray *, keys)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, yAxis)
AAPropSetFuncImplementation(AASeriesElement, AADataLabels*, dataLabels)
AAPropSetFuncImplementation(AASeriesElement, id , step) //是否转变为直方折线图
AAPropSetFuncImplementation(AASeriesElement, AAStates *, states)
AAPropSetFuncImplementation(AASeriesElement, BOOL , showInLegend) //Whether to display this particular series or series type in the legend. The default value is true for standalone series, false for linked series. 默认是:true.
AAPropSetFuncImplementation(AASeriesElement, BOOL , visible) //数据列是否显示的状态,可以通过 series.show()、series.hide()、series.setVisible 来改变这个属性
AAPropSetFuncImplementation(AASeriesElement, NSArray<AAZonesElement *>*, zones)
AAPropSetFuncImplementation(AASeriesElement, NSString *, zoneAxis) //Defines the Axis on which the zones are applied. 默认是:y.
AAPropSetFuncImplementation(AASeriesElement, AAShadow *, shadow) //数据列的阴影效果。从 2.3 开始阴影可以配置成包含 color、offsetX、offsetY、opacity 和 width 属性的对象形式。 默认是:false
AAPropSetFuncImplementation(AASeriesElement, NSString *, stack)
AAPropSetFuncImplementation(AASeriesElement, AATooltip*, tooltip)
AAPropSetFuncImplementation(AASeriesElement, NSNumber *, zIndex) //层叠,series element 在图表中显示的层叠级别,值越大,显示越向前
AAPropSetFuncImplementation(AASeriesElement, NSString *, pointPlacement)
AAPropSetFuncImplementation(AASeriesElement, id , enableMouseTracking)
AAPropSetFuncImplementation(AASeriesElement, AADataSorting *, dataSorting)
AAPropSetFuncImplementation(AASeriesElement, id , reversed) //Only useful for pyramid chart and funnel chart
@end
@implementation AADataElement
AAPropSetFuncImplementation(AADataElement, NSString *, color)
AAPropSetFuncImplementation(AADataElement, AADataLabels *, dataLabels)
AAPropSetFuncImplementation(AADataElement, AAMarker *, marker)
AAPropSetFuncImplementation(AADataElement, NSNumber *, y)
@end
@implementation AAZonesElement : NSObject
AAPropSetFuncImplementation(AAZonesElement, NSNumber *, value)
AAPropSetFuncImplementation(AAZonesElement, NSString *, color)
AAPropSetFuncImplementation(AAZonesElement, NSString *, fillColor)
AAPropSetFuncImplementation(AAZonesElement, NSString *, dashStyle)
@end
@implementation AADataSorting : NSObject
AAPropSetFuncImplementation(AADataSorting, BOOL, enabled)
AAPropSetFuncImplementation(AADataSorting, BOOL, matchByName)
@end
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width = device-width, initial-scale = 1.0, minimum-scale = 1.0, maximum-scale = 3.0,user-scalable = no,viewport-fit = cover">
<script src="AAHighchartsLib.js"></script>
<script src="AAHighchartsMore.js"></script>
<script src="AAFunnel.js"></script>
<script src="AAEasing.js"></script>
<script src="AARoundedCorners.js"></script>
<!-- <script src="https://code.highcharts.com/highcharts.js"></script>-->
<!-- <script src="https://code.highcharts.com/highcharts-more.js"></script>-->
<!-- <script src="https://code.highcharts.com/modules/funnel.js"></script>-->
<style>
*{ -webkit-user-select: none;
user-select: none; }
</style>
</head>
<body style="margin:0px 0px 0px 0px;">
<div id="container" style="width:100%; height: 100%;">
</div>
<script>
var aaGlobalChart;
function loadTheHighChartView(sender, receivedWidth, receivedHeight) {
var container = document.getElementById('container');
if (receivedWidth != 0) {
container.style.width = receivedWidth;
}
if (receivedHeight != 0) {
container.style.height = receivedHeight;
}
var aaOptions = JSON.parse(sender);
if (aaOptions.defaultOptions) {
Highcharts.setOptions({
lang: aaOptions.defaultOptions
});
}
if (aaOptions.plotOptions) {
configurePlotOptions(aaOptions);
}
configureOptionsJSFunctions(aaOptions);
aaGlobalChart = Highcharts.chart('container', aaOptions);
}
function configurePlotOptions(aaOptions) {
var aaPlotOptions = aaOptions.plotOptions;
if (aaPlotOptions.series && aaPlotOptions.series.animation) {
var animation = aaPlotOptions.series.animation;
var animationEasingType = animation.easing;
animation.easing = configureTheChartAnimationEasingType(animationEasingType);
}
if (aaOptions.touchEventEnabled == true && aaPlotOptions.series) {
configureChartTouchEvent(aaPlotOptions);
}
}
function configureChartTouchEvent(aaPlotOptions) {
var mouseOverFunc = function() {
var message = {
name: this.series.name,
y: this.y,
x: this.x,
category:this.category,
offset: {plotX: this.plotX, plotY: this.plotY},
index: this.index,
};
window.webkit.messageHandlers.mouseover.postMessage(message);
};
var seriesPoint = {
events:{
mouseOver: mouseOverFunc,
}
};
aaPlotOptions.series.point = seriesPoint;
}
function configureOptionsJSFunctions(aaOptions) {
if (aaOptions.tooltip
&& aaOptions.tooltip.formatter) {
aaOptions.tooltip.formatter = eval(aaOptions.tooltip.formatter);
}
if (aaOptions.xAxis
&& aaOptions.xAxis.labels
&& aaOptions.xAxis.labels.formatter) {
aaOptions.xAxis.labels.formatter = eval(aaOptions.xAxis.labels.formatter);
}
if (aaOptions.yAxis
&& aaOptions.yAxis.labels
&& aaOptions.yAxis.labels.formatter) {
aaOptions.yAxis.labels.formatter = eval(aaOptions.yAxis.labels.formatter);
}
if (aaOptions.plotOptions
&& aaOptions.plotOptions.series
) {
if (aaOptions.plotOptions.series.dataLabels
&& aaOptions.plotOptions.series.dataLabels.formatter) {
aaOptions.plotOptions.series.dataLabels.formatter = eval(aaOptions.plotOptions.series.dataLabels.formatter);
}
if (aaOptions.plotOptions.series.events
&& aaOptions.plotOptions.series.events.legendItemClick) {
aaOptions.plotOptions.series.events.legendItemClick = eval(aaOptions.plotOptions.series.events.legendItemClick);
}
}
}
function onlyRefreshTheChartDataWithSeries(receivedSeries, animation) {
var receivedSeriesArr = JSON.parse(receivedSeries);
var seriesArrLength = receivedSeriesArr.length;
for (var i = 0; i < seriesArrLength; i++) {
var receivedSeriesElementData = receivedSeriesArr[i].data;
var seriesElement = aaGlobalChart.series[i];
seriesElement.setData(receivedSeriesElementData, false);
}
var animationBool = (animation == "1") ? true:false;
aaGlobalChart.redraw(animationBool);
}
function updateChart(optionsStr, redraw) {
var options = JSON.parse(optionsStr);
aaGlobalChart.update(options,redraw);
}
function addPointToChartSeries(elementIndex, optionsStr, redraw, shift, animation) {
var options = JSON.parse(optionsStr);
var redrawBool = (redraw == "1") ? true:false;
var shiftBool = (shift == "1") ? true:false;
var animationBool = (animation == "1") ? true:false;
var seriesElement = aaGlobalChart.series[elementIndex];
seriesElement.addPoint(options, redrawBool, shiftBool, animationBool);
}
function redrawWithAnimation(animation) {
var animationBool = (animation == "1") ? true:false;
aaGlobalChart.redraw(animationBool);
}
function setTheChartViewContentWidth(receivedWidth) {
var container = document.getElementById('container');
container.style.width = receivedWidth;
aaGlobalChart.reflow();
}
function setTheChartViewContentHeight(receivedHeight) {
var container = document.getElementById('container');
container.style.height = receivedHeight;
aaGlobalChart.reflow();
}
function setChartSeriesHidden(hidden) {
var seriesLength = aaGlobalChart.series.length;
for (var i = 0; i < seriesLength; i++) {
var seriesElement = aaGlobalChart.series[i];
if (hidden == true) {
seriesElement.hide();
} else {
seriesElement.show();
}
}
}
function showTheSeriesElementContentWithIndex(elementIndex) {
var seriesElement = aaGlobalChart.series[elementIndex];
seriesElement.show();
}
function hideTheSeriesElementContentWithIndex(elementIndex) {
var seriesElement = aaGlobalChart.series[elementIndex];
seriesElement.hide();
}
function addElementToChartSeriesWithElement(elementStr) {
var seriesElement = JSON.parse(elementStr);
aaGlobalChart.addSeries(seriesElement);
}
function removeElementFromChartSeriesWithElementIndex(elementIndex) {
var seriesElement = aaGlobalChart.series[elementIndex];
if (seriesElement) {
seriesElement.remove(true);
}
}
function evaluateTheJavaScriptStringFunction(jsStringFunction) {
eval(jsStringFunction);
}
function changeChartSize(receivedWidth, receivedHeight, receivedAnimation) {
var container = document.getElementById('container');
container.style.width = receivedWidth;
container.style.height = receivedHeight;
var aaAnimation;
if (receivedAnimation) {
aaAnimation = JSON.parse(receivedAnimation);
var animationEasingType = aaAnimation.easing;
aaAnimation.easing = configureTheChartAnimationEasingType(animationEasingType);
}
aaGlobalChart.setSize(receivedWidth, receivedHeight, aaAnimation);
}
</script>
</body>
</html>
function configureTheChartAnimationEasingType(easingType){switch(easingType){case 1:return function(pos){return Math.pow(pos,2)};case 2:return function(pos){return -(Math.pow((pos-1),2)-1)};case 3:return function(pos){if((pos/=0.5)<1){return 0.5*Math.pow(pos,2)}return -0.5*((pos-=2)*pos-2)};case 4:return function(pos){return Math.pow(pos,3)};case 5:return function(pos){return(Math.pow((pos-1),3)+1)};case 6:return function(pos){if((pos/=0.5)<1){return 0.5*Math.pow(pos,3)}return 0.5*(Math.pow((pos-2),3)+2)};case 7:return function(pos){return Math.pow(pos,4)};case 8:return function(pos){return -(Math.pow((pos-1),4)-1)};case 9:return function(pos){if((pos/=0.5)<1){return 0.5*Math.pow(pos,4)}return -0.5*((pos-=2)*Math.pow(pos,3)-2)};case 10:return function(pos){return Math.pow(pos,5)};case 11:return function(pos){return(Math.pow((pos-1),5)+1)};case 12:return function(pos){if((pos/=0.5)<1){return 0.5*Math.pow(pos,5)}return 0.5*(Math.pow((pos-2),5)+2)};case 13:return function(pos){return -Math.cos(pos*(Math.PI/2))+1};case 14:return function(pos){return Math.sin(pos*(Math.PI/2))};case 15:return function(pos){return(-0.5*(Math.cos(Math.PI*pos)-1))};case 16:return function(pos){return(pos===0)?0:Math.pow(2,10*(pos-1))};case 17:return function(pos){return(pos===1)?1:-Math.pow(2,-10*pos)+1};case 18:return function(pos){if(pos===0){return 0}if(pos===1){return 1}if((pos/=0.5)<1){return 0.5*Math.pow(2,10*(pos-1))}return 0.5*(-Math.pow(2,-10*--pos)+2)};case 19:return function(pos){return -(Math.sqrt(1-(pos*pos))-1)};case 20:return function(pos){return Math.sqrt(1-Math.pow((pos-1),2))};case 21:return function(pos){if((pos/=0.5)<1){return -0.5*(Math.sqrt(1-pos*pos)-1)}return 0.5*(Math.sqrt(1-(pos-=2)*pos)+1)};case 22:return function(pos){if((pos)<(1/2.75)){return(7.5625*pos*pos)}else{if(pos<(2/2.75)){return(7.5625*(pos-=(1.5/2.75))*pos+0.75)}else{if(pos<(2.5/2.75)){return(7.5625*(pos-=(2.25/2.75))*pos+0.9375)}else{return(7.5625*(pos-=(2.625/2.75))*pos+0.984375)}}}};case 23:return function(pos){var s=1.70158;return(pos)*pos*((s+1)*pos-s)};case 24:return function(pos){var s=1.70158;return(pos=pos-1)*pos*((s+1)*pos+s)+1};case 25:return function(pos){var s=1.70158;if((pos/=0.5)<1){return 0.5*(pos*pos*(((s*=(1.525))+1)*pos-s))}return 0.5*((pos-=2)*pos*(((s*=(1.525))+1)*pos+s)+2)};case 26:return function(pos){return -1*Math.pow(4,-8*pos)*Math.sin((pos*6-1)*(2*Math.PI)/2)+1};case 27:return function(pos){var s=1.70158;return((pos/=0.5)<1)?0.5*(pos*pos*(((s*=(1.525))+1)*pos-s)):0.5*((pos-=2)*pos*(((s*=(1.525))+1)*pos+s)+2)};case 28:return function(pos){var s=1.70158;return pos*pos*((s+1)*pos-s)};case 29:return function(pos){var s=1.70158;return(pos-=1)*pos*((s+1)*pos+s)+1};case 30:return function(pos){if(pos<(1/2.75)){return(7.5625*pos*pos)}else{if(pos<(2/2.75)){return(7.5625*(pos-=(1.5/2.75))*pos+0.75)}else{if(pos<(2.5/2.75)){return(7.5625*(pos-=(2.25/2.75))*pos+0.9375)}else{return(7.5625*(pos-=(2.625/2.75))*pos+0.984375)}}}};case 31:return function(pos){if(pos<(1/2.75)){return(7.5625*pos*pos)}else{if(pos<(2/2.75)){return 2-(7.5625*(pos-=(1.5/2.75))*pos+0.75)}else{if(pos<(2.5/2.75)){return 2-(7.5625*(pos-=(2.25/2.75))*pos+0.9375)}else{return 2-(7.5625*(pos-=(2.625/2.75))*pos+0.984375)}}}};case 32:return function(pos){if((pos/=0.5)<1){return 0.5*Math.pow(pos,4)}return -0.5*((pos-=2)*Math.pow(pos,3)-2)};case 33:return function(pos){return Math.pow(pos,4)};case 34:return function(pos){return Math.pow(pos,0.25)}}};
/*
Highcharts JS v8.1.0 (2020-05-05)
Highcharts funnel module
(c) 2010-2019 Torstein Honsi
License: www.highcharts.com/license
*/
(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/funnel",["highcharts"],function(e){b(e);b.Highcharts=e;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function e(b,l,e,B){b.hasOwnProperty(l)||(b[l]=B.apply(null,e))}b=b?b._modules:{};e(b,"modules/funnel.src.js",[b["parts/Globals.js"],b["parts/Utilities.js"]],function(b,l){var e=l.isArray,B=l.pick;l=b.seriesType;var F=
b.seriesTypes,K=b.fireEvent,G=b.addEvent,I=b.noop;l("funnel","pie",{animation:!1,center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",reversed:!1,size:!0,dataLabels:{connectorWidth:1,verticalAlign:"middle"},states:{select:{color:"#cccccc",borderColor:"#000000"}}},{animate:I,translate:function(){function a(b,a){return/%$/.test(b)?a*parseInt(b,10)/100:parseInt(b,10)}var b=0,d=this,g=d.chart,f=d.options,k=f.reversed,c=f.ignoreHiddenPoint,v=g.plotWidth;g=g.plotHeight;var e=
0,l=f.center,h=a(l[0],v),m=a(l[1],g),F=a(f.width,v),r,t=a(f.height,g),y=a(f.neckWidth,v),H=a(f.neckHeight,g),z=m-t/2+t-H;v=d.data;var C,D,G="left"===f.dataLabels.position?1:0,A,n,E,u,p,x,q;d.getWidthAt=function(b){var a=m-t/2;return b>z||t===H?y:y+(F-y)*(1-(b-a)/(t-H))};d.getX=function(b,a,c){return h+(a?-1:1)*(d.getWidthAt(k?2*m-b:b)/2+c.labelDistance)};d.center=[h,m,t];d.centerX=h;v.forEach(function(a){c&&!1===a.visible||(b+=a.y)});v.forEach(function(a){q=null;D=b?a.y/b:0;n=m-t/2+e*t;p=n+D*t;r=
d.getWidthAt(n);A=h-r/2;E=A+r;r=d.getWidthAt(p);u=h-r/2;x=u+r;n>z?(A=u=h-y/2,E=x=h+y/2):p>z&&(q=p,r=d.getWidthAt(z),u=h-r/2,x=u+r,p=z);k&&(n=2*m-n,p=2*m-p,null!==q&&(q=2*m-q));C=[["M",A,n],["L",E,n],["L",x,p]];null!==q&&C.push(["L",x,q],["L",u,q]);C.push(["L",u,p],["Z"]);a.shapeType="path";a.shapeArgs={d:C};a.percentage=100*D;a.plotX=h;a.plotY=(n+(q||p))/2;a.tooltipPos=[h,a.plotY];a.dlBox={x:u,y:n,topWidth:E-A,bottomWidth:x-u,height:Math.abs(B(q,p)-n),width:NaN};a.slice=I;a.half=G;c&&!1===a.visible||
(e+=D)});K(d,"afterTranslate")},sortByAngle:function(a){a.sort(function(a,b){return a.plotY-b.plotY})},drawDataLabels:function(){var a=this.data,b=this.options.dataLabels.distance,d,g=a.length;for(this.center[2]-=2*b;g--;){var f=a[g];var k=(d=f.half)?1:-1;var c=f.plotY;f.labelDistance=B(f.options.dataLabels&&f.options.dataLabels.distance,b);this.maxLabelDistance=Math.max(f.labelDistance,this.maxLabelDistance||0);var e=this.getX(c,d,f);f.labelPosition={natural:{x:0,y:c},"final":{},alignment:d?"right":
"left",connectorPosition:{breakAt:{x:e+(f.labelDistance-5)*k,y:c},touchingSliceAt:{x:e+f.labelDistance*k,y:c}}}}F[this.options.dataLabels.inside?"column":"pie"].prototype.drawDataLabels.call(this)},alignDataLabel:function(a,e,d,g,f){var k=a.series;g=k.options.reversed;var c=a.dlBox||a.shapeArgs,l=d.align,w=d.verticalAlign,J=((k.options||{}).dataLabels||{}).inside,h=k.center[1];k=k.getWidthAt((g?2*h-a.plotY:a.plotY)-c.height/2+e.height);k="middle"===w?(c.topWidth-c.bottomWidth)/4:(k-c.bottomWidth)/
2;h=c.y;var m=c.x;"middle"===w?h=c.y-c.height/2+e.height/2:"top"===w&&(h=c.y-c.height+e.height+d.padding);if("top"===w&&!g||"bottom"===w&&g||"middle"===w)"right"===l?m=c.x-d.padding+k:"left"===l&&(m=c.x+d.padding-k);g={x:m,y:g?h-c.height:h,width:c.bottomWidth,height:c.height};d.verticalAlign="bottom";J&&!a.visible||b.Series.prototype.alignDataLabel.call(this,a,e,d,g,f);J&&(!a.visible&&a.dataLabel&&(a.dataLabel.placed=!1),a.contrastColor&&e.css({color:a.contrastColor}))}});G(b.Chart,"afterHideAllOverlappingLabels",
function(){this.series.forEach(function(a){var b=a.options&&a.options.dataLabels;e(b)&&(b=b[0]);a.is("pie")&&a.placeDataLabels&&b&&!b.inside&&a.placeDataLabels()})});l("pyramid","funnel",{neckWidth:"0%",neckHeight:"0%",reversed:!0});""});e(b,"masters/modules/funnel.src.js",[],function(){})});
//# sourceMappingURL=funnel.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(function(factory){if(typeof module==="object"&&module.exports){module.exports=factory}else{factory(Highcharts)}}(function(H){var rel=H.relativeLength;H.wrap(H.seriesTypes.column.prototype,"translate",function(proceed){var options=this.options,topMargin=options.topMargin||0,bottomMargin=options.bottomMargin||0;proceed.call(this);H.each(this.points,function(point){var shapeArgs=point.shapeArgs,w=shapeArgs.width,h=shapeArgs.height,x=shapeArgs.x,y=shapeArgs.y;var rTopLeft=rel(options.borderRadiusTopLeft||0,w),rTopRight=rel(options.borderRadiusTopRight||0,w),rBottomRight=rel(options.borderRadiusBottomRight||0,w),rBottomLeft=rel(options.borderRadiusBottomLeft||0,w);if(rTopLeft||rTopRight||rBottomRight||rBottomLeft){var maxR=Math.min(w,h)/2;if(rTopLeft>maxR){rTopLeft=maxR}if(rTopRight>maxR){rTopRight=maxR}if(rBottomRight>maxR){rBottomRight=maxR}if(rBottomLeft>maxR){rBottomLeft=maxR}point.dlBox=point.shapeArgs;point.shapeType="path";point.shapeArgs={d:["M",x+rTopLeft,y+topMargin,"L",x+w-rTopRight,y+topMargin,"C",x+w-rTopRight/2,y,x+w,y+rTopRight/2,x+w,y+rTopRight,"L",x+w,y+h-rBottomRight,"C",x+w,y+h-rBottomRight/2,x+w-rBottomRight/2,y+h,x+w-rBottomRight,y+h+bottomMargin,"L",x+rBottomLeft,y+h+bottomMargin,"C",x+rBottomLeft/2,y+h,x,y+h-rBottomLeft/2,x,y+h-rBottomLeft,"L",x,y+rTopLeft,"C",x,y+rTopLeft/2,x+rTopLeft/2,y,x+rTopLeft,y,"Z"]}}})})}));
//
// AAAnimation.h
// AAChartKit
//
// Created by An An on 17/1/19.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@interface AAAnimation : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAAnimation, NSNumber *, duration)
AAPropStatementAndPropSetFuncStatement(assign, AAAnimation, NSInteger , easing)
@end
//
// AAAnimation.m
// AAChartKit
//
// Created by An An on 17/1/19.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAAnimation.h"
@implementation AAAnimation
AAPropSetFuncImplementation(AAAnimation, NSNumber *, duration)
AAPropSetFuncImplementation(AAAnimation, NSInteger , easing)
@end
//
// AAArea.h
// AAChartKit
//
// Created by An An on 17/3/15.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AADataLabels;
@interface AAArea : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAArea, AADataLabels *, dataLabels)
@end
//
// AAArea.m
// AAChartKit
//
// Created by An An on 17/3/15.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAArea.h"
@implementation AAArea
AAPropSetFuncImplementation(AAArea, AADataLabels *, dataLabels)
@end
//
// AAAreaspline.h
// AAChartKit
//
// Created by An An on 17/3/15.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AADataLabels;
@interface AAAreaspline : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAAreaspline, AADataLabels *, dataLabels)
@end
//
// AAAreaspline.m
// AAChartKit
//
// Created by An An on 17/3/15.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAAreaspline.h"
@implementation AAAreaspline
AAPropSetFuncImplementation(AAAreaspline, AADataLabels *, dataLabels)
@end
//
// AABar.h
// AAChartKit
//
// Created by An An on 17/1/19.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AADataLabels;
@interface AABar : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AABar, NSNumber *, pointPadding)
AAPropStatementAndPropSetFuncStatement(strong, AABar, NSNumber *, groupPadding)
AAPropStatementAndPropSetFuncStatement(strong, AABar, NSNumber *, borderWidth)
AAPropStatementAndPropSetFuncStatement(assign, AABar, BOOL, colorByPoint) //对每个不同的点设置颜色(当图表类型为 column 时,设置为 column 对象的属性,当图表类型为 bar 时,应该设置为 bar 对象的属性才有效)
AAPropStatementAndPropSetFuncStatement(strong, AABar, AADataLabels *, dataLabels)
AAPropStatementAndPropSetFuncStatement(strong, AABar, NSNumber *, borderRadius)
@end
//
// AABar.m
// AAChartKit
//
// Created by An An on 17/1/19.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AABar.h"
@implementation AABar
AAPropSetFuncImplementation(AABar, NSNumber *, pointPadding)
AAPropSetFuncImplementation(AABar, NSNumber *, groupPadding)
AAPropSetFuncImplementation(AABar, NSNumber *, borderWidth)
AAPropSetFuncImplementation(AABar, BOOL , colorByPoint)
AAPropSetFuncImplementation(AABar, AADataLabels *, dataLabels)
AAPropSetFuncImplementation(AABar, NSNumber *, borderRadius)
@end
//
// AAChart.h
// AAChartKit
//
// Created by An An on 17/1/5.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
#import "AAGlobalMacro.h"
@class AAAnimation, AAScrollablePlotArea;
@interface AAChart : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AAChart, NSString *, type)
AAPropStatementAndPropSetFuncStatement(strong, AAChart, NSString *, backgroundColor)
AAPropStatementAndPropSetFuncStatement(copy, AAChart, NSString *, plotBackgroundImage) //指定绘图区背景图片的地址。如果需要设置整个图表的背景,请通过 CSS 来给容器元素(div)设置背景图。另外如果需要在导出图片中包含这个背景图,要求这个地址是公网可以访问的地址(包含可以访问且是绝对路径)。
AAPropStatementAndPropSetFuncStatement(copy, AAChart, NSString *, pinchType)
AAPropStatementAndPropSetFuncStatement(assign, AAChart, BOOL, panning)
//AAPropStatementAndPropSetFuncStatement(copy, AAChart, NSString *, panKey)
AAPropStatementAndPropSetFuncStatement(assign, AAChart, BOOL, polar)
AAPropStatementAndPropSetFuncStatement(strong, AAChart, AAAnimation *, animation) //设置启用动画的时间和类型
AAPropStatementAndPropSetFuncStatement(assign, AAChart, BOOL, inverted)
AAPropStatementAndPropSetFuncStatement(strong, AAChart, NSArray *, margin)// 图表外边缘和绘图区域之间的边距。 数组中的数字分别表示顶部,右侧,底部和左侧 ([👆,👉,👇,👈])。 也可以使用 marginTop,marginRight,marginBottom 和 marginLeft 来设置某一个方向的边距。
AAPropStatementAndPropSetFuncStatement(strong, AAChart, NSNumber *, marginTop) //👆
AAPropStatementAndPropSetFuncStatement(strong, AAChart, NSNumber *, marginRight) //👉
AAPropStatementAndPropSetFuncStatement(strong, AAChart, NSNumber *, marginBottom) //👇
AAPropStatementAndPropSetFuncStatement(strong, AAChart, NSNumber *, marginLeft) //👈
AAPropStatementAndPropSetFuncStatement(strong, AAChart, AAScrollablePlotArea *, scrollablePlotArea)
@end
@interface AAScrollablePlotArea : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, minHeight)
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, minWidth)
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, opacity)
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, scrollPositionX)
AAPropStatementAndPropSetFuncStatement(strong, AAScrollablePlotArea, NSNumber *, scrollPositionY)
@end
//
// AAChart.m
// AAChartKit
//
// Created by An An on 17/1/5.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAChart.h"
@implementation AAChart
AAPropSetFuncImplementation(AAChart, NSString *, type)
AAPropSetFuncImplementation(AAChart, NSString *, backgroundColor)
AAPropSetFuncImplementation(AAChart, NSString *, plotBackgroundImage) //指定绘图区背景图片的地址。如果需要设置整个图表的背景,请通过 CSS 来给容器元素(div)设置背景图。另外如果需要在导出图片中包含这个背景图,要求这个地址是公网可以访问的地址(包含可以访问且是绝对路径)。
AAPropSetFuncImplementation(AAChart, NSString *, pinchType)
AAPropSetFuncImplementation(AAChart, BOOL , panning)
//AAPropSetFuncImplementation(AAChart, NSString *, panKey)
AAPropSetFuncImplementation(AAChart, BOOL , polar)
AAPropSetFuncImplementation(AAChart, AAAnimation *, animation)
AAPropSetFuncImplementation(AAChart, BOOL , inverted)
AAPropSetFuncImplementation(AAChart, NSArray *, margin)// 图表外边缘和绘图区域之间的边距。 数组中的数字分别表示顶部,右侧,底部和左侧。 也可以使用 marginTop,marginRight,marginBottom 和 marginLeft 来设置某一个方向的边距。
AAPropSetFuncImplementation(AAChart, NSNumber *, marginTop)
AAPropSetFuncImplementation(AAChart, NSNumber *, marginRight)
AAPropSetFuncImplementation(AAChart, NSNumber *, marginBottom)
AAPropSetFuncImplementation(AAChart, NSNumber *, marginLeft)
AAPropSetFuncImplementation(AAChart, AAScrollablePlotArea *, scrollablePlotArea)
@end
@implementation AAScrollablePlotArea
AAPropSetFuncImplementation(AAScrollablePlotArea, NSNumber *, minHeight)
AAPropSetFuncImplementation(AAScrollablePlotArea, NSNumber *, minWidth)
AAPropSetFuncImplementation(AAScrollablePlotArea, NSNumber *, opacity)
AAPropSetFuncImplementation(AAScrollablePlotArea, NSNumber *, scrollPositionX)
AAPropSetFuncImplementation(AAScrollablePlotArea, NSNumber *, scrollPositionY)
@end
//
// AAColumn.h
// AAChartKit
//
// Created by An An on 17/1/5.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AADataLabels;
@interface AAColumn : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AAColumn, NSString *, name)
AAPropStatementAndPropSetFuncStatement(strong, AAColumn, NSArray *, data)
AAPropStatementAndPropSetFuncStatement(copy, AAColumn, NSString *, color)
AAPropStatementAndPropSetFuncStatement(assign, AAColumn, BOOL, grouping) //Whether to group non-stacked columns or to let them render independent of each other. Non-grouped columns will be laid out individually and overlap each other. 默认是:true.
AAPropStatementAndPropSetFuncStatement(strong, AAColumn, NSNumber *, pointPadding) //Padding between each column or bar, in x axis units. 默认是:0.1.
AAPropStatementAndPropSetFuncStatement(strong, AAColumn, NSNumber *, pointPlacement) //Padding between each column or bar, in x axis units. 默认是:0.1.
AAPropStatementAndPropSetFuncStatement(strong, AAColumn, NSNumber *, groupPadding) //Padding between each value groups, in x axis units. 默认是:0.2.
AAPropStatementAndPropSetFuncStatement(strong, AAColumn, NSNumber *, borderWidth)
AAPropStatementAndPropSetFuncStatement(assign, AAColumn, BOOL, colorByPoint) //对每个不同的点设置颜色(当图表类型为 AAColumn 时,设置为 AAColumn 对象的属性,当图表类型为 bar 时,应该设置为 bar 对象的属性才有效)
AAPropStatementAndPropSetFuncStatement(strong, AAColumn, AADataLabels *, dataLabels)
AAPropStatementAndPropSetFuncStatement(copy, AAColumn, NSString *, stacking)
AAPropStatementAndPropSetFuncStatement(strong, AAColumn, NSNumber *, borderRadius)
AAPropStatementAndPropSetFuncStatement(strong, AAColumn, NSNumber *, yAxis)
@end
//
// AAColumn.m
// AAChartKit
//
// Created by An An on 17/1/5.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAColumn.h"
@implementation AAColumn
- (instancetype)init {
self = [super init];
if (self) {
_grouping = true;
}
return self;
}
AAPropSetFuncImplementation(AAColumn, NSString *, name)
AAPropSetFuncImplementation(AAColumn, NSArray *, data)
AAPropSetFuncImplementation(AAColumn, NSString *, color)
AAPropSetFuncImplementation(AAColumn, BOOL, grouping)
AAPropSetFuncImplementation(AAColumn, NSNumber *, pointPadding)
AAPropSetFuncImplementation(AAColumn, NSNumber *, pointPlacement)
AAPropSetFuncImplementation(AAColumn, NSNumber *, groupPadding)
AAPropSetFuncImplementation(AAColumn, NSNumber *, borderWidth)
AAPropSetFuncImplementation(AAColumn, BOOL , colorByPoint)
AAPropSetFuncImplementation(AAColumn, AADataLabels *, dataLabels)
AAPropSetFuncImplementation(AAColumn, NSString *, stacking)
AAPropSetFuncImplementation(AAColumn, NSNumber *, borderRadius)
AAPropSetFuncImplementation(AAColumn, NSNumber *, yAxis)
@end
//
// AACredits.h
// AAChartKitDemo
//
// Created by AnAn on 2020/7/17.
// Copyright © 2020 AnAn. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class AAPosition,AAStyle;
@interface AACredits : NSObject
AAPropStatementAndPropSetFuncStatement(assign, AACredits, BOOL, enabled)
AAPropStatementAndPropSetFuncStatement(copy, AACredits, NSString *, href)
AAPropStatementAndPropSetFuncStatement(strong, AACredits, AAPosition *, position)
AAPropStatementAndPropSetFuncStatement(strong, AACredits, AAStyle *, style)
AAPropStatementAndPropSetFuncStatement(copy, AACredits, NSString *, text)
@end
@interface AAPosition : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AAPosition, NSString *, align)
AAPropStatementAndPropSetFuncStatement(copy, AAPosition, NSString *, verticalAlign)
AAPropStatementAndPropSetFuncStatement(strong, AAPosition, NSNumber *, x)
AAPropStatementAndPropSetFuncStatement(strong, AAPosition, NSNumber *, y)
@end
NS_ASSUME_NONNULL_END
//
// AACredits.m
// AAChartKitDemo
//
// Created by AnAn on 2020/7/17.
// Copyright © 2020 AnAn. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AACredits.h"
@implementation AACredits
AAPropSetFuncImplementation(AACredits, BOOL, enabled)
AAPropSetFuncImplementation(AACredits, NSString *, href)
AAPropSetFuncImplementation(AACredits, AAPosition *, position)
AAPropSetFuncImplementation(AACredits, AAStyle *, style)
AAPropSetFuncImplementation(AACredits, NSString *, text)
@end
@implementation AAPosition
AAPropSetFuncImplementation(AAPosition, NSString *, align)
AAPropSetFuncImplementation(AAPosition, NSString *, verticalAlign)
AAPropSetFuncImplementation(AAPosition, NSNumber *, x)
AAPropSetFuncImplementation(AAPosition, NSNumber *, y)
@end
//
// AAXAxis.h
// AAChartKit
//
// Created by An An on 17/1/5.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@interface AACrosshair : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AACrosshair, NSString *, dashStyle) //准星线样式
AAPropStatementAndPropSetFuncStatement(copy, AACrosshair, NSString *, color) //准星线颜色
AAPropStatementAndPropSetFuncStatement(strong, AACrosshair, NSNumber *, width) //准星线宽度
AAPropStatementAndPropSetFuncStatement(strong, AACrosshair, NSNumber *, zIndex) //准星线的层叠值, 增大层叠值可以让准星线显示在数据里或网格线的上方。 默认是:2.
@end
//
// AAXAxis.h
// AAChartKit
//
// Created by An An on 17/1/5.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AACrosshair.h"
@implementation AACrosshair
AAPropSetFuncImplementation(AACrosshair, NSString *, dashStyle) //准星线样式
AAPropSetFuncImplementation(AACrosshair, NSString *, color) //准星线颜色
AAPropSetFuncImplementation(AACrosshair, NSNumber *, width) //准星线宽度
AAPropSetFuncImplementation(AACrosshair, NSNumber *, zIndex) //准星线的层叠值, 增大层叠值可以让准星线显示在数据里或网格线的上方。 默认是:2.
@end
//
// AADataLabels.h
// AAChartKit
//
// Created by An An on 17/1/6.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AAStyle;
@interface AADataLabels : NSObject
//https://api.hcharts.cn/highcharts#plotOptions.area.dataLabels.align
//align: 水平对齐
//allowOverlap: 允许重叠
//backgroundColor: 背景颜色
//borderColor: 边框颜色
//borderRadius: 边框圆角
//borderWidth: 边框宽度
//className: 类名
//color: 颜色
//crop: 裁剪
//defer: 延迟显示
//enabled: 开关
//format: 格式化字符串
//formatter: 格式化函数
//inside: 显示在内部
//overflow: 溢出处理
//padding: 内边距
//rotation: 旋转角度
//shadow: 阴影
//shape: 箭头形状
//style: 样式
//useHTML: HTML 渲染
//verticalAlign: 竖直对齐方式
//x: 水平偏移
//y: 竖直偏移
//zIndex
//https://api.hcharts.cn/highcharts#plotOptions.pie.dataLabels.connectorPadding
//backgroundColor: undefined
//borderColor: undefined
//borderRadius: 0
//borderWidth: 0
//className: undefined
//color: undefined
//connectorColor: "{point.color}"
//connectorPadding: 5
//connectorWidth: 1
//crop: true
//defer: true
//distance: 30
//enabled: true
//format: "{y}"
//formatter: undefined
//inside: undefined
//overflow: "justify"
//padding: 5
//rotation: 0
//shadow: false
//shape: "square"
//softConnector: true
//style: {"color": "contrast", "fontSize": "11px", "fontWeight": "bold", "textOutline": "1px 1px contrast" }
//useHTML: false
//verticalAlign: undefined
//x: 0
//y: -6
//zIndex
AAPropStatementAndPropSetFuncStatement(assign, AADataLabels, BOOL , enabled)
AAPropStatementAndPropSetFuncStatement(assign, AADataLabels, NSString *, align)
AAPropStatementAndPropSetFuncStatement(strong, AADataLabels, AAStyle *, style)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSString *, format)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSString *, formatter)
AAPropStatementAndPropSetFuncStatement(strong, AADataLabels, NSNumber *, rotation)
AAPropStatementAndPropSetFuncStatement(assign, AADataLabels, BOOL , allowOverlap)
AAPropStatementAndPropSetFuncStatement(assign, AADataLabels, BOOL , useHTML)
AAPropStatementAndPropSetFuncStatement(strong, AADataLabels, NSNumber *, distance)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSString *, verticalAlign)
AAPropStatementAndPropSetFuncStatement(strong, AADataLabels, NSNumber *, x)
AAPropStatementAndPropSetFuncStatement(strong, AADataLabels, NSNumber *, y)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSString *, color)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSString *, backgroundColor)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSString *, borderColor)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSNumber *, borderRadius)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSNumber *, borderWidth)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSString *, shape)
AAPropStatementAndPropSetFuncStatement(assign, AADataLabels, BOOL , crop)
AAPropStatementAndPropSetFuncStatement(assign, AADataLabels, BOOL , inside)
AAPropStatementAndPropSetFuncStatement(copy, AADataLabels, NSString *, overflow)//该参数用于处理当数据标签超出绘图区时处理方式,默认值是 justify,即将超过绘图区的数据标签对齐绘图区内,对于柱形,也就意味着数据标签将会被移动到柱子内部。通过设置 crop 为 false 及 overflow 为"none" 可以让数据标签显示在绘图区的外面。 默认是:justify.
AAPropStatementAndPropSetFuncStatement(assign, AADataLabels, BOOL , softConnector)//Whether to render the connector as a soft arc or a line with sharp break. Only useful for pie, pyramid and funnel chart
AAPropStatementAndPropSetFuncStatement(strong, AADataLabels, NSDictionary *, textPath)
AAPropStatementAndPropSetFuncStatement(strong, AADataLabels, NSDictionary *, filter)
@end
//
// AADataLabels.m
// AAChartKit
//
// Created by An An on 17/1/6.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AADataLabels.h"
#import "AAJSStringPurer.h"
@implementation AADataLabels
- (instancetype)init {
self = [super init];
if (self) {
_enabled = true;
_softConnector = true;
}
return self;
}
AAPropSetFuncImplementation(AADataLabels, BOOL , enabled)
AAPropSetFuncImplementation(AADataLabels, NSString *, align)
AAPropSetFuncImplementation(AADataLabels, AAStyle *, style)
AAPropSetFuncImplementation(AADataLabels, NSString *, format)
//AAPropSetFuncImplementation(AADataLabels, NSString *, formatter)
AAPropSetFuncImplementation(AADataLabels, NSNumber *, rotation)
AAPropSetFuncImplementation(AADataLabels, BOOL , allowOverlap)
AAPropSetFuncImplementation(AADataLabels, BOOL , useHTML)
AAPropSetFuncImplementation(AADataLabels, NSNumber *, distance)
AAPropSetFuncImplementation(AADataLabels, NSString *, verticalAlign)
AAPropSetFuncImplementation(AADataLabels, NSNumber *, x)
AAPropSetFuncImplementation(AADataLabels, NSNumber *, y)
AAPropSetFuncImplementation(AADataLabels, NSString *, color)
AAPropSetFuncImplementation(AADataLabels, NSString *, backgroundColor)
AAPropSetFuncImplementation(AADataLabels, NSString *, borderColor)
AAPropSetFuncImplementation(AADataLabels, NSNumber *, borderRadius)
AAPropSetFuncImplementation(AADataLabels, NSNumber *, borderWidth)
AAPropSetFuncImplementation(AADataLabels, NSString *, shape)
AAPropSetFuncImplementation(AADataLabels, BOOL , crop)
AAPropSetFuncImplementation(AADataLabels, BOOL , inside)
AAPropSetFuncImplementation(AADataLabels, NSString *, overflow)
AAPropSetFuncImplementation(AADataLabels, BOOL , softConnector)//Whether to render the connector as a soft arc or a line with sharp break. Only useful for pie, pyramid and funnel chart
AAPropSetFuncImplementation(AADataLabels, NSDictionary *, textPath)
AAPropSetFuncImplementation(AADataLabels, NSDictionary *, filter);
- (void)setFormatter:(NSString *)formatter {
_formatter = [AAJSStringPurer pureJavaScriptFunctionStringWithString:formatter];
}
- (AADataLabels * (^) (NSString * formatter))formatterSet {
return ^(NSString * formatter) {
self->_formatter = [AAJSStringPurer pureJavaScriptFunctionStringWithString:formatter];
return self;
};
}
@end
//
// AALabel.h
// AAChartKitDemo
//
// Created by AnAn on 2018/12/30.
// Copyright © 2018 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AAStyle;
NS_ASSUME_NONNULL_BEGIN
@interface AALabel : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AALabel, NSString *, align)//标签的对齐方式,可用的值有 "left"、"center" 及 "right"。默认值是根据坐标轴的位置(在图表中的位置)即标签的旋转角度进行智能判断的。 默认是:center.
AAPropStatementAndPropSetFuncStatement(strong, AALabel, NSNumber *, rotation)//标签的旋转角度 默认是:0.
AAPropStatementAndPropSetFuncStatement(copy, AALabel, NSString *, text)//文字
AAPropStatementAndPropSetFuncStatement(copy, AALabel, NSString *, textAlign)//文字对齐
AAPropStatementAndPropSetFuncStatement(assign, AALabel, BOOL , useHTML)//HTML渲染
AAPropStatementAndPropSetFuncStatement(copy, AALabel, NSString *, verticalAlign)//竖直对齐
AAPropStatementAndPropSetFuncStatement(strong, AALabel, AAStyle *, style)//轴标签的 CSS 样式
AAPropStatementAndPropSetFuncStatement(strong, AALabel, NSNumber *, x)//水平偏移
AAPropStatementAndPropSetFuncStatement(strong, AALabel, NSNumber *, y)// 竖直偏移
@end
NS_ASSUME_NONNULL_END
//
// AALabel.m
// AAChartKitDemo
//
// Created by AnAn on 2018/12/30.
// Copyright © 2018 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AALabel.h"
@implementation AALabel
AAPropSetFuncImplementation(AALabel, NSString *, align)//标签的对齐方式,可用的值有 "left"、"center" 及 "right"。默认值是根据坐标轴的位置(在图表中的位置)即标签的旋转角度进行智能判断的。 默认是:center.
AAPropSetFuncImplementation(AALabel, NSNumber *, rotation)//标签的旋转角度 默认是:0.
AAPropSetFuncImplementation(AALabel, NSString *, text)//文字
AAPropSetFuncImplementation(AALabel, NSString *, textAlign)//文字对齐
AAPropSetFuncImplementation(AALabel, BOOL , useHTML)//HTML渲染
AAPropSetFuncImplementation(AALabel, NSString *, verticalAlign)//竖直对齐
AAPropSetFuncImplementation(AALabel, AAStyle *, style)//轴标签的 CSS 样式
AAPropSetFuncImplementation(AALabel, NSNumber *, x)//水平偏移
AAPropSetFuncImplementation(AALabel, NSNumber *, y)// 竖直偏移
@end
//
// AALabels.h
// AAChartKit
//
// Created by An An on 17/3/1.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AAStyle,AAJSStringPurer;
@interface AALabels : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AALabels, NSString *, align)//轴标签的对齐方式,可用的值有 "left"、"center" 及 "right"。默认值是根据坐标轴的位置(在图表中的位置)即标签的旋转角度进行智能判断的。 默认是:center.
AAPropStatementAndPropSetFuncStatement(strong, AALabels, id , autoRotation)//只针对水平轴有效,允许在防止轴标签重叠时自动旋转轴标签的角度。当空间足够时,轴标签不会被旋转。当图表变小时(主要是宽度变小) ,轴标签开始旋转对应的角度,然后会依次删除间隔的轴标签并尝试旋转数组中的角度。可以通过将此参数设置为 false 来关闭轴标签旋转(这将导致标签自动换行)。 默认是:[-45].
AAPropStatementAndPropSetFuncStatement(strong, AALabels, NSNumber *, autoRotationLimit)//当每个分类的宽度比该参数的值大很多(像素)时,轴标签将不会被自动旋转,而是以换行的形式展示轴标签。 当轴标签包含多个短词时换行展示轴标签可以使得轴标签有足够的空间,所以设置合理的自动旋转下限是非常有意义的。 默认是:80.
AAPropStatementAndPropSetFuncStatement(strong, AALabels, NSNumber *, distance)//只针对极地图有效,定义周标签与绘图区边缘的距离。 默认是:15.
AAPropStatementAndPropSetFuncStatement(assign, AALabels, BOOL , enabled)//是否显示坐标轴标签 默认是:true.
AAPropStatementAndPropSetFuncStatement(copy, AALabels, NSString *, format)//坐标轴格式化字符串。 默认是:{value}.
AAPropStatementAndPropSetFuncStatement(copy, AALabels, NSString *, formatter)//坐标轴格式化字符串。 默认是:{value}.
AAPropStatementAndPropSetFuncStatement(strong, AALabels, NSNumber *, padding)//轴标签的内间距,作用是保证轴标签之间有空隙。 默认是:5.
AAPropStatementAndPropSetFuncStatement(strong, AALabels, NSNumber *, rotation)//轴标签的旋转角度 默认是:0.
AAPropStatementAndPropSetFuncStatement(strong, AALabels, NSNumber *, staggerLines)//只针对水平轴有效,定义轴标签显示行数。
AAPropStatementAndPropSetFuncStatement(strong, AALabels, NSNumber *, step)//显示 n 的倍数标签,例如设置为 2 则表示标签间隔一个轴标签显示。默认情况下,为了避免轴标签被覆盖,该参数会根据情况自动计算。可以通过设置此参数为 1 来阻止自动计算。
AAPropStatementAndPropSetFuncStatement(strong, AALabels, AAStyle *, style)//轴标签的 CSS 样式
AAPropStatementAndPropSetFuncStatement(strong, AALabels, NSNumber *, x)//相对于坐标轴刻度线的水平偏移。 默认是:0.
AAPropStatementAndPropSetFuncStatement(strong, AALabels, NSNumber *, y)//相对于坐标轴刻度线的垂直平偏移。 默认是:null.
AAPropStatementAndPropSetFuncStatement(assign, AALabels, BOOL , useHTML)//HTML渲染
@end
//
// AALabels.m
// AAChartKit
//
// Created by An An on 17/3/1.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AALabels.h"
#import "AAJSStringPurer.h"
@implementation AALabels
- (instancetype)init {
self = [super init];
if (self) {
_enabled = true;
}
return self;
}
AAPropSetFuncImplementation(AALabels, NSString *, align)//轴标签的对齐方式,可用的值有 "left"、"center" 及 "right"。默认值是根据坐标轴的位置(在图表中的位置)即标签的旋转角度进行智能判断的。 默认是:center.
AAPropSetFuncImplementation(AALabels, id , autoRotation)//只针对水平轴有效,允许在防止轴标签重叠时自动旋转轴标签的角度。当空间足够时,轴标签不会被旋转。当图表变小时(主要是宽度变小) ,轴标签开始旋转对应的角度,然后会依次删除间隔的轴标签并尝试旋转数组中的角度。可以通过将此参数设置为 false 来关闭轴标签旋转(这将导致标签自动换行)。 默认是:[-45].
AAPropSetFuncImplementation(AALabels, NSNumber *, autoRotationLimit)//当每个分类的宽度比该参数的值大很多(像素)时,轴标签将不会被自动旋转,而是以换行的形式展示轴标签。 当轴标签包含多个短词时换行展示轴标签可以使得轴标签有足够的空间,所以设置合理的自动旋转下限是非常有意义的。 默认是:80.
AAPropSetFuncImplementation(AALabels, NSNumber *, distance)//只针对极地图有效,定义周标签与绘图区边缘的距离。 默认是:15.
AAPropSetFuncImplementation(AALabels, BOOL , enabled)//是否显示坐标轴标签 默认是:true.
AAPropSetFuncImplementation(AALabels, NSString *, format)//坐标轴格式化字符串。 默认是:{value}.
//AAPropSetFuncImplementation(AALabels, NSString *, formatter)//坐标轴格式化字符串。 默认是:{value}.
AAPropSetFuncImplementation(AALabels, NSNumber *, padding)//轴标签的内间距,作用是保证轴标签之间有空隙。 默认是:5.
AAPropSetFuncImplementation(AALabels, NSNumber *, rotation)//轴标签的旋转角度 默认是:0.
AAPropSetFuncImplementation(AALabels, NSNumber *, staggerLines)//只针对水平轴有效,定义轴标签显示行数。
AAPropSetFuncImplementation(AALabels, NSNumber *, step)//显示 n 的倍数标签,例如设置为 2 则表示标签间隔一个轴标签显示。默认情况下,为了避免轴标签被覆盖,该参数会根据情况自动计算。可以通过设置此参数为 1 来阻止自动计算。
AAPropSetFuncImplementation(AALabels, AAStyle *, style)//轴标签的 CSS 样式
AAPropSetFuncImplementation(AALabels, NSNumber *, x)//相对于坐标轴刻度线的水平偏移。 默认是:0.
AAPropSetFuncImplementation(AALabels, NSNumber *, y)//相对于坐标轴刻度线的垂直平偏移。 默认是:null.
AAPropSetFuncImplementation(AALabels, BOOL , useHTML)//HTML渲染
- (void)setFormatter:(NSString *)formatter {
_formatter = [AAJSStringPurer pureJavaScriptFunctionStringWithString:formatter];
}
- (AALabels * (^) (NSString * formatter))formatterSet {
return ^(NSString * formatter) {
self->_formatter = [AAJSStringPurer pureJavaScriptFunctionStringWithString:formatter];
return self;
};
}
@end
//
// AALang.h
// AAChartKitDemo
//
// Created by AnAn on 2020/7/17.
// Copyright © 2020 AnAn. All rights reserved.
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface AALang : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AALang, NSString *, resetZoom)
AAPropStatementAndPropSetFuncStatement(copy, AALang, NSString *, thousandsSep)
@end
NS_ASSUME_NONNULL_END
//
// AALang.m
// AAChartKitDemo
//
// Created by AnAn on 2020/7/17.
// Copyright © 2020 AnAn. All rights reserved.
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AALang.h"
@implementation AALang
AAPropSetFuncImplementation(AALang, NSString *, resetZoom)
AAPropSetFuncImplementation(AALang, NSString *, thousandsSep)
@end
//
// AALegend.h
// AAChartKit
//
// Created by An An on 17/1/6.
// Copyright © 2017年 An An. All rights reserved.
//
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
//
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
#import "AAChartModel.h"
@class AAItemStyle;
@interface AALegend : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AALegend, AAChartLayoutType, layout) //图例数据项的布局。布局类型: "horizontal" 或 "vertical" 即水平布局和垂直布局 默认是:horizontal.
AAPropStatementAndPropSetFuncStatement(copy, AALegend, AAChartAlignType, align) //设定图例在图表区中的水平对齐方式,合法值有left,center 和 right。
AAPropStatementAndPropSetFuncStatement(copy, AALegend, AAChartVerticalAlignType, verticalAlign) //设定图例在图表区中的垂直对齐方式,合法值有 top,middle 和 bottom。垂直位置可以通过 y 选项做进一步设定。
AAPropStatementAndPropSetFuncStatement(assign, AALegend, BOOL, enabled)
AAPropStatementAndPropSetFuncStatement(copy, AALegend, NSString *, borderColor)
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, borderWidth)
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, itemMarginTop) //图例的每一项的顶部外边距,单位px。 默认是:0.
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, itemMarginBottom)//图例项底边距 默认是:0.
AAPropStatementAndPropSetFuncStatement(strong, AALegend, AAItemStyle *, itemStyle)
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, symbolHeight)//标志高度
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, symbolPadding)//标志后距
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, symbolRadius)//图标圆角
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, symbolWidth)//图标宽度
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, x)
AAPropStatementAndPropSetFuncStatement(strong, AALegend, NSNumber *, y)
AAPropStatementAndPropSetFuncStatement(assign, AALegend, BOOL, floating)
@end
@interface AAItemStyle : NSObject
AAPropStatementAndPropSetFuncStatement(copy, AAItemStyle, NSString *, color)
AAPropStatementAndPropSetFuncStatement(copy, AAItemStyle, NSString *, cursor)
AAPropStatementAndPropSetFuncStatement(copy, AAItemStyle, NSString *, pointer)
AAPropStatementAndPropSetFuncStatement(copy, AAItemStyle, NSString *, fontSize)
AAPropStatementAndPropSetFuncStatement(copy, AAItemStyle, NSString *, fontWeight)
@end
//
// AALegend.m
// AAChartKit
//
// Created by An An on 17/1/6.
// Copyright © 2017年 An An. All rights reserved.
//
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
//
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AALegend.h"
@implementation AALegend
AAPropSetFuncImplementation(AALegend, AAChartLayoutType, layout)
AAPropSetFuncImplementation(AALegend, AAChartAlignType, align)
AAPropSetFuncImplementation(AALegend, AAChartVerticalAlignType, verticalAlign)
AAPropSetFuncImplementation(AALegend, BOOL, enabled)
AAPropSetFuncImplementation(AALegend, NSString *, borderColor)
AAPropSetFuncImplementation(AALegend, NSNumber *, borderWidth)
AAPropSetFuncImplementation(AALegend, NSNumber *, itemMarginTop)
AAPropSetFuncImplementation(AALegend, NSNumber *, itemMarginBottom)
AAPropSetFuncImplementation(AALegend, AAItemStyle *, itemStyle)
AAPropSetFuncImplementation(AALegend, NSNumber *, symbolHeight)//标志高度
AAPropSetFuncImplementation(AALegend, NSNumber *, symbolPadding)//标志后距
AAPropSetFuncImplementation(AALegend, NSNumber *, symbolRadius)//图标圆角
AAPropSetFuncImplementation(AALegend, NSNumber *, symbolWidth)//图标宽度
AAPropSetFuncImplementation(AALegend, NSNumber *, x)
AAPropSetFuncImplementation(AALegend, NSNumber *, y)
AAPropSetFuncImplementation(AALegend, BOOL, floating)
@end
@implementation AAItemStyle
AAPropSetFuncImplementation(AAItemStyle, NSString *, color)
AAPropSetFuncImplementation(AAItemStyle, NSString *, cursor)
AAPropSetFuncImplementation(AAItemStyle, NSString *, pointer)
AAPropSetFuncImplementation(AAItemStyle, NSString *, fontSize)
AAPropSetFuncImplementation(AAItemStyle, NSString *, fontWeight)
@end
//
// AALine.h
// AAChartKit
//
// Created by An An on 17/1/6.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AADataLabels, AAStates;
@interface AALine : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AALine, NSNumber *, lineWidth) //设置折线的宽度
AAPropStatementAndPropSetFuncStatement(strong, AALine, AADataLabels *, dataLabels)
AAPropStatementAndPropSetFuncStatement(copy, AALine, NSString *, dashStyle) //折线的样式类型
AAPropStatementAndPropSetFuncStatement(strong, AALine, AAStates *, states)
@end
//
// AALine.m
// AAChartKit
//
// Created by An An on 17/1/6.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AALine.h"
@implementation AALine
AAPropSetFuncImplementation(AALine, NSNumber *, lineWidth)
AAPropSetFuncImplementation(AALine, AADataLabels *, dataLabels)
AAPropSetFuncImplementation(AALine, NSString *, dashStyle)
AAPropSetFuncImplementation(AALine, AAStates *, states)
@end
//
// AAMarker.h
// AAChartKit
//
// Created by An An on 17/1/20.
// Copyright © 2017年 An An. All rights reserved.
//
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
//
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AAMarkerStates, AAMarkerHover;
@interface AAMarker : NSObject
AAPropStatementAndPropSetFuncStatement(assign, AAMarker, BOOL, enabled)
AAPropStatementAndPropSetFuncStatement(strong, AAMarker, NSNumber *, radius)
AAPropStatementAndPropSetFuncStatement(copy, AAMarker, NSString *, symbol)
AAPropStatementAndPropSetFuncStatement(copy, AAMarker, NSString *, fillColor) //点的填充色(用来设置折线连接点的填充色)
AAPropStatementAndPropSetFuncStatement(strong, AAMarker, NSNumber *, lineWidth) //外沿线的宽度(用来设置折线连接点的轮廓描边的宽度)
AAPropStatementAndPropSetFuncStatement(copy, AAMarker, NSString *, lineColor) //外沿线的颜色(用来设置折线连接点的轮廓描边颜色,当值为空字符串时,默认取数据点或数据列的颜色。)
AAPropStatementAndPropSetFuncStatement(strong, AAMarker, AAMarkerStates *, states)
@end
@interface AAMarkerStates : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAMarkerStates, AAMarkerHover *, hover)
@end
@interface AAMarkerHover : NSObject
AAPropStatementAndPropSetFuncStatement(assign, AAMarkerHover, BOOL, enabled)
AAPropStatementAndPropSetFuncStatement(copy, AAMarkerHover, NSString *, fillColor)
AAPropStatementAndPropSetFuncStatement(copy, AAMarkerHover, NSString *, lineColor)
AAPropStatementAndPropSetFuncStatement(strong, AAMarkerHover, NSNumber *, lineWidth)
AAPropStatementAndPropSetFuncStatement(strong, AAMarkerHover, NSNumber *, lineWidthPlus)
AAPropStatementAndPropSetFuncStatement(strong, AAMarkerHover, NSNumber *, radius)
AAPropStatementAndPropSetFuncStatement(strong, AAMarkerHover, NSNumber *, radiusPlus)
@end
//
// AAMarker.m
// AAChartKit
//
// Created by An An on 17/1/20.
// Copyright © 2017年 An An. All rights reserved.
//
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
//
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAMarker.h"
@implementation AAMarker
- (instancetype)init {
self = [super init];
if (self) {
_enabled = true;
}
return self;
}
AAPropSetFuncImplementation(AAMarker, BOOL, enabled)
AAPropSetFuncImplementation(AAMarker, NSNumber *, radius)
AAPropSetFuncImplementation(AAMarker, NSString *, symbol)//曲线点类型:"circle", "square", "diamond", "triangle","triangle-down",默认是"circle"
AAPropSetFuncImplementation(AAMarker, NSString *, fillColor) //点的填充色(用来设置折线连接点的填充色)
AAPropSetFuncImplementation(AAMarker, NSNumber *, lineWidth) //外沿线的宽度(用来设置折线连接点的轮廓描边的宽度)
AAPropSetFuncImplementation(AAMarker, NSString *, lineColor) //外沿线的颜色(用来设置折线连接点的轮廓描边颜色,当值为空字符串时,默认取数据点或数据列的颜色。)
AAPropSetFuncImplementation(AAMarker, AAMarkerStates *, states)
@end
@implementation AAMarkerStates
AAPropSetFuncImplementation(AAMarkerStates, AAMarkerHover *, hover)
@end
@implementation AAMarkerHover
- (instancetype)init {
self = [super init];
if (self) {
_enabled = true;
}
return self;
}
AAPropSetFuncImplementation(AAMarkerHover, BOOL, enabled)
AAPropSetFuncImplementation(AAMarkerHover, NSString *, fillColor)
AAPropSetFuncImplementation(AAMarkerHover, NSString *, lineColor)
AAPropSetFuncImplementation(AAMarkerHover, NSNumber *, lineWidth)
AAPropSetFuncImplementation(AAMarkerHover, NSNumber *, lineWidthPlus)
AAPropSetFuncImplementation(AAMarkerHover, NSNumber *, radius)
AAPropSetFuncImplementation(AAMarkerHover, NSNumber *, radiusPlus)
@end
//
// AAPane.h
// AAChartKitDemo
//
// Created by AnAn on 2020/5/9.
// Copyright © 2020 An An. All rights reserved.
//
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
//
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AABackground;
NS_ASSUME_NONNULL_BEGIN
@interface AAPane : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAPane, AABackground *, background)
AAPropStatementAndPropSetFuncStatement(strong, AAPane, NSArray *, center)
AAPropStatementAndPropSetFuncStatement(strong, AAPane, NSNumber *, endAngle)
AAPropStatementAndPropSetFuncStatement(strong, AAPane, NSNumber *, size)
AAPropStatementAndPropSetFuncStatement(strong, AAPane, NSNumber *, startAngle)
@end
@interface AABackground : NSObject
AAPropStatementAndPropSetFuncStatement(copy , AABackground, NSString *, backgroundColor)
AAPropStatementAndPropSetFuncStatement(copy , AABackground, NSString *, borderColor)
AAPropStatementAndPropSetFuncStatement(strong, AABackground, NSNumber *, borderWidth)
AAPropStatementAndPropSetFuncStatement(copy , AABackground, NSString *, className)
AAPropStatementAndPropSetFuncStatement(strong, AABackground, NSNumber *, innerRadius)
AAPropStatementAndPropSetFuncStatement(strong, AABackground, NSNumber *, outerRadius)
AAPropStatementAndPropSetFuncStatement(copy , AABackground, NSString *, shape)
@end
NS_ASSUME_NONNULL_END
//
// AAPane.m
// AAChartKitDemo
//
// Created by AnAn on 2020/5/9.
// Copyright © 2020 An An. All rights reserved.
//
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
//
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAPane.h"
@implementation AAPane
AAPropSetFuncImplementation(AAPane, AABackground *, background)
AAPropSetFuncImplementation(AAPane, NSArray *, center)
AAPropSetFuncImplementation(AAPane, NSNumber *, endAngle)
AAPropSetFuncImplementation(AAPane, NSNumber *, size)
AAPropSetFuncImplementation(AAPane, NSNumber *, startAngle)
@end
@implementation AABackground
AAPropSetFuncImplementation(AABackground, NSString *, backgroundColor)
AAPropSetFuncImplementation(AABackground, NSString *, borderColor)
AAPropSetFuncImplementation(AABackground, NSNumber *, borderWidth)
AAPropSetFuncImplementation(AABackground, NSString *, className)
AAPropSetFuncImplementation(AABackground, NSNumber *, innerRadius)
AAPropSetFuncImplementation(AABackground, NSNumber *, outerRadius)
AAPropSetFuncImplementation(AABackground, NSString *, shape)
@end
//
// AAPie.h
// AAChartKit
//
// Created by An An on 17/1/9.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import <Foundation/Foundation.h>
@class AADataLabels;
@interface AAPie : NSObject
AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, size)
AAPropStatementAndPropSetFuncStatement(assign, AAPie, BOOL, allowPointSelect)
AAPropStatementAndPropSetFuncStatement(copy, AAPie, NSString *, cursor)
AAPropStatementAndPropSetFuncStatement(strong, AAPie, AADataLabels *, dataLabels)
AAPropStatementAndPropSetFuncStatement(assign, AAPie, BOOL, showInLegend)
AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, startAngle)
AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, endAngle)
AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSNumber *, depth)
AAPropStatementAndPropSetFuncStatement(strong, AAPie, NSArray *, center)
@end
//
// AAPie.m
// AAChartKit
//
// Created by An An on 17/1/9.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://github.com/AAChartModel/AAChartKit-Swift ***
//***...................................................***
//*************** ...... SOURCE CODE ...... ***************
/*
* -------------------------------------------------------------------------------
*
* 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
*
* Please contact me on GitHub,if there are any problems encountered in use.
* GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
* -------------------------------------------------------------------------------
* And if you want to contribute for this project, please contact me as well
* GitHub : https://github.com/AAChartModel
* StackOverflow : https://stackoverflow.com/users/7842508/codeforu
* JianShu : https://www.jianshu.com/u/f1e6753d4254
* SegmentFault : https://segmentfault.com/u/huanghunbieguan
*
* -------------------------------------------------------------------------------
*/
#import "AAPie.h"
@implementation AAPie
AAPropSetFuncImplementation(AAPie, NSNumber *, size)
AAPropSetFuncImplementation(AAPie, BOOL, allowPointSelect)
AAPropSetFuncImplementation(AAPie, NSString *, cursor)
AAPropSetFuncImplementation(AAPie, AADataLabels *, dataLabels)
AAPropSetFuncImplementation(AAPie, BOOL, showInLegend)
AAPropSetFuncImplementation(AAPie, NSNumber *, startAngle)
AAPropSetFuncImplementation(AAPie, NSNumber *, endAngle)
AAPropSetFuncImplementation(AAPie, NSNumber *, depth)
AAPropSetFuncImplementation(AAPie, NSArray *, center)
@end
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
//
// StatisticsViewController.h
// IntelligentRepaymentButler
//
// Created by ymtx on 2019/5/7.
// Copyright © 2019年 lmj. All rights reserved.
//
#import "ICBaseViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface StatisticsViewController : ICBaseViewController
@end
NS_ASSUME_NONNULL_END
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment