【技术博客文章】火山安卓图表组件之折线图
一、配置模块右键勾打开配置,勾选图表类窗口组件
https://www.lkuaiy.com/image/editor/15987436433389.png
https://www.lkuaiy.com/image/editor/15987436514819.png
二、布局
按下图布局
https://www.lkuaiy.com/image/editor/15987436596980.png
https://www.lkuaiy.com/image/editor/15987436685398.png
三、创建图表数据
①添加创建事件
https://www.lkuaiy.com/image/editor/15987436761766.png
https://www.lkuaiy.com/image/editor/15987436851399.png
②创建各个变量
https://www.lkuaiy.com/image/editor/15987436936303.png
③填充图表数据
如果想显示动画,必须在节点值对象上面调用"置动画目标值",否则法显示动画
https://www.lkuaiy.com/image/editor/15987437012611.png
https://www.lkuaiy.com/image/editor/15987437108305.png
④按钮调用图表
如果想显示动画,必须在节点值对象上面调用"置动画目标值",否则法显示动画
https://www.lkuaiy.com/image/editor/15987437202080.png
https://www.lkuaiy.com/image/editor/15987437303529.png
⑤显示提示
https://www.lkuaiy.com/image/editor/15987437692087.png
https://www.lkuaiy.com/image/editor/15987437764404.png
四、演示效果
https://www.lkuaiy.com/image/editor/15987437833385.gif
例子下载:下载
推广火山,义不容辞 推广火山义不容辞 推广火山,义不容辞 火山的图表组件有点不好看:噜阿噜 ,后期有大佬封装一个比较好看一点儿的图表 推广火山,义不容辞 推广火山义不容辞 推广火山义不容辞 本想下了看看,结果还要站外zc,zc就算了还要分享个源码,本身就是学习状态,我哪有什么源码。 推广火山 义不容辞
页:
[1]
2