当前位置:网站首页>Applet - applet chart Library (F2 chart Library)
Applet - applet chart Library (F2 chart Library)
2022-07-01 13:40:00 【Xijing swordsman】
Applet chart Library
f2
F2 Alipay applet version ( After Alipay supports custom components , Based on this library, we will provide a component of Alipay applet ).
github:https://github.com/antvis/my-f2mini-chart
Alipay applet chart Library mini-chart
The difference from the above applet version is ,my-f2 Yes, it is f2 The way to draw the bottom layer is more customized , and mini-chart It is encapsulated into a form of custom components , Be simple in use .
github:https://github.com/ant-mini-program/mini-chartnpm:https://developer.aliyun.com/mirror/npm/package/mini-chart
summary : In general use , We use mini-chart that will do .
pie The pie chart
Official website reference :
github:https://github.com/ant-mini-program/mini-chart
https://developer.aliyun.com/mirror/npm/package/mini-chart
Nail applet chart refresh antv-f2
Official website :https://antv-f2.gitee.io/zh/docs/tutorial/manual/miniprogram
Link to the original text :https://blog.csdn.net/hthereal/java/article/details/103833182
The company has a project to realize some functions in the nailing applet , Among them, charts are needed , Process and echart Comparison , Finally, I chose Ali Department F2,f2 The propaganda is “ Focus on mobile , Compatible with multiple environments (Node, Applet ,Weex)”, And there are relevant supporting documents , Haven't seen echart Support for Alibaba's applet .
In the nailing applet project directory , Execute the following command , introduce my-f2
npm install @antv/my-f2
perhaps Direct reference f2 Plug in for , Follow the official website , The official website has been introduced with plug-ins (F2 Alipay applet version , Support native F2 All functions of , Welcome to feedback .)
Refer to the official website :https://github.com/antvis/my-f2/blob/master/README.md
F2 Basics
Official website :https://f2.antv.vision/zh/docs/api/f2
When introducing F2 after , You can use the global namespace F2.
F2.version // At present F2 Version number of
class Classes
F2.Chart: The entry class of the chart
F2.G: The underlying drawing engine ( Native based Html5 Canvas Interface encapsulation )
F2.Shape:F2 Shape Graphic extension interface , For customizing various geometric markers shape
F2.Global:F2 Global configuration for , Contains the skin style of the chart
F2.Util: Auxiliary class tool functions
边栏推荐
- 8 popular recommended style layout
- Social distance (cow infection)
- [development of large e-commerce projects] performance pressure test - basic concept of pressure test & jmeter-38
- Simple two ball loading
- 04-Redis源码数据结构之字典
- leetcode 322. Coin Change 零钱兑换(中等)
- Summary of 20 practical typescript single line codes
- 1553B environment construction
- 盲盒NFT数字藏品平台系统开发(搭建源码)
- Dragon lizard community open source coolbpf, BPF program development efficiency increased 100 times
猜你喜欢

9. Use of better scroll and ref

Dragon lizard community open source coolbpf, BPF program development efficiency increased 100 times

孔松(信通院)-数字化时代云安全能力建设及趋势

Beidou communication module Beidou GPS module Beidou communication terminal DTU

学会使用LiveData和ViewModel,我相信会让你在写业务时变得轻松

Chen Yu (Aqua) - Safety - & gt; Cloud Security - & gt; Multicloud security

终端识别技术和管理技术

北斗通信模块 北斗gps模块 北斗通信终端DTU
![[241. Design priority for operation expression]](/img/72/29d27204d5213a8efdb2c5be925dec.png)
[241. Design priority for operation expression]

spark源码(五)DAGScheduler TaskScheduler如何配合提交任务,application、job、stage、taskset、task对应关系是什么?
随机推荐
Global and Chinese styrene acrylic lotion polymer development trend and prospect scale prediction report Ⓒ 2022 ~ 2028
北斗通信模块 北斗gps模块 北斗通信终端DTU
10. Page layout, guess you like it
盲盒NFT数字藏品平台系统开发(搭建源码)
1553B environment construction
1. Sum of two numbers: given an integer array num and an integer target value, please find the two integers whose sum is the target value target in the array and return their array subscripts
word2vec训练中文词向量
Judea pearl, Turing prize winner: 19 causal inference papers worth reading recently
Google Earth Engine(GEE)——全球人类居住区网格数据 1975-1990-2000-2014 (P2016)
SAP 智能机器人流程自动化(iRPA)解决方案分享
2022上半年英特尔有哪些“硬核创新”?看这张图就知道了!
[241. Design priority for operation expression]
Blind box NFT digital collection platform system development (build source code)
Report on the "14th five year plan" and scale prospect prediction of China's laser processing equipment manufacturing industry Ⓢ 2022 ~ 2028
Research Report on China's software outsourcing industry investment strategy and the 14th five year plan Ⓡ 2022 ~ 2028
Analysis report on production and marketing demand and investment forecast of global and Chinese diamond powder industry Ⓤ 2022 ~ 2027
Benefiting from the Internet, the scientific and technological performance of overseas exchange volume has returned to high growth
Leetcode question 1: sum of two numbers (3 languages)
Listen in the network
Simplex, half duplex, full duplex, TDD and FDD