如何在mpandroidcharts或ios-charts中实现此堆叠的线路图

发布于 2025-01-27 15:16:49 字数 763 浏览 2 评论 0原文

我有许多图表/图形,使用已移植的mpandroidcharts项目 ios-charts> ios-charts by danielgindi by danielgindi 但是我 m收到一个请求,我只是不确定今天的事物在技术上是否可以。

我已经使用了梯度,但不确定是否有一种方法可以使它成为2个面/彩色梯度而不是逐渐淡出的方法。我还没有创建或看到过虚线通过现有图表的示例,但是假设Zoom并不是我可以假设地浮动视图的Zoom,但是我绝对希望将其放在本机图表代码中/执行。

第一个图显示了用户计划在退休时计划多少,绿色的两种阴影代表了不同的货币来源,虚线表示他们从退休到估计的死亡时间的支出。

第二个图显示了用户计划在退休时计划有多少与他们所拥有的计划之间的差距,而从退休到估计的死亡中,它们的外观与他们所拥有的相比将如何。

想法?

用户计划在退休时有多少绿色 i.sstatic.net/lrvwa.png“ rel =“ nofollow noreferrer”> ”

I have a number of charts/graphs created with the ported MPAndroidCharts project iOS-Charts by DanielGindi but I'm getting a request and I'm just not sure it's technically possible with things as they exist today.

I have used gradients but not sure if there's a way to kind of have it just be a 2 sided/colored gradient instead of a gradual fade. I have not created or seen an example of a dotted line coming through the existing chart but assuming zoom isn't a possibility I could hypothetically float a view over the top of it but I'd definitely prefer to have it in the native charts code/implementation.

The first graph is showing how much a user plans to have at retirement, the two shades of green represent different sources of money, the dotted line represents their spending from retirement to their estimated time of death.

The second graph is showing the gap between how much a user plans to have at retirement and how much we project they're missing compared to what they have and how that will look across the time from retirement to estimated death.

Thoughts?

Graph showing how much a user plans to have at retirement, the two shades of green represent different sources of money, the dotted line represents their spending from retirement to their estimated time of death

Graph showing the gap between how much a user plans to have at retirement, and how much we project they'll have

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

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

发布评论

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

评论(1

じее 2025-02-03 15:16:50

它看起来像是带有三行的线图,每条线都带有坚实的填充。

在顶部,虚线图具有白色冲程,没有填充,但是在底部,它具有黑色笔画和灰色填充。

在顶部,虚线应在顶部处于顶部,但是在底部,应将其命令在底部。

It looks like a line chart with three lines and each with a solid fill.

In the top one, the dashed line graph has a white stroke and no fill, but in the bottom one, it has a black stroke and gray fill.

In the top one, the dashed line should be z-ordered to be on top, but in the bottom one, it should be z-ordered to be on the bottom.

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