0

Hello,

I have used chart control in my application. I have bound Date as IndependentValueBinding (X Axis). All code is working fine but date is display horizontal So if I have many value I dont find the perfect value related to date as there are many date in X axis. So How can I display Date as Vertical on X axis.

  <chart:BarSeries
                    IndependentValueBinding="{Binding Date}"
                    DependentValueBinding="{Binding Price}"/>
               <chart:Chart.LegendStyle>
                <Style TargetType="datavisual:Legend">
                    <Setter Property="Width" Value="0"/>
                    <Setter Property="Height" Value="0"/>

                </Style>
            </chart:Chart.LegendStyle>
        </chart:Chart>

Thanks, Hitesh

4

1 回答 1

0

您需要为 AxisLabelStyle 设置样式,我认为 WP 版本的图表应该与 Silverlight 相同: 如何:轻松旋转 Silverlight/WPF 工具包图表的轴标签

于 2013-04-02T06:23:18.837 回答