microsoft / InteractiveDataDisplay.WPF

Interactive Data Display for WPF is a set of controls for adding interactive visualization of dynamic data to your application. It allows to create line graphs, bubble charts, heat maps and other complex 2D plots which are very common in scientific software. Interactive Data Display for WPF integrates well with Bing Maps control to show data on a geographic map in latitude/longitude coordinates. The controls can also be operated programmatically.
Other
968 stars 266 forks source link

how to add scrollview to linegraph #43

Closed lezi1022 closed 3 years ago

lezi1022 commented 3 years ago

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