The number on vertical axes display only highest number

May 9, 2012 at 4:35 AM
Edited May 9, 2012 at 4:45 AM

I'm using DynamicDataDisplay to create several lines, and there is checkbox on the GUI to hide or show one line.

The HorizontalAxis display a time, the VerticalAxis display a double value(the value is around 100).

The issue is that vertical axis display correctly at the first time as below:

150

130

110

...

But when I click one checkbox to display or hide one line, the number in the axis will change as below:

1

1

1

...

Only the highest number displayed.

When I click the checkbox again, the vertical axis will change back to normal.

I'm very confuse, can anybody help me on this issue, thank you.

My code as below:

<d3:ChartPlotter x:Name="plotter" Margin="0,-66,0,0" Grid.Column="1" Height="450" Width="580" >
            <d3:ChartPlotter.Resources>
                <bs:Date2AxisConverter x:Key="Date2AxisConverter"/>
            </d3:ChartPlotter.Resources>

            <d3:ChartPlotter.VerticalAxis>
                <d3:VerticalIntegerAxis Name="yAxis" />
            </d3:ChartPlotter.VerticalAxis>

            <d3:ChartPlotter.HorizontalAxis>
                <d3:HorizontalDateTimeAxis Name="dateAxis"/>
            </d3:ChartPlotter.HorizontalAxis>

            <d3:VerticalAxisTitle Content="Volume"/>
        </d3:ChartPlotter>

May 29, 2012 at 7:49 AM

Can anybody help on this issue, thank you.

May 29, 2012 at 8:12 AM

Found the answer from:

http://dynamicdatadisplay.codeplex.com/discussions/215015