GithubHelp home page GithubHelp logo

zpzxgcr / chart.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from annie-dong1021/chart.js

0.0 1.0 0.0 3.75 MB

[AVM] [微信小程序] [图表] 适用于avm多端以及原生微信小程的chart.js

JavaScript 99.42% Shell 0.30% CSS 0.08% HTML 0.21%

chart.js's Introduction

介绍

适用于avm多端以及原生微信小程序图表库

此源码是基于chart.js(2.9)改造的avm版本,可适用于多端以及原生微信小程序。一般情况你不需要关心此源码,只需要使用即可

使用

使用同chart.js基本一致,点击查看文档

在avm使用

  1. 使用 APICloud Studio 3 作为开发工具。
  2. 下载本源码,二级目录avm-demo为demo目录。
  3. 在开发工具中新建项目,并将demo导入新建的项目中,注意更新 config.xml 中的 appid 为你项目的 appid。
  4. 使用 AppLoader 进行真机同步调试预览。
  5. 或者提交项目源码,并为当前项目云编译自定义 Loader 进行真机同步调试预览。
  6. 云编译 生成 Android & iOS App 以及微信小程序源码包。

在原生微信小程序中使用

  1. 下载本源码,二级目录wx-demo为微信的demo目录。
  2. 打开微信开发者工具,导入wx-demo

在浏览器中运行使用

  1. 直接运行二级目录samples中的index.html在浏览器

License

MIT © APICloud

chart.js's People

Contributors

chenpenghai avatar

Watchers

James Cloos 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.