【技术博客文章】火山安卓图表组件之折线图3
一、配置模块右键勾打开配置,勾选图表类窗口组件
https://www.lkuaiy.com/image/editor/15989115238049.png
https://www.lkuaiy.com/image/editor/15989115424559.png
二、布局
按下图布局
https://www.lkuaiy.com/image/editor/15989115527333.png
https://www.lkuaiy.com/image/editor/15989115602231.png
三、变量和标题栏
①创建变量
https://www.lkuaiy.com/image/editor/15989115716737.png
②隐藏标题栏
https://www.lkuaiy.com/image/editor/15989115792020.png
https://www.lkuaiy.com/image/editor/15989115864501.png
https://www.lkuaiy.com/image/editor/15989115937386.png
四、创建初始方法
①添加事件
https://www.lkuaiy.com/image/editor/15989116043479.png
https://www.lkuaiy.com/image/editor/15989116158370.png
https://www.lkuaiy.com/image/editor/15989116229760.png
②创建初始化
https://www.lkuaiy.com/image/editor/15989116353868.png
https://www.lkuaiy.com/image/editor/15989116441359.png
https://www.lkuaiy.com/image/editor/15989116507471.png
https://www.lkuaiy.com/image/editor/15989116558757.png
https://www.lkuaiy.com/image/editor/15989116604752.png
https://www.lkuaiy.com/image/editor/15989116651068.png
③创建初始化预览折线图
https://www.lkuaiy.com/image/editor/15989116777872.png
https://www.lkuaiy.com/image/editor/15989116833398.png
https://www.lkuaiy.com/image/editor/15989116887028.png
五、折线图事件
①折线图事件
https://www.lkuaiy.com/image/editor/15989117011887.png
https://www.lkuaiy.com/image/editor/15989117093042.png
②处理事件
https://www.lkuaiy.com/image/editor/15989117226287.png
③折线预览图事件
https://www.lkuaiy.com/image/editor/15989117336735.png
https://www.lkuaiy.com/image/editor/15989117425480.png
④处理事件
https://www.lkuaiy.com/image/editor/15989117506747.png
六、演示效果
https://www.lkuaiy.com/image/editor/15989117583278.gif
例子下载:下载
推广火山,义不容辞 推广火山 义不容辞
页:
[1]