Nessuna descrizione

AASeriesElement.h 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // AASeriesElement.h
  3. // AAChartKit
  4. //
  5. // Created by An An on 17/1/5.
  6. // Copyright © 2017年 An An. All rights reserved.
  7. //*************** ...... SOURCE CODE ...... ***************
  8. //***...................................................***
  9. //*** https://github.com/AAChartModel/AAChartKit ***
  10. //*** https://github.com/AAChartModel/AAChartKit-Swift ***
  11. //***...................................................***
  12. //*************** ...... SOURCE CODE ...... ***************
  13. /*
  14. * -------------------------------------------------------------------------------
  15. *
  16. * 🌕 🌖 🌗 🌘 ❀❀❀ WARM TIPS!!! ❀❀❀ 🌑 🌒 🌓 🌔
  17. *
  18. * Please contact me on GitHub,if there are any problems encountered in use.
  19. * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues
  20. * -------------------------------------------------------------------------------
  21. * And if you want to contribute for this project, please contact me as well
  22. * GitHub : https://github.com/AAChartModel
  23. * StackOverflow : https://stackoverflow.com/users/7842508/codeforu
  24. * JianShu : http://www.jianshu.com/u/f1e6753d4254
  25. * SegmentFault : https://segmentfault.com/u/huanghunbieguan
  26. *
  27. * -------------------------------------------------------------------------------
  28. */
  29. #import <Foundation/Foundation.h>
  30. @class AAMarker,AADataLabels;
  31. @interface AASeriesElement : NSObject
  32. AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, type);
  33. AAPropStatementAndPropSetFuncStatement(assign, AASeriesElement, BOOL , allowPointSelect);//是否允许在点击数据点标记(markers)、柱子(柱形图)、扇区(饼图)时选中该点,选中的点可以通过 Chart.getSelectedPoints 来获取。 默认是:false.
  34. AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, name);
  35. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSArray *, data);
  36. AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, color);
  37. AAPropStatementAndPropSetFuncStatement(assign, AASeriesElement, BOOL , 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.
  38. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, AAMarker *, marker);
  39. AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, stacking);
  40. AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, dashStyle);
  41. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, threshold);
  42. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, lineWidth);//折线图、曲线图、直方折线图、折线填充图、曲线填充图、直方折线填充图的线条宽度
  43. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, borderWidth)//柱形图、条形图、扇形图等图形的描边宽度
  44. AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, borderColor);//柱形图、条形图、扇形图顿号等图形的描边颜色
  45. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, fillColor);//折线填充图、曲线填充图、直方折线填充图等填充图类型的填充颜色
  46. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, fillOpacity);//折线填充图、曲线填充图、直方折线填充图等填充图类型的填充颜色透明度
  47. AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, negativeColor); // The color for the parts of the graph or points that are below the threshold
  48. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, borderRadius);
  49. AAPropStatementAndPropSetFuncStatement(copy, AASeriesElement, NSString *, innerSize);
  50. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, size);
  51. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSArray *, keys);
  52. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSNumber *, yAxis);
  53. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, AADataLabels*, dataLabels);
  54. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, id , step);//是否转变为直方折线图
  55. AAPropStatementAndPropSetFuncStatement(strong, AASeriesElement, NSDictionary *, states);
  56. 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.
  57. AAPropStatementAndPropSetFuncStatement(assign, AASeriesElement, BOOL , visible);//数据列是否显示的状态,可以通过 series.show()、series.hide()、series.setVisible 来改变这个属性
  58. @end