使用 asp:chart 控件制作阶梯式饼图

发布于 2024-07-13 19:55:33 字数 373 浏览 11 评论 0原文

我正在仔细阅读 asp.net 图表控件的示例网站,并在饼图库中发现了一些内容。 有 3 个饼图,“阶梯式”地相互叠加。 我开始将此控件用于金融服务应用程序,并希望复制此效果。 它看起来像这样:

3d 阶梯饼图 http://www.freeimagehosting.net/uploads/ 87a5caabca.png

我会发布一些关于迄今为止我所完成的工作的代码,但我不知道从哪里开始。 我猜也许我必须创建 3 个图表,并偏移它们的轴,我在这里偏离基地了吗? 任何帮助,将不胜感激。

I was perusing the asp.net chart control's sample website, and came across something in the pie chart gallery. There was 3 pie charts, "stair stepped" on top of each other. I starting using this control for a financial services application, and would like to replicate this effect. It looks like this:

3d Stair stepped Pie Chart http://www.freeimagehosting.net/uploads/87a5caabca.png

I'd post some code on what I've accomplished so far, but I have no idea where to start with this. I'm guessing maybe I'd have to create the 3 charts, and offset their axes, am I off base here? Any help would be appreciated.

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

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

发布评论

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

评论(1

春庭雪 2024-07-20 19:55:33

您需要创建 3 个单独的系列并将它们分配到单独的图表区域。

图表区域需要使用position.x 和position.y 向下移动页面。

其他技巧包括禁用第二个及后续系列的图例。

为了获得透明度效果,您需要在系列中的数据点级别上工作。 请注意,所有权数据点不透明,但租赁数据点是透明的。

You need to create 3 seperate series and assign them to seperate chart areas.

The chart areas need to stepped down the page using position.x and position.y

Other tricks include disabling the legend for the second and subsequent series.

To get the transparency affect you need to work at a data point level in the series. Note the Ownership data point is not transparent but the renting and leasing data points are.

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