Table of Contents

Class WaveformChart

Namespace
Loehnert.Waveforms.Controls
Assembly
Loehnert.Waveforms.dll

Represents a Cartesian chart to show multiple IWaveforms (as WaveformSeries).

public class WaveformChart : Plot, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IPlotView, IView
Inheritance
PlotBase
Plot
WaveformChart
Implements
IPlotView
IView
Inherited Members
Plot.CultureProperty
Plot.IsLegendVisibleProperty
Plot.LegendBackgroundProperty
Plot.LegendBorderProperty
Plot.LegendBorderThicknessProperty
Plot.LegendFontProperty
Plot.LegendFontSizeProperty
Plot.LegendFontWeightProperty
Plot.LegendItemAlignmentProperty
Plot.LegendItemOrderProperty
Plot.LegendItemSpacingProperty
Plot.LegendLineSpacingProperty
Plot.LegendMarginProperty
Plot.LegendMaxHeightProperty
Plot.LegendMaxWidthProperty
Plot.LegendOrientationProperty
Plot.LegendColumnSpacingProperty
Plot.LegendPaddingProperty
Plot.LegendPlacementProperty
Plot.LegendPositionProperty
Plot.LegendSymbolLengthProperty
Plot.LegendSymbolMarginProperty
Plot.LegendSymbolPlacementProperty
Plot.SelectionColorProperty
Plot.RenderingDecoratorProperty
Plot.SubtitleFontProperty
Plot.TitleColorProperty
Plot.SubtitleColorProperty
Plot.DefaultFontProperty
Plot.DefaultFontSizeProperty
Plot.DefaultColorsProperty
Plot.AxisTierDistanceProperty
Plot.LegendTextColorProperty
Plot.LegendTitleProperty
Plot.LegendTitleColorProperty
Plot.LegendTitleFontProperty
Plot.LegendTitleFontSizeProperty
Plot.LegendTitleFontWeightProperty
Plot.PlotAreaBackgroundProperty
Plot.PlotAreaBorderColorProperty
Plot.PlotAreaBorderThicknessProperty
Plot.PlotMarginsProperty
Plot.PlotTypeProperty
Plot.SubtitleFontSizeProperty
Plot.SubtitleFontWeightProperty
Plot.SubtitleProperty
Plot.TextColorProperty
Plot.TitleAlignmentProperty
Plot.TitleFontProperty
Plot.TitleFontSizeProperty
Plot.TitleFontWeightProperty
Plot.TitlePaddingProperty
Plot.TitleProperty
Plot.TitleToolTipProperty
Plot.InvalidateFlagProperty
Plot.OnAppearanceChanged()
Plot.Annotations
Plot.ActualModel
Plot.ActualController
Plot.LogicalChildren
Plot.Axes
Plot.Culture
Plot.IsLegendVisible
Plot.LegendBackground
Plot.LegendBorder
Plot.LegendBorderThickness
Plot.LegendColumnSpacing
Plot.LegendFont
Plot.LegendFontSize
Plot.LegendFontWeight
Plot.LegendItemAlignment
Plot.LegendItemOrder
Plot.LegendItemSpacing
Plot.LegendLineSpacing
Plot.LegendMaxHeight
Plot.LegendMaxWidth
Plot.LegendMargin
Plot.LegendOrientation
Plot.LegendPadding
Plot.LegendPlacement
Plot.LegendPosition
Plot.LegendSymbolLength
Plot.LegendSymbolMargin
Plot.LegendSymbolPlacement
Plot.LegendTitleFont
Plot.DefaultFont
Plot.DefaultFontSize
Plot.DefaultColors
Plot.LegendTextColor
Plot.LegendTitle
Plot.LegendTitleColor
Plot.AxisTierDistance
Plot.SelectionColor
Plot.RenderingDecorator
Plot.SubtitleFont
Plot.TitleColor
Plot.LegendTitleFontSize
Plot.SubtitleColor
Plot.LegendTitleFontWeight
Plot.PlotAreaBackground
Plot.PlotAreaBorderColor
Plot.PlotAreaBorderThickness
Plot.PlotMargins
Plot.PlotType
Plot.Series
Plot.Subtitle
Plot.SubtitleFontSize
Plot.SubtitleFontWeight
Plot.TextColor
Plot.Title
Plot.TitleToolTip
Plot.TitleHorizontalAlignment
Plot.TitleFont
Plot.TitleFontSize
Plot.TitleFontWeight
Plot.TitlePadding
Plot.InvalidateFlag
PlotBase.PartGrid
PlotBase.DefaultTrackerTemplateProperty
PlotBase.IsMouseWheelEnabledProperty
PlotBase.PanCursorProperty
PlotBase.ZoomHorizontalCursorProperty
PlotBase.ZoomRectangleCursorProperty
PlotBase.ZoomRectangleTemplateProperty
PlotBase.ZoomVerticalCursorProperty
PlotBase.HideTracker()
PlotBase.HideZoomRectangle()
PlotBase.ResetAllAxes()
PlotBase.OnApplyTemplate()
PlotBase.SetCursorType(CursorType)
PlotBase.ShowTracker(TrackerHitResult)
PlotBase.ShowZoomRectangle(OxyRect)
PlotBase.IsVisibleToUser()
PlotBase.ToXaml()
PlotBase.ToBitmap()
PlotBase.DisconnectCanvasWhileUpdating
PlotBase.ClientArea
PlotBase.TrackerDefinitions
PlotBase.DefaultTrackerTemplate
PlotBase.IsMouseWheelEnabled
PlotBase.PanCursor
PlotBase.ZoomHorizontalCursor
PlotBase.ZoomRectangleCursor
PlotBase.ZoomRectangleTemplate
PlotBase.ZoomVerticalCursor

