Latest 0.3.9
Homepage https://github.com/whoyoung/YHChartView
License MIT
Platforms ios , requires ARC
Authors

Charts that support zoom, drag, rotation, animation, including vertical bar, horizontal bar, and line chart. React Native avaliable.

Cocoapods support

Podfile

pod 'YHChartView'

Manual install

* download respository<br>
* Objective-C Project: copy 'YHChartView' to your project <br>
* React Native Project: copy 'YHChartView' & 'BIChartModule' (directory: YHChartViewDemoRN/ios/BIChartModule) to your project <br>

Run Objective-C Demo

  1. open YHChartViewDemo
  2. run YHChartViewDemo.xcodeproj used by XCode

    Run React Native Demo

  3. run command in terminal: cd ${your download directory}/YHChartView-master/YHChartViewDemoRN
  4. run command: npm install
  5. run command: npm start
  6. run command: open ios
  7. run YHChartViewDemo.xcodeproj used by XCode

    Demo

    Line Chart
    line

    Stack Horizontal Bar Chart
    line

    Stack Vertical Bar Chart
    line

    Group Horizontal Bar Chart
    line

    Group Vertical Bar Chart
    line

    Change logs

    version 0.3.9

  8. bug修复

    version 0.3.8

  9. 重复点击同一个项,取消选中状态

    version 0.3.7

  10. 修改堆叠图的bug

    version 0.3.6

  11. 折线图增加曲线连接方式
  12. 折线图选中样式调整

    version 0.3.5

  13. 柱状图两组之间的间隔与柱状图的宽度成正比
  14. 折线图样式调整
  15. 选中效果调整
  16. 分组柱状图增加分割线
  17. 空数据不可被选中
  18. 弹窗样式调整
  19. 标题轴文字区域太小时,不绘制文本
  20. 抽取一个柱状图基类出来;柱状图独有的属性放在柱状图基类中

    version 0.3.4

  21. 废弃version 0.3.3的变更,因为RN代码,单独校验不通过

    version 0.3.3

  22. 增加subspec,用于原生和React Native工程

    version 0.3.2

  23. 增加首次加载动画功能(add animation when load chart firstly)

version 0.3.1

  1. 增加参考线宽及参考线颜色属性(add property: referenceLineWidth, referenceLineColor)
  2. fix crash bug: when dividend equal to 0, result is NaN.
  3. change rule, which draw circle point in LineChart
  4. 增加控制折线图线宽及折线图上圆圈的属性(add property: lineWidth, circleRadius, circleBorderWidth)
  5. 增加控制坐标轴文字大小及颜色的属性(add property: axisTextFontSize, dataTextFontSize, axisTextColor, dataTextColor)
  6. 修改属性hadTapped为可读可写(update hadTapped property)
  7. 添加中RN工程中使用YHChartView的demo(add demo, which use YHChartView in React Native Project)

Latest podspec

{
    "name": "YHChartView",
    "version": "0.3.9",
    "summary": "Charts that support zoom, drag, rotation, animation, including vertical bar, horizontal bar, and line chart. React Native avaliable.",
    "description": "***n## Features:n1. Support `ARC` & `Objective C`. React Native avaliable.n2. Support `bar chart` `line chart`.n3. Interactiveu3001zoomableu3001dragableu3001rotatable.  n***",
    "homepage": "https://github.com/whoyoung/YHChartView",
    "license": "MIT",
    "authors": {
        "u6768u864e": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/whoyoung/YHChartView",
        "tag": "0.3.9"
    },
    "source_files": "YHChartView/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This