Silverlight图表 [英] silverlight chart
本文介绍了Silverlight图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有问题.
当我在图表上的线系列上绑定数据时,我在x轴上获取日期,在y上获取值,该日期显示在图表的顶部,并且彼此重叠并干扰所有UI.
我不想给他们看,那么我该如何折叠它们?
预先感谢.
Hi,
I have got a problem.
When I bind the data on line series in chart where I take date at x axis and value at y the date shows on top of chart and it overlays on one another and disturb all UI.
I dont want to show them, so how can I collapse them?
Thanks in advance.
推荐答案
您需要设置图例的样式以隐藏日期值....这可能会有所帮助.
You need to style your legend to hide the date values....that may help.
您是否尝试过在图表上设置自定义模板?
获取工作模板的最佳方法是打开Blend中包含图表的屏幕.您可以通过右键单击图表并选择菜单项编辑模板"->创建原始模板的副本.编辑副本
Have you tried to set a custom template on the chart?
The best way to get a working template, is to open up the screen containing the chart in Blend . You can create a copy of the original template by right-clicking on the chart and selecting the menuitem Edit template --> Edit a copy
只需在图表中使用滑块并在运行时设置其宽度即可.
just take a slider with in the chart and set its width at runtime .
这篇关于Silverlight图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文