Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 787 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 787 Bytes

WPF Plot

WPF library for plotting one dimensional mathematical functions including control for interactive plot.

Features

  • Dynamic data plotting.
  • Scaling and moving coordinate system.
  • Bind UIElements to points in cartesian coordinate system.

Screenshot

WPFPlot screenshot

Quickstart

Import WPF Plot namespace:

<Window xmlns:wpfplot="clr-namespace:WPFPlot.Controls;assembly=WPFPlot" />

Create GraphControl and set PlotData. Data context object must be instance of IPlotDataSource.

<wpfplot:GraphControl SegmentBegin="-3.14" SegmentEnd="3.14">
    <wpfplot:GraphItem StrokeBrush="Blue" PlotData="{Binding}" />
</wpfplot:GraphControl>

License

MIT License.