Вопрос

Im working with a small app and found out that amChart is pretty nice. But I want to be able to control a couple of things and have not found out how I can do that...

First off I want the user to be able to see bullets for each datavalue, second I need to decrease the xaxis labels. I want to show all the bullets, lets say of 25 items I only want to show 1,5,10,15,20 and 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>
Это было полезно?

Решение

If you haven't done much work on it till now, you can consider Visifire. Even msdn provides sample code for charts using their libraries. I haven't used the amCharts but instead using the visifire charts. See the gallery images here. It helped me in my applications. I hope it helps you too.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top