Anyone knows how to remove the labels from the x-axis in a Windows Phone 7 amCharts chart?
Should be simple but I can’t find a way to do it.
So far I have the following:
<AmCharts_Windows_QuickCharts:SerialChart x:Name="chart1" DataSource="{Binding Data}"
CategoryValueMemberPath="Date"
AxisForeground="White"
PlotAreaBackground="Black"
GridStroke="DarkGray"
ScrollViewer.HorizontalScrollBarVisibility="Auto">
<AmCharts_Windows_QuickCharts:SerialChart.Graphs>
<AmCharts_Windows_QuickCharts:LineGraph ValueMemberPath="Value" Title="SomeTitle" Brush="Orange" />
</AmCharts_Windows_QuickCharts:SerialChart.Graphs>
</AmCharts_Windows_QuickCharts:SerialChart>
Thank you in advance.
you can do that by removing the
CategoryValueMemberPathfrom the SerialChart definitionYou can also set the
MinimumCategoryGridStepto 0If you want to have the ticks, but not the labels, you’ll need to override the style of the SerialChart