Jas*_*n94 0 silverlight charts xaml
我想制作一个没有传说的平滑而漂亮的图形,因为它解释了自己(图形).
我怎么能隐藏它?我尝试了相同的方法,使plotarea透明:
<charting:Chart.PlotAreaStyle>
<Style TargetType="Grid">
<Setter Property="Background" Value="Transparent" />
</Style>
</charting:Chart.PlotAreaStyle>
Run Code Online (Sandbox Code Playgroud)
我怎样才能以某种方式隐藏传奇?
我发现我可以用图表的设置隐藏图表图例LegendStyle至Style为以下这样:
<charting:Chart.LegendStyle>
<Style TargetType="FrameworkElement">
<Setter Property="Width" Value="0" />
</Style>
</charting:Chart.LegendStyle>
Run Code Online (Sandbox Code Playgroud)
奇怪的是,设置Visibility为Collapsed不起作用 - 图例仍然出现在运行时.
| 归档时间: |
|
| 查看次数: |
2242 次 |
| 最近记录: |