Examples

This example creates a waveform chart, which displays IWaveforms with IAnnotations.

internal class WaveformViewModel
{
    public ObservableCollection<IWaveform> Waveforms { get; } = new ObservableCollection<IWaveform>();
    public ObservableCollection<IAnnotation> Annotations { get; } = new ObservableCollection<IAnnotation>();
}
Note

The black lines and circles in the result are named annotations. See also RectangleAnnotation, TwoPointLineAnnotation, PointAnnotation, and PolylineAnnotation.

Constructors

WaveformChart()

Initializes a new instance of the WaveformChart class.

public WaveformChart()

Fields

AutoGenerateYAxesProperty

public static readonly DependencyProperty AutoGenerateYAxesProperty

Field Value

DependencyProperty

EnableXAxisZoomProperty

Identifies the EnableXAxisZoom dependency property.

public static readonly DependencyProperty EnableXAxisZoomProperty

Field Value

DependencyProperty

WaveformAnnotationConverterProperty

Identifies the WaveformAnnotationConverter dependency property.

public static readonly DependencyProperty WaveformAnnotationConverterProperty

Field Value

DependencyProperty

WaveformAnnotationsProperty

Identifies the WaveformAnnotations dependency property.

public static readonly DependencyProperty WaveformAnnotationsProperty

Field Value

DependencyProperty

WaveformsProperty

Identifies the Waveforms dependency property.

public static readonly DependencyProperty WaveformsProperty

Field Value

DependencyProperty

Properties

AutoGenerateYAxes

Gets or sets a value indicating whether foreach waveform a Y axis is generated.

public bool AutoGenerateYAxes { get; set; }

Property Value

bool

EnableXAxisZoom

Gets or sets a value indicating whether the zoom of X axes is enabled.

public bool EnableXAxisZoom { get; set; }

Property Value

bool

WaveformAnnotationConverter

Gets or sets the converter for the waveform annotations. WaveformAnnotationConverter is default.

public WaveformAnnotationConverter WaveformAnnotationConverter { get; set; }

Property Value

WaveformAnnotationConverter

WaveformAnnotations

Gets or sets the waveform annotations.

public IEnumerable<IAnnotation> WaveformAnnotations { get; set; }

Property Value

IEnumerable<IAnnotation>

Waveforms

Gets or sets the waveforms.

public IEnumerable<IWaveform> Waveforms { get; set; }

Property Value

IEnumerable<IWaveform>

See Also