vizframe饼图

2020-09-07 03:54发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


您好Everone

我正在制作一个饼图,将其绑定到json模型,我已经手动创建了数据..

我制作了饼图,我遇到的问题是我想要当我单击显示给我的饼图(项目类别,Revanue)时,我也将它也绑定到了供稿项目中。.

观看代码



 
 
 
 
 
 
 
 
 
 
 
 <!-sap.viz.ui5.data.Dataset->
 
 
 
 
 
 
{ "书":[{ "城市":"纽约", "费用":295558.81, "项目类别":"动作电影", "利润":173793.31, "收入":469378.12, "单价":1240.79, "可用单位":17336, "已售出的商品":57571 },{ "城市":"纽约", "费用":215506.45, "项目类别":"替代电影", "利润":140874.87, "收入":355940.33, "单价":1319.07, "可用单位":11270, "已售出的商品":48552 },{ "城市":"纽约", "费用":115132.04, "项目类别":"音频设备", "利润":56994.34, "收入":172126.37, "单价":763.21, "可用单位":11248, "已售出的商品":37303 },{ "城市":"纽约", "费用":171742.42, "项目类别":"相机", "利润":81093.4, "收入":252835.82, "单价":1143.57, "可用单位":14917, "售出的商品":51664 },{ "城市":"纽约", "费用":331033.94, "项目类别":"喜剧电影", "利润":150465.23, "收入":481499.18, "单价":2268.02, "可用单位":22449, "售出的商品":69005 },{ "城市":"纽约", "费用":207854.46, "项目类别":"乡村音乐", "利润":115242.56, "收入":323097.02, "单价":1456.91, "可用单位":17996, "已售单位":45346 },{ "城市":"纽约", "费用":243875.22, "项目类别":"戏剧", "利润":124653.66, "收入":368528.87, "单价":1369.83, "可用单位":23662, "售出单位":66737 },{ "城市":"纽约", "费用":294962, "项目类别":"恐怖电影", "利润":124668.09, "收入":419630.09, "单价":1658.12, "可用单位":26538, "已售出的商品":78528 },{ "城市":"纽约", "费用":20362.45, "商品类别":"流行", "利润":7955.24, "收入":28317.7, "单价":148.76, "可用单位":6227, "售出单位":16389 },{ "城市":"纽约", "费用":253598.76, "项目类别":"摇滚", "利润":141583.73, "收入":395182.49, "单价":1337.09, "可用单位":14801, "已售出的商品":579010 },{ "城市":"纽约", "费用":142550.68, "项目类别":"灵魂/节奏布鲁斯", "利润":80381.86, "收入":222932.54, "单价":1250.65, "可用单位":11900, "已售出的商品":321511 },{ "城市":"纽约", "费用":174617.63, "项目类别":"电视", "利润":87620.46, "收入":262238.09, "单价":967.09, "可用单位":16738, "已售出的商品":646512 },{ "城市":"纽约", "费用":42853.89, "项目类别":"视频设备", "利润":23242.33, "收入":66096.22, "单价":209.79, "可用单位":6344, "已售单位":2007 }] }

(37.4 kB)

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


您好Everone

我正在制作一个饼图,将其绑定到json模型,我已经手动创建了数据..

我制作了饼图,我遇到的问题是我想要当我单击显示给我的饼图(项目类别,Revanue)时,我也将它也绑定到了供稿项目中。.

观看代码



 
 
 
 
 
 
 
 
 
 
 
 <!-sap.viz.ui5.data.Dataset->
 
 
 
 
 
 
{ "书":[{ "城市":"纽约", "费用":295558.81, "项目类别":"动作电影", "利润":173793.31, "收入":469378.12, "单价":1240.79, "可用单位":17336, "已售出的商品":57571 },{ "城市":"纽约", "费用":215506.45, "项目类别":"替代电影", "利润":140874.87, "收入":355940.33, "单价":1319.07, "可用单位":11270, "已售出的商品":48552 },{ "城市":"纽约", "费用":115132.04, "项目类别":"音频设备", "利润":56994.34, "收入":172126.37, "单价":763.21, "可用单位":11248, "已售出的商品":37303 },{ "城市":"纽约", "费用":171742.42, "项目类别":"相机", "利润":81093.4, "收入":252835.82, "单价":1143.57, "可用单位":14917, "售出的商品":51664 },{ "城市":"纽约", "费用":331033.94, "项目类别":"喜剧电影", "利润":150465.23, "收入":481499.18, "单价":2268.02, "可用单位":22449, "售出的商品":69005 },{ "城市":"纽约", "费用":207854.46, "项目类别":"乡村音乐", "利润":115242.56, "收入":323097.02, "单价":1456.91, "可用单位":17996, "已售单位":45346 },{ "城市":"纽约", "费用":243875.22, "项目类别":"戏剧", "利润":124653.66, "收入":368528.87, "单价":1369.83, "可用单位":23662, "售出单位":66737 },{ "城市":"纽约", "费用":294962, "项目类别":"恐怖电影", "利润":124668.09, "收入":419630.09, "单价":1658.12, "可用单位":26538, "已售出的商品":78528 },{ "城市":"纽约", "费用":20362.45, "商品类别":"流行", "利润":7955.24, "收入":28317.7, "单价":148.76, "可用单位":6227, "售出单位":16389 },{ "城市":"纽约", "费用":253598.76, "项目类别":"摇滚", "利润":141583.73, "收入":395182.49, "单价":1337.09, "可用单位":14801, "已售出的商品":579010 },{ "城市":"纽约", "费用":142550.68, "项目类别":"灵魂/节奏布鲁斯", "利润":80381.86, "收入":222932.54, "单价":1250.65, "可用单位":11900, "已售出的商品":321511 },{ "城市":"纽约", "费用":174617.63, "项目类别":"电视", "利润":87620.46, "收入":262238.09, "单价":967.09, "可用单位":16738, "已售出的商品":646512 },{ "城市":"纽约", "费用":42853.89, "项目类别":"视频设备", "利润":23242.33, "收入":66096.22, "单价":209.79, "可用单位":6344, "已售单位":2007 }] }

(37.4 kB)
付费偷看设置
发送
4条回答
compass1988
1楼-- · 2020-09-07 04:56

您能否尝试从xml视图中删除所有"模型"并再次呈现饼图?

微wx笑
2楼-- · 2020-09-07 04:39

如果他删除引用,他将如何从命名模型中加载数据?

SAP小菜
4楼-- · 2020-09-07 04:49

您是否想要实现与文档中的示例行为类似的行为?

p>

一周热门 更多>