GithubHelp home page GithubHelp logo

ios-echarts's Introduction

iOS- Echarts - 将ECharts封装成iOS控件

本项目是将百度的ECharts(echarts2)工具封装成对应的iOS的控件,并且将其中javascript的属性封装成对应的对象。方便程序员在编写程序的过程中更加关注OC的代码,避免在使用百度的ECharts工具的过程中过多的关注javascript语法和与javascript之间的交互。

注:如果小伙伴觉得这个工具有用的话,麻烦点一下star,你的star是我继续的动力!

如果你遇到什么问题可以添加一个Issue给我。当然同时欢迎大家给我一个Pull Request。

screen-shot

Echarts信息

Echarts Github地址

Echarts 官网(中文)

Echarts WebSite(English)

如何使用

有两种方法可以使用:

  • 通过cocoapods进行导入:pod 'iOS-Echarts'
  • 手动导入:
    • 将项目下的iOS-Echarts目录拷贝到项目中
    • Remove References移除js目录,然后通过create floder references的方式添加js目录

在需要使用的地方引入PYEchartsView.hPYOption.h。 最后只需通过对图表的属性进行配置即可。

至于其中的参数与文档可以参考上方的Echart官网中的文档进行查看与配置。

打个广告

由于这个项目需要封装的内容有点多,希望有小伙伴一起来封装,有兴趣的小伙伴可以通过联系@叫什么都都不如叫Pluto-Y来联系我。

ios-echarts's People

Contributors

pluto-y avatar

Watchers

James Cloos avatar JJX avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.