I'm trying to set up my chart so the YAxis Divisions do not change size. Unfortunately, when I set both the AutoDivSpacing and the KeepDivCountOnRangeChange to false, YAxis label fail to appear. Any suggestions?
Result: MainWindow.xaml:
Code: Select all
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:lcu="http://www.arction.com/schemas/" x:Class="BindingSample.MainWindow"
xmlns:local="clr-namespace:BindingSample"
Title="MainWindow" Height="350" Width="525">
<!--<Window.DataContext>
<local:SampleContext/>
</Window.DataContext>-->
<Grid>
<lcu:LightningChartUltimate x:Name="chart"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch" >
<lcu:LightningChartUltimate.ViewXY>
<lcu:ViewXY>
<lcu:ViewXY.YAxes>
<lcu:AxisY AutoDivSpacing="False" KeepDivCountOnRangeChange="False"/>
</lcu:ViewXY.YAxes>
<lcu:ViewXY.XAxes>
<lcu:AxisX />
</lcu:ViewXY.XAxes>
</lcu:ViewXY>
</lcu:LightningChartUltimate.ViewXY>
</lcu:LightningChartUltimate>
</Grid>
</Window>