添加项目符号并减少xaxis标签间隔

时间:2012-08-31 15:34:38

标签: c# windows-phone-7 amcharts

我正在使用一个小应用程序,发现amChart非常好。但是我希望能够控制一些事情并且还没有发现我能做到这一点......

首先,我希望用户能够看到每个数据值的项目符号,其次我需要减少xaxis标签。我想展示所有子弹,让我们说25件我只想展示1,5,10,15,20和25件。

               <amq:SerialChart x:Name="foo" DataSource="{Binding Data}" CategoryValueMemberPath="axis"
                    AxisForeground="White"
                    PlotAreaBackground="Transparent"
                    GridStroke="DarkGray" 
                    LegendVisibility="Collapsed">
                    <amq:SerialChart.Graphs>
                        <amq:LineGraph ValueMemberPath="value" Title="Foo" Brush="#FFFF0000" />
                    </amq:SerialChart.Graphs>
                </amq:SerialChart>

1 个答案:

答案 0 :(得分:1)

如果你到目前为止还没有做太多工作,你可以考虑Visifire。甚至msdn为使用其库的图表提供sample code。我没有使用过amCharts,而是使用了visifire图表。请参阅gallery images here。它帮助了我的应用程序。我希望它对你也有所帮助。

相关问题