Comments (4)
没办法添加截图
from wx-f2.
{
"classic": {
"plugins": [
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "jsx",
"pragmaFrag": "Fragment"
}
]
]
},
"automatic": {
"plugins": [
[
"@babel/plugin-transform-react-jsx",
{
"runtime": "automatic",
"importSource": "@antv/f2"
}
]
]
}
}
from wx-f2.
这是jsx内容
import Chart from './chart';
const data = [
{ genre: 'Sports', sold: 275 },
{ genre: 'Strategy', sold: 115 },
{ genre: 'Action', sold: 120 },
{ genre: 'Shooter', sold: 350 },
{ genre: 'Other', sold: 150 },
];
Page({
data: {
onRenderChart() {
return ;
},
},
});
from wx-f2.
这是编译后的内容,缺少
// pages/index/index.js
Page({
/**
- 页面的初始数据
*/
data: {
},
/**
- 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
- 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
- 生命周期函数--监听页面显示
*/
onShow() {
},
/**
- 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
- 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
- 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
- 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
- 用户点击右上角分享
*/
onShareAppMessage() {
}
})
from wx-f2.
Related Issues (20)
- 导入工具提示: app.json 未找到
- taro微信小程序引入f2后,报错了 HOT 4
- 跪求大佬支持remax!!!! HOT 1
- 请问可以提供一个小demo吗 HOT 2
- edit HOT 1
- IOS下不显示 折线图平移图表
- 小程序交互的demo
- 【iOS】横屏-位置识别有问题 点击对应的柱状图-柱子并不会显示对应的tooltip
- 按照官方demo在小程序中雷达图不展示 HOT 1
- 微信小程序上可以画点的时候可以替换为图片吗,我看包里面方法没有提供image和icon类型的key HOT 2
- 异步请求后,渲染到图表上 HOT 1
- 小程序版怎么手动加载呢?
- Hello, how can I solve the problem of chart.pieLabel is not a function when the pie chart reports an error? 你好,请问饼图报错 chart.pieLabel is not a function 怎么解决呢? HOT 8
- tooltip 在ios和android真机小程序上表现不一样 HOT 1
- dont support performanceObserver tepy = paint
- 请统一到 https://github.com/antvis/F2/issues 提交问题和反馈,谢谢
- 折线图部分虚线是不是做不了啊,没有view()实例
- wx-f2 文档链接失效 HOT 1
- taro 微信小程序使用antv f2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wx-f2.