This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I'm using the trial version before buy a license, buy i have a problem. I need a chart with Datetime Axis and the problem is that i can't show the DateTime formated. <ch:Chart x:Name="marketChart"> <ch:AreaSeries XBinding="{Binding Date}" YBinding="{Binding CurrentValue}"/> <ch:Chart.BackgroundElements> <ch:ChartGrid /> </ch:Chart.BackgroundElements> <ch:Chart.XAxis> <ch:ChartAxis ValueConverter="{StaticResource DateTimeAxisValueConverter}" Title="" LabelFormat="MM yyyy"/> </ch:Chart.XAxis> <ch:Chart.YAxis> <ch:ChartAxis Title="" Minimum="9000" Maximum="11000"/> </ch:Chart.YAxis> </ch:Chart> How can i format the datetime axis label?
thanks,
|
|
|
Hello Fernando Change the LabelFormat to be: "{}{0:MM yyyy}" - Jason |
|