Comments (7)
希望能帮到你
onShow: function onShow(ev) {
var items = ev.items;
items[0].title = items[0].origin.time;
items[0].name = null;
items[0].value = '温度:' + items[0].value;
items[1].name = null;
items[1].value = '湿度:' + items[1].value;
},
from wx-f2.
这个好像不是设置曲线图的title的吧。看起来应该是页面的title的。。在官方教程里面,也是没有找到f2 配置title 的相关资料,搜出来的教程是 G2 的
from wx-f2.
比如这种的,要在y轴配置一个 title = 销售额 这个,只能自己加一个view或者text 自己来配上去,但是在真机上,体验不是很好,真机上 canvas 默认被置顶了,加的 view或者 text 和 canvas 不是一个层级的
from wx-f2.
那我就没用过了
from wx-f2.
目前坐标轴不支持 title...
这种情况可以使用 chart.guide.text()。
DEMO:https://codepen.io/Sima/pen/QxaOBK
from wx-f2.
试下看看, thanks~
from wx-f2.
目前坐标轴不支持 title...
这种情况可以使用 chart.guide.text()。
那这块后续会加上标题么??两年了
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 提交问题和反馈,谢谢
- 在小程序中无法使用 HOT 4
- 折线图部分虚线是不是做不了啊,没有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.