alvin0729 / iOS-Echarts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS- Echarts - A control build with echarts

中文文档

This is a highly custom chart control for iOS apps, which build with the EChart(Echart2). It just encapsulate the conrol of the javascript. It's convinient for foucing on the logic of the app and optimizing the code. It avoid diverting developers' mind on the interaction between javascript and Objective-C.

If you like this control, please star it. It can make me pay more attention on it.

And also if you find a issue, please issue me. Pull requests are warmly welcome as well.

screen-shot

Echarts Informations

Echarts Github

Echarts WebSite(English)

Installation

There are two ways to use iOS-Echarts in you project:

  • Using cocoapods:pod iOS-Echarts
  • Manually:
    • First, copying all the files into you project
    • Second, Remove referencesthe directory named 'js'
    • Finnaly, add the directory named 'js' by create floder references

You should import two header files in your project:PYEchartsView.h and PYOption.h when you will use it. Finally you just need to initialze the PYEchartsView and PYOption you need.

If you don't know how to set the right value for the option, you can check the documents in the EChart Website.

Contact

Follow and contact me on Twitter or Sina Weibo. And if you want to contribute with this projust, please contact me as well.

If you have QQ, you can join the group which number is 485591970.

Licenses

All source code is licensed under the MIT License.

About

License:Other


Languages

Language:JavaScript 84.1%Language:Objective-C 15.7%Language:HTML 0.1%Language:Ruby 0.0%