Problem with DateTimeXAxis

Sep 4, 2013 at 12:53 PM
Hello!

First, thanks for this cool Chart! It works fine, but I have one problem. When I use the following Code, I become two different results. In Designer (Visual Studio Express) it works fine, but on the Phone (Lumia 820 / Lumia 920) the first Date is duplicated and the last Day is missing???
            <sparrow:SparrowChart x:Name="Chart" Height="258" AxisWidth="10" HorizontalAlignment="Right" Width="432" Foreground="White" BorderBrush="#FF76A218" Margin="0,0,12,0">
                <sparrow:SparrowChart.Legend>
                    <sparrow:Legend LegendPosition="Outside" Header="Legende" FontSize="10"/>
                </sparrow:SparrowChart.Legend>
                <sparrow:SparrowChart.XAxis>
                    <sparrow:DateTimeXAxis StringFormat="dd.MM.yy" Interval="1" Header="Datum" LabelAngle="45" MinValue="41518" MaxValue="41548" MajorLineSize="5" MajorTicksPosition="Cross" MinorLineSize="5" MinorTicksPosition="Cross" ZoomCoefficient="{Binding Value, ElementName=zoomcoefficient}" ZoomOffset="{Binding Value, ElementName=zoomoffset}" ShowMinorCrossLines="False" ShowMajorTicks="False" />
                </sparrow:SparrowChart.XAxis>

                <sparrow:SparrowChart.YAxis>
                    <sparrow:LinearYAxis StringFormat="0.00 " Header="Temperatur" MinValue="95" MaxValue="111" MajorTicksPosition="Cross" ShowMinorCrossLines="False" ZoomCoefficient="{Binding Value, ElementName=zoomcoefficient1}" ZoomOffset="{Binding Value, ElementName=zoomoffset1}" />
                </sparrow:SparrowChart.YAxis>

                <sparrow:LineSeries Stroke="BlueViolet" Label="A0" >
                    <sparrow:LineSeries.Points>
                        <sparrow:DoublePoint Data="41518" Value="109.7" />
                        <sparrow:DoublePoint Data="41519" Value="109.7" />
                        <sparrow:DoublePoint Data="41520" Value="110.6" />
                        <sparrow:DoublePoint Data="41521" Value="105.5" />
                        <sparrow:DoublePoint Data="41522" Value="108.3" />
                    </sparrow:LineSeries.Points>
                </sparrow:LineSeries>
                <sparrow:LineSeries StrokeThickness="3" Stroke="Crimson" Label="°C">
                    <sparrow:LineSeries.Points>
                        <sparrow:DoublePoint Data="41518" Value="110.7" />
                        <sparrow:DoublePoint Data="41519" Value="110.7" />
                        <sparrow:DoublePoint Data="41520" Value="108.7" />
                        <sparrow:DoublePoint Data="41521" Value="106.7" />
                    </sparrow:LineSeries.Points>
                </sparrow:LineSeries>
                <sparrow:LineSeries Stroke="GreenYellow" Label="Ideal">
                    <sparrow:LineSeries.Points>
                        <sparrow:DoublePoint Data="41518" Value="103" />
                        <sparrow:DoublePoint Data="41548" Value="103" />
                    </sparrow:LineSeries.Points>
                </sparrow:LineSeries>
            </sparrow:SparrowChart>
Pleas, can you help me, thanx!
Jul 31, 2014 at 12:34 AM