Silverlight中Chart系列的固定颜色 [英] Fixing colors for Chart Series in Silverlight

查看:112
本文介绍了Silverlight中Chart系列的固定颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个显示三个列系列的图表.
每次重新加载页面或更改数据时,列的颜色都会发生变化.
需要将它们修复为红色,绿色和蓝色.

就我在网上进行的搜索而言,我无法找到一种精确的方法.

你们可以帮忙吗?


[PS:我可怜的Google技术应归咎于:(]

Hi,

I''ve a chart which displays three column series.
The column colors varies everytime the page reloads, or the data changes.
Need to fix them to be, say, Red Green and Blue.

As far I''ve searched online, I''m unable to find a single precise way.

Can you guys please help If you can?


[PS: My poor google skills are to blame :( ]

推荐答案

查看有关DataPointStyle
的更多信息
Check more about DataPointStyle
http://blogs.msdn.com/b/delay/archive/2009/02/04/columns-of-a-different-color-customizing-the-appearance-of-silverlight-charts-with-re-templating-and-mvvm.aspx[^]


这篇关于Silverlight中Chart系列的固定颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