microsoft/InteractiveDataDisplay.WPF

how to add scrollview to linegraph

lezi1022 opened this issue · 0 comments

i want to add linegraph with scrollviewer, so user can scroll to the wanted position quickly。

        <d3:Figure x:Name="xy">
            <Axis x:Name="x"  AxisOrientation="Left"  d3:Figure.Placement="Left"/>
            <Axis x:Name="y" AxisOrientation="Bottom" d3:Figure.Placement="Bottom"/>
            <d3:AxisGrid x:Name="PART_axisGrid"
                             VerticalTicks="{Binding Ticks,ElementName=x, Mode=OneWay}"
                             HorizontalTicks="{Binding Ticks,ElementName=y, Mode=OneWay}"/>
            <d3:Plot>
                <d3:LineGraph x:Name="myLineGraph"/>
            </d3:Plot>
        </d3:Figure>

image