WPF图表:如何折叠行中的数据点 [英] WPF Charting: how to collapse datapoint dots in lineseries
本文介绍了WPF图表:如何折叠行中的数据点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在图表中有多个线条系列。首先绘制图表线,然后沿着线条绘制点。这是恼人的和大点的大小使大型数据集只是无用。
目前我正在为每个行...
I have multiple line series in a chart. Chart lines are drawn first and then dots follow the lines. It's annoying and the size of big dots makes large datasets simply useless. Currently I am doing this for each lineseries...
<chartingToolkit:LineSeries
Title="Socket 2"
Name="LineSocket2"
LegendItemStyle ="{StaticResource LegendItemStyle}"
IndependentValueBinding="{Binding timestamp}"
DependentValueBinding="{Binding wattage}"
ToolTip="Socket 2">
<chartingToolkit:LineSeries.DataPointStyle>
<Style TargetType="{x:Type chartingToolkit:LineDataPoint}">
<Setter Property="Visibility" Value="Collapsed"/>
</Style>
</chartingToolkit:LineSeries.DataPointStyle>
</chartingToolkit:LineSeries>
但它不能做我想要的。
如何做?
推荐答案
图表工具包实际上是Silverlight工具包中Charting的衍生物。
The charting toolkit is actually a derivative of the Charting in the Silverlight toolkit.
因此,问题的答案删除 - 折叠 - 数据中心数据点可能适用于您。
Hence the answer to the question removing-collapsing-datapoints-in-a-lineseries may work for you.
这篇关于WPF图表:如何折叠行中的数据点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文