带有百分比值的 Oracle APEX 堆叠条形图

发布于 2025-01-15 01:13:11 字数 299 浏览 3 评论 0原文

我正在寻找一个选项,可以在 oracle apex 中获取带有百分比值的堆积条形图。我的堆积条形图适用于整数(例如使用 80 表示 80%),但我找不到随后将 % 符号添加到值中的选项。因此,我将值除以 100,并将“值”中的“格式”更改为仅在一个系列中完美运行但在两个系列中返回错误值的百分比。对于两个系列,我得到的列值可以加起来为 100,这当然不是巧合。但这不是我想要的。我的值应该保持不变,所以 0.9 应该是 90%,就像一个系列一样。我正在与 Application Express 21.1.7 的页面设计器合作。

有什么建议吗?

提前致谢!

I'm looking for an option to get a stacked bar chart in oracle apex with percentage values. My stacked bar chart works with integral numbers (e.g.use 80 for 80%) but I can't find an option to add the %-symbol to the values afterwards. So I divided my values by 100 and changed 'Format' in 'Value' to percent what worked perfectly with just one series but returns wrong values with two series. With two series I get values for the columns which can be summed zu 100, surely no coincidence. But that is not what I want. My values should stay the same, so 0.9 should be 90% like with one series. I'm working with the page designer of Application Express 21.1.7.

Any suggestions?

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

↘人皮目录ツ 2025-01-22 01:13:11

我没有找到解决方案,但我找到了一个解决方法,也许它可以帮助某人:使用除以 100 个值(0,05 表示 5%)并将特定轴的“值”中的“格式”更改为“货币”并使用模式“#%”。这不适用于整数(例如 5 代表 5%),但在其他情况下则完美。

I didn't find a solution but I found a work around and maybe it helps somebody: Use the divided 100 values (0,05 for 5 %) and change the 'Format' in 'Value' of the specific axis to 'currency' and use the pattern '# %'. This do not work with integral numbers (like 5 for 5 %) but perfectly otherwise.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文