开发者

ColumnSeries Style and Layout WPF Chart Control

开发者 https://www.devze.com 2023-01-11 17:51 出处:网络
I\'m using a chart and column series in the WPF toolkit to display a value for each month of the year.Everything is working good and the chart loads except it looks like junk since the series labels o

I'm using a chart and column series in the WPF toolkit to display a value for each month of the year. Everything is working good and the chart loads except it looks like junk since the series labels on the X axis are all overlapping and I cannot figure out how to get the sizing correct. When using the lineseries the chart seems to size perfect.

                    <DVC:Chart Name="accountChart" Width="Auto" Height="Auto" Background="Transparent" Margin="0,15,0,0" >
                            <DVC:Chart.Series>
                                <DVC:ColumnSeries Title="开发者_运维百科 Actual" IndependentValueBinding="{Binding Path=Month}" DependentValueBinding="{Binding Path=Amt}" Padding="10"/>
                            </DVC:Chart.Series>
                    </DVC:Chart>
0

精彩评论

暂无评论...
验证码 换一张
取 消