New-OxyPlotModel.ps1

Set-StrictMode -Version 3

<#
.SYNOPSIS
 
Represents a plot.
 
.PARAMETER SyncRoot
 
Gets an object that can be used to synchronize access to the OxyPlot.Model.
 
This property can be used when modifying the OxyPlot.Model on a separate thread (not the thread updating or rendering the model).
 
.PARAMETER SelectionColor
Sets the color of the selection.
 
.PARAMETER DefaultFont
Sets the default font.
 
This font is used for text on axes, series, legends and plot titles unless other fonts are specified.
 
.PARAMETER DefaultFontSize
Sets the default size of the fonts.
 
.PARAMETER ActualCulture
 
Gets the actual culture.
 
.PARAMETER ActualPlotMargins
 
Gets the actual plot margins.
 
.PARAMETER PlotView
 
Gets the plot view that renders this plot.
 
Only one view can render the plot at the same time.
 
.PARAMETER Annotations
 
Gets the annotations.
 
.PARAMETER Axes
 
Gets the axes.
 
.PARAMETER Background
Sets the color of the background of the plot.
 
If the background color is set to OxyPlot.OxyColors.Undefined, the default color of the plot view will be used.
 
.PARAMETER Culture
Sets the culture.
 
.PARAMETER DefaultColors
Sets the default colors.
 
.PARAMETER IsLegendVisible
Sets a value indicating whether the legend is visible. The titles of the series must be set to use the legend.
 
.PARAMETER LegendArea
 
Gets the legend area.
 
.PARAMETER LegendBackground
Sets the background color of the legend. Use null for no background.
 
.PARAMETER LegendBorder
Sets the border color of the legend.
 
.PARAMETER LegendBorderThickness
Sets the thickness of the legend border. Use 0 for no border.
 
.PARAMETER LegendColumnSpacing
Sets the spacing between columns of legend items (only for vertical orientation).
 
.PARAMETER LegendFont
Sets the legend font.
 
.PARAMETER LegendFontSize
Sets the size of the legend font.
 
.PARAMETER LegendTextColor
Sets the color of the legend text.
 
If this value is null, the TextColor will be used.
 
.PARAMETER LegendFontWeight
Sets the legend font weight.
 
.PARAMETER LegendItemAlignment
Sets the legend item alignment.
 
.PARAMETER LegendItemOrder
Sets the legend item order.
 
.PARAMETER LegendItemSpacing
Sets the horizontal spacing between legend items when the orientation is horizontal.
 
.PARAMETER LegendLineSpacing
Sets the vertical spacing between legend items.
 
.PARAMETER LegendMargin
Sets the legend margin.
 
.PARAMETER LegendMaxWidth
Sets the max width of the legend.
 
.PARAMETER LegendMaxHeight
Sets the max height of the legend.
 
.PARAMETER LegendOrientation
Sets the legend orientation.
 
.PARAMETER LegendPadding
Sets the legend padding.
 
.PARAMETER LegendPlacement
Sets the legend placement.
 
.PARAMETER LegendPosition
Sets the legend position.
 
.PARAMETER LegendSymbolLength
Sets the length of the legend symbols (the default value is 16).
 
.PARAMETER LegendSymbolMargin
Sets the legend symbol margins (distance between the symbol and the text).
 
.PARAMETER LegendSymbolPlacement
Sets the legend symbol placement.
 
.PARAMETER LegendTitle
Sets the legend title.
 
.PARAMETER LegendTitleColor
Sets the color of the legend title.
 
If this value is null, the TextColor will be used.
 
.PARAMETER LegendTitleFont
Sets the legend title font.
 
.PARAMETER LegendTitleFontSize
Sets the size of the legend title font.
 
.PARAMETER LegendTitleFontWeight
Sets the legend title font weight.
 
.PARAMETER Padding
Sets the padding around the plot.
 
.PARAMETER Width
 
Gets the total width of the plot (in device units).
 
.PARAMETER Height
 
Gets the total height of the plot (in device units).
 
.PARAMETER PlotAndAxisArea
 
Gets the area including both the plot and the axes. Outside legends are rendered outside this rectangle.
 
.PARAMETER PlotArea
 
Gets the plot area. This area is used to draw the series (not including axes or legends).
 
.PARAMETER AxisTierDistance
Sets the distance between two neighborhood tiers of the same AxisPosition.
 
.PARAMETER PlotAreaBackground
Sets the color of the background of the plot area.
 
.PARAMETER PlotAreaBorderColor
Sets the color of the border around the plot area.
 
.PARAMETER PlotAreaBorderThickness
Sets the thickness of the border around the plot area.
 
.PARAMETER PlotMargins
Sets the margins around the plot (this should be large enough to fit the axes).
If any of the values is set to double.NaN, the margin is adjusted to the value required by the axes.
 
.PARAMETER PlotType
Sets the type of the coordinate system.
 
.PARAMETER Series
 
Gets the series.
 
.PARAMETER RenderingDecorator
Sets the rendering decorator.
 
.PARAMETER Subtitle
Sets the subtitle.
 
.PARAMETER SubtitleFont
Sets the subtitle font. If this property is null, the Title font will be used.
 
.PARAMETER SubtitleFontSize
Sets the size of the subtitle font.
 
.PARAMETER SubtitleFontWeight
Sets the subtitle font weight.
 
.PARAMETER TextColor
Sets the default color of the text in the plot (titles, legends, annotations, axes).
 
.PARAMETER Title
Sets the title.
 
.PARAMETER TitleToolTip
Sets the title tool tip.
 
.PARAMETER TitleColor
Sets the color of the title.
 
If the value is null, the TextColor will be used.
 
.PARAMETER SubtitleColor
Sets the color of the subtitle.
 
.PARAMETER TitleHorizontalAlignment
Sets the horizontal alignment of the title and subtitle.
 
.PARAMETER TitleArea
 
Gets the title area.
 
.PARAMETER TitleFont
Sets the title font.
 
.PARAMETER TitleFontSize
Sets the size of the title font.
 
.PARAMETER TitleFontWeight
Sets the title font weight.
 
.PARAMETER TitlePadding
Sets the padding around the title.
 
.PARAMETER DefaultAngleAxis
 
Gets the default angle axis.
 
.PARAMETER DefaultMagnitudeAxis
 
Gets the default magnitude axis.
 
.PARAMETER DefaultXAxis
 
Gets the default X axis.
 
.PARAMETER DefaultYAxis
 
Gets the default Y axis.
 
.PARAMETER DefaultColorAxis
 
Gets the default color axis.
 
.PARAMETER ActualTitleFont
 
Gets the actual title font.
 
.PARAMETER ActualSubtitleFont
 
Gets the actual subtitle font.
 
 
.PARAMETER PlotModel
Represents a plot model.
 
.PARAMETER InputObject
Represents a set of series objects.
 
.PARAMETER Show
Shows a chart instead of returning a PlotModel object.
 
.PARAMETER Reuse
Indicates to reuse the current chart window instead of opening a new one.
 
.PARAMETER AxBase
Sets the logarithmic base (normally 10).
 
See http://en.wikipedia.org/wiki/Logarithm.
 
.PARAMETER AxPowerPadding
Sets a value indicating whether the ActualMaximum and ActualMinimum values should be padded to the nearest power of the Base.
 
.PARAMETER AxLogActualMaximum
Sets the actual logarithmic maximum value of the axis.
 
.PARAMETER AxLogActualMinimum
Sets the actual logarithmic minimum value of the axis.
 
.PARAMETER AxInvalidNumberColor
Sets the color used to represent NaN values.
 
.PARAMETER AxHighColor
Sets the color of values above the maximum value.
 
.PARAMETER AxLowColor
Sets the color of values below the minimum value.
 
.PARAMETER AxStartAngle
Sets the start angle (degrees).
 
.PARAMETER AxEndAngle
Sets the end angle (degrees).
 
.PARAMETER AxAbsoluteMaximum
Sets the absolute maximum. This is only used for the UI control. It will not be possible to zoom/pan beyond this limit. The default value is double.MaxValue.
 
.PARAMETER AxAbsoluteMinimum
Sets the absolute minimum. This is only used for the UI control. It will not be possible to zoom/pan beyond this limit. The default value is double.MinValue.
 
.PARAMETER AxActualMajorStep
Sets the actual major step.
 
.PARAMETER AxActualMaximum
Sets the actual maximum value of the axis.
 
If OxyPlot.Axes.Axis.ViewMaximum is not NaN, this value will be defined by OxyPlot.Axes.Axis.ViewMaximum.
Otherwise, if OxyPlot.Axes.Axis.Maximum is not NaN, this value will be defined by OxyPlot.Axes.Axis.Maximum.
Otherwise, this value will be defined by the maximum (+padding) of the data.
 
.PARAMETER AxActualMinimum
Sets the actual minimum value of the axis.
 
If OxyPlot.Axes.Axis.ViewMinimum is not NaN, this value will be defined by OxyPlot.Axes.Axis.ViewMinimum.
Otherwise, if OxyPlot.Axes.Axis.Minimum is not NaN, this value will be defined by OxyPlot.Axes.Axis.Minimum.
Otherwise this value will be defined by the minimum (+padding) of the data.
 
.PARAMETER AxActualMinorStep
Sets the actual minor step.
 
.PARAMETER AxActualStringFormat
Sets the actual string format being used.
 
.PARAMETER AxActualTitle
 
Gets the actual title of the axis.
 
If the OxyPlot.Axes.Axis.Unit property is set, the OxyPlot.Axes.Axis.TitleFormatString property is used to format the actual title.
 
.PARAMETER AxAngle
Sets the orientation angle (degrees) for the axis labels. The default value is 0.
 
.PARAMETER AxAxisTickToLabelDistance
Sets the distance from the end of the tick lines to the labels. The default value is 4.
 
.PARAMETER AxAxisTitleDistance
Sets the minimum distance from the axis labels to the axis title. The default value is 4.
 
.PARAMETER AxAxisDistance
Sets the distance between the plot area and the axis. The default value is 0.
 
.PARAMETER AxAxislineColor
Sets the color of the axis line. The default value is OxyPlot.OxyColors.Black.
 
.PARAMETER AxAxislineStyle
Sets the line style of the axis line. The default value is OxyPlot.LineStyle.None.
 
.PARAMETER AxAxislineThickness
Sets the thickness of the axis line. The default value is 1.
 
.PARAMETER AxClipTitle
Sets a value indicating whether to clip the axis title. The default value is true.
 
.PARAMETER AxCropGridlines
Sets a value indicating whether to crop gridlines with perpendicular axes Start/EndPositions. The default value is false.
 
.PARAMETER AxDataMaximum
Sets the maximum value of the data displayed on this axis.
 
.PARAMETER AxDataMinimum
Sets the minimum value of the data displayed on this axis.
 
.PARAMETER AxEndPosition
Sets the end position of the axis on the plot area. The default value is 1.
 
The position is defined by a fraction in the range from 0 to 1, where 0 is at the bottom/left
and 1 is at the top/right.
 
.PARAMETER AxExtraGridlineColor
Sets the color of the extra gridlines. The default value is OxyPlot.OxyColors.Black.
 
.PARAMETER AxExtraGridlineStyle
Sets the line style of the extra gridlines. The default value is OxyPlot.LineStyle.Solid.
 
.PARAMETER AxExtraGridlineThickness
Sets the thickness of the extra gridlines. The default value is 1.
 
.PARAMETER AxExtraGridlines
Sets the values for the extra gridlines. The default value is null.
 
.PARAMETER AxFilterFunction
Sets the filter function. The default value is null.
 
.PARAMETER AxFilterMaxValue
Sets the maximum value that can be shown using this axis. Values greater or equal to this value will not be shown. The default value is double.MaxValue.
 
.PARAMETER AxFilterMinValue
Sets the minimum value that can be shown using this axis. Values smaller or equal to this value will not be shown. The default value is double.MinValue.
 
.PARAMETER AxIntervalLength
Sets the maximum length (screen space) of the intervals. The available length of the axis will be divided by this length to get the approximate number of major intervals on the axis. The default value is 60.
 
.PARAMETER AxIsAxisVisible
Sets a value indicating whether this axis is visible. The default value is true.
 
.PARAMETER AxIsPanEnabled
Sets a value indicating whether panning is enabled. The default value is true.
 
.PARAMETER AxIsReversed
 
Gets a value indicating whether this axis is reversed. It is reversed if OxyPlot.Axes.Axis.StartPosition > OxyPlot.Axes.Axis.EndPosition.
 
.PARAMETER AxIsZoomEnabled
Sets a value indicating whether zooming is enabled. The default value is true.
 
.PARAMETER AxKey
Sets the key of the axis. This can be used to specify an axis if you have defined multiple axes in a plot. The default value is null.
 
.PARAMETER AxLabelFormatter
Sets the formatting function for the labels. The default value is null.
 
This function can be used instead of overriding the OxyPlot.Axes.Axis.FormatValue(System.Double) method.
 
.PARAMETER AxLayer
Sets the layer of the axis. The default value is OxyPlot.Axes.AxisLayer.BelowSeries.
 
.PARAMETER AxMajorGridlineColor
Sets the color of the major gridlines. The default value is #40000000.
 
.PARAMETER AxMajorGridlineStyle
Sets the line style of the major gridlines. The default value is OxyPlot.LineStyle.None.
 
.PARAMETER AxMajorGridlineThickness
Sets the thickness of the major gridlines. The default value is 1.
 
.PARAMETER AxMajorStep
Sets the interval between major ticks. The default value is double.NaN.
 
.PARAMETER AxMajorTickSize
Sets the size of the major ticks. The default value is 7.
 
.PARAMETER AxMaximum
Sets the maximum value of the axis. The default value is double.NaN.
 
.PARAMETER AxMaximumPadding
Sets the 'padding' fraction of the maximum value. The default value is 0.01.
 
A value of 0.01 gives 1% more space on the maximum end of the axis. This property is not used if the OxyPlot.Axes.Axis.Maximum property is set.
 
.PARAMETER AxMaximumRange
Sets the maximum range of the axis. Setting this property ensures that ActualMaximum-ActualMinimum < MaximumRange. The default value is double.PositiveInfinity.
 
.PARAMETER AxMinimum
Sets the minimum value of the axis. The default value is double.NaN.
 
.PARAMETER AxMinimumMajorStep
Sets the minimum value for the interval between major ticks. The default value is 0.
 
.PARAMETER AxMinimumMinorStep
Sets the minimum value for the interval between minor ticks. The default value is 0.
 
.PARAMETER AxMinimumPadding
Sets the 'padding' fraction of the minimum value. The default value is 0.01.
 
A value of 0.01 gives 1% more space on the minimum end of the axis. This property is not used if the OxyPlot.Axes.Axis.Minimum property is set.
 
.PARAMETER AxMinimumRange
Sets the minimum range of the axis. Setting this property ensures that ActualMaximum-ActualMinimum > MinimumRange. The default value is 0.
 
.PARAMETER AxMinorGridlineColor
Sets the color of the minor gridlines. The default value is #20000000.
 
.PARAMETER AxMinorGridlineStyle
Sets the line style of the minor gridlines. The default value is OxyPlot.LineStyle.None.
 
.PARAMETER AxMinorGridlineThickness
Sets the thickness of the minor gridlines. The default value is 1.
 
.PARAMETER AxMinorStep
Sets the interval between minor ticks. The default value is double.NaN.
 
.PARAMETER AxMinorTicklineColor
Sets the color of the minor ticks. The default value is OxyPlot.OxyColors.Automatic.
 
If the value is OxyPlot.OxyColors.Automatic, the value of
OxyPlot.Axes.Axis.TicklineColor will be used.
 
.PARAMETER AxMinorTickSize
Sets the size of the minor ticks. The default value is 4.
 
.PARAMETER AxOffset
 
Gets the offset. This is used to transform between data and screen coordinates.
 
.PARAMETER AxPosition
Sets the position of the axis. The default value is OxyPlot.Axes.AxisPosition.Left.
 
.PARAMETER AxPositionAtZeroCrossing
Sets a value indicating whether the axis should be positioned at the zero-crossing of the related axis. The default value is false.
 
.PARAMETER AxPositionTier
Sets the position tier which defines in which tier the axis is displayed. The default value is 0.
 
The bigger the value the further afar is the axis from the graph.
 
.PARAMETER AxScale
 
Gets the scaling factor of the axis. This is used to transform between data and screen coordinates.
 
.PARAMETER AxScreenMax
Sets the screen coordinate of the maximum end of the axis.
 
.PARAMETER AxScreenMin
Sets the screen coordinate of the minimum end of the axis.
 
.PARAMETER AxStartPosition
Sets the start position of the axis on the plot area. The default value is 0.
 
The position is defined by a fraction in the range from 0 to 1, where 0 is at the bottom/left
and 1 is at the top/right.
 
.PARAMETER AxStringFormat
Sets the string format used for formatting the axis values. The default value is null.
 
.PARAMETER AxTickStyle
Sets the tick style for major and minor ticks. The default value is OxyPlot.Axes.TickStyle.Outside.
 
.PARAMETER AxTicklineColor
Sets the color of the major and minor ticks. The default value is OxyPlot.OxyColors.Black.
 
.PARAMETER AxTitle
Sets the title of the axis. The default value is null.
 
.PARAMETER AxTitleClippingLength
Sets the length of the title clipping rectangle (fraction of the available length of the axis). The default value is 0.9.
 
.PARAMETER AxTitleColor
Sets the color of the title. The default value is OxyPlot.OxyColors.Automatic.
 
If the value is null, the OxyPlot.PlotModel.TextColor will be used.
 
.PARAMETER AxTitleFont
Sets the title font. The default value is null.
 
.PARAMETER AxTitleFontSize
Sets the size of the title font. The default value is double.NaN.
 
.PARAMETER AxTitleFontWeight
Sets the weight of the title font. The default value is OxyPlot.FontWeights.Normal.
 
.PARAMETER AxTitleFormatString
Sets the format string used for formatting the title and unit when OxyPlot.Axes.Axis.Unit is defined.
The default value is "{0} [{1}]", where {0} refers to the OxyPlot.Axes.Axis.Title and {1} refers to the OxyPlot.Axes.Axis.Unit.
 
If OxyPlot.Axes.Axis.Unit is null, the actual title is defined by OxyPlot.Axes.Axis.Title only.
 
.PARAMETER AxTitlePosition
Sets the position of the title. The default value is 0.5.
 
The position is defined by a fraction in the range 0 to 1.
 
.PARAMETER AxUnit
Sets the unit of the axis. The default value is null.
 
The OxyPlot.Axes.Axis.TitleFormatString is used to format the title including this unit.
 
.PARAMETER AxUseSuperExponentialFormat
Sets a value indicating whether to use superscript exponential format. The default value is false.
 
This format will convert 1.5E+03 to 1.5�E10^{3} and render the superscript properly.
If OxyPlot.Axes.Axis.StringFormat is null, 1.0E+03 will be converted to 10^{3}, otherwise it will use the format string for the mantissa.
 
.PARAMETER AxDesiredSize
Sets the "desired" size by the renderer such that the axis text & ticks will not be clipped. This
size is distinct from the margin settings or the size which is actually rendered, as in: ActualWidth / ActualSize.
Actual rendered size may be smaller or larger than the desired size if the margins are set manually.
 
.PARAMETER AxPositionTierMaxShift
Sets the position tier max shift.
 
.PARAMETER AxPositionTierMinShift
Sets the position tier min shift.
 
.PARAMETER AxPositionTierSize
Sets the size of the position tier.
 
.PARAMETER AxActualTitleColor
 
Gets the actual color of the title.
 
.PARAMETER AxActualTitleFont
 
Gets the actual title font.
 
.PARAMETER AxActualTitleFontSize
 
Gets the actual size of the title font.
 
.PARAMETER AxActualTitleFontWeight
 
Gets the actual title font weight.
 
.PARAMETER AxViewMaximum
Sets the current view's maximum. This value is used when the user zooms or pans.
 
.PARAMETER AxViewMinimum
Sets the current view's minimum. This value is used when the user zooms or pans.
 
.PARAMETER AxGapWidth
Sets the gap width.
 
The default value is 1.0 (100%). The gap width is given as a fraction of the total width/height of the items in a category.
 
.PARAMETER AxIsTickCentered
Sets a value indicating whether the ticks are centered. If this is false, ticks will be drawn between each category. If this is true, ticks will be drawn in the middle of each category.
 
.PARAMETER AxItemsSource
Sets the items source (used to update the Labels collection).
 
.PARAMETER AxLabelField
Sets the data field for the labels.
 
.PARAMETER AxLabels
 
Gets the list of category labels.
 
.PARAMETER AxActualLabels
 
Gets the actual category labels.
 
.PARAMETER AxBarOffset
Sets the original offset of the bars (not used for stacked bar series).
 
.PARAMETER AxStackIndexMapping
Sets the stack index mapping. The mapping indicates to which rank a specific stack index belongs.
 
.PARAMETER AxStackedBarOffset
Sets the offset of the bars per StackIndex and Label (only used for stacked bar series).
 
.PARAMETER AxTotalWidthPerCategory
Sets sum of the widths of the single bars per label. This is used to find the bar width of BarSeries
 
.PARAMETER AxInvalidCategoryColor
Sets the invalid category color.
 
.PARAMETER AxPalette
Sets the palette.
 
.PARAMETER AxInvalidNumberColor
Sets the color used to represent NaN values.
 
.PARAMETER AxHighColor
Sets the color of values above the maximum value.
 
.PARAMETER AxLowColor
Sets the color of values below the minimum value.
 
.PARAMETER AxPalette
Sets the palette.
 
.PARAMETER AxRenderAsImage
Sets a value indicating whether to render the colors as an image.
 
.PARAMETER AxCalendarWeekRule
Sets CalendarWeekRule.
 
.PARAMETER AxFirstDayOfWeek
Sets FirstDayOfWeek.
 
.PARAMETER AxIntervalType
Sets IntervalType.
 
.PARAMETER AxMinorIntervalType
Sets MinorIntervalType.
 
.PARAMETER AxTimeZone
Sets the time zone (used when formatting date/time values).
 
No date/time conversion will be performed if this property is null.
 
.PARAMETER AxFormatAsFractions
Sets a value indicating whether to format numbers as fractions.
 
.PARAMETER AxFractionUnit
Sets the fraction unit. Remember to set FormatAsFractions to true.
 
.PARAMETER AxFractionUnitSymbol
Sets the fraction unit symbol. Use FractionUnit = Math.PI and FractionUnitSymbol = "��" if you want the axis to show "��/2,��,3��/2,2��" etc. Use FractionUnit = 1 and FractionUnitSymbol = "L" if you want the axis to show "0,L/2,L" etc. Remember to set FormatAsFractions to true.
 
.PARAMETER AxMidPoint
Sets the midpoint (screen coordinates) of the plot area. This is used by polar coordinate systems.
 
.PARAMETER AxParent
 
Gets the parent model of the element.
 
.PARAMETER AxFont
Sets the font. The default is null (use OxyPlot.PlotModel.DefaultFont.
 
If the value is null, the DefaultFont of the parent PlotModel will be used.
 
.PARAMETER AxFontSize
Sets the size of the font. The default is double.NaN (use OxyPlot.PlotModel.DefaultFontSize).
 
If the value is NaN, the DefaultFontSize of the parent PlotModel will be used.
 
.PARAMETER AxFontWeight
Sets the font weight. The default is FontWeights.Normal.
 
.PARAMETER AxPlotModel
 
Gets the parent OxyPlot.PlotElement.PlotModel.
 
.PARAMETER AxTag
Sets an arbitrary object value that can be used to store custom information about this plot element. The default is null.
 
This property is analogous to Tag properties in other Microsoft programming models. Tag is intended to provide a pre-existing property location where you can store some basic custom information about any PlotElement without requiring you to subclass an element.
 
.PARAMETER AxTextColor
Sets the color of the text. The default is OxyColors.Automatic (use OxyPlot.PlotModel.TextColor).
 
If the value is OxyColors.Automatic, the TextColor of the parent PlotModel will be used.
 
.PARAMETER AxToolTip
Sets the tool tip. The default is null.
 
.PARAMETER AxActualFont
 
Gets the actual font.
 
.PARAMETER AxActualFontSize
 
Gets the actual size of the font.
 
.PARAMETER AxActualFontWeight
 
Gets the actual font weight.
 
.PARAMETER AxActualTextColor
 
Gets the actual color of the text.
 
.PARAMETER AxActualCulture
 
Gets the actual culture.
 
The culture is defined in the parent PlotModel.
 
.PARAMETER AxSelectable
Sets a value indicating whether this element can be selected. The default is true.
 
.PARAMETER AxSelectionMode
Sets the selection mode of items in this element. The default is SelectionMode.All.
 
This is only used by the select/unselect functionality, not by the rendering.
 
.PARAMETER AxActualSelectedColor
 
Gets the actual selection color.
 
.PARAMETER AyBase
Sets the logarithmic base (normally 10).
 
See http://en.wikipedia.org/wiki/Logarithm.
 
.PARAMETER AyPowerPadding
Sets a value indicating whether the ActualMaximum and ActualMinimum values should be padded to the nearest power of the Base.
 
.PARAMETER AyLogActualMaximum
Sets the actual logarithmic maximum value of the axis.
 
.PARAMETER AyLogActualMinimum
Sets the actual logarithmic minimum value of the axis.
 
.PARAMETER AyInvalidNumberColor
Sets the color used to represent NaN values.
 
.PARAMETER AyHighColor
Sets the color of values above the maximum value.
 
.PARAMETER AyLowColor
Sets the color of values below the minimum value.
 
.PARAMETER AyStartAngle
Sets the start angle (degrees).
 
.PARAMETER AyEndAngle
Sets the end angle (degrees).
 
.PARAMETER AyAbsoluteMaximum
Sets the absolute maximum. This is only used for the UI control. It will not be possible to zoom/pan beyond this limit. The default value is double.MaxValue.
 
.PARAMETER AyAbsoluteMinimum
Sets the absolute minimum. This is only used for the UI control. It will not be possible to zoom/pan beyond this limit. The default value is double.MinValue.
 
.PARAMETER AyActualMajorStep
Sets the actual major step.
 
.PARAMETER AyActualMaximum
Sets the actual maximum value of the axis.
 
If OxyPlot.Axes.Axis.ViewMaximum is not NaN, this value will be defined by OxyPlot.Axes.Axis.ViewMaximum.
Otherwise, if OxyPlot.Axes.Axis.Maximum is not NaN, this value will be defined by OxyPlot.Axes.Axis.Maximum.
Otherwise, this value will be defined by the maximum (+padding) of the data.
 
.PARAMETER AyActualMinimum
Sets the actual minimum value of the axis.
 
If OxyPlot.Axes.Axis.ViewMinimum is not NaN, this value will be defined by OxyPlot.Axes.Axis.ViewMinimum.
Otherwise, if OxyPlot.Axes.Axis.Minimum is not NaN, this value will be defined by OxyPlot.Axes.Axis.Minimum.
Otherwise this value will be defined by the minimum (+padding) of the data.
 
.PARAMETER AyActualMinorStep
Sets the actual minor step.
 
.PARAMETER AyActualStringFormat
Sets the actual string format being used.
 
.PARAMETER AyActualTitle
 
Gets the actual title of the axis.
 
If the OxyPlot.Axes.Axis.Unit property is set, the OxyPlot.Axes.Axis.TitleFormatString property is used to format the actual title.
 
.PARAMETER AyAngle
Sets the orientation angle (degrees) for the axis labels. The default value is 0.
 
.PARAMETER AyAxisTickToLabelDistance
Sets the distance from the end of the tick lines to the labels. The default value is 4.
 
.PARAMETER AyAxisTitleDistance
Sets the minimum distance from the axis labels to the axis title. The default value is 4.
 
.PARAMETER AyAxisDistance
Sets the distance between the plot area and the axis. The default value is 0.
 
.PARAMETER AyAxislineColor
Sets the color of the axis line. The default value is OxyPlot.OxyColors.Black.
 
.PARAMETER AyAxislineStyle
Sets the line style of the axis line. The default value is OxyPlot.LineStyle.None.
 
.PARAMETER AyAxislineThickness
Sets the thickness of the axis line. The default value is 1.
 
.PARAMETER AyClipTitle
Sets a value indicating whether to clip the axis title. The default value is true.
 
.PARAMETER AyCropGridlines
Sets a value indicating whether to crop gridlines with perpendicular axes Start/EndPositions. The default value is false.
 
.PARAMETER AyDataMaximum
Sets the maximum value of the data displayed on this axis.
 
.PARAMETER AyDataMinimum
Sets the minimum value of the data displayed on this axis.
 
.PARAMETER AyEndPosition
Sets the end position of the axis on the plot area. The default value is 1.
 
The position is defined by a fraction in the range from 0 to 1, where 0 is at the bottom/left
and 1 is at the top/right.
 
.PARAMETER AyExtraGridlineColor
Sets the color of the extra gridlines. The default value is OxyPlot.OxyColors.Black.
 
.PARAMETER AyExtraGridlineStyle
Sets the line style of the extra gridlines. The default value is OxyPlot.LineStyle.Solid.
 
.PARAMETER AyExtraGridlineThickness
Sets the thickness of the extra gridlines. The default value is 1.
 
.PARAMETER AyExtraGridlines
Sets the values for the extra gridlines. The default value is null.
 
.PARAMETER AyFilterFunction
Sets the filter function. The default value is null.
 
.PARAMETER AyFilterMaxValue
Sets the maximum value that can be shown using this axis. Values greater or equal to this value will not be shown. The default value is double.MaxValue.
 
.PARAMETER AyFilterMinValue
Sets the minimum value that can be shown using this axis. Values smaller or equal to this value will not be shown. The default value is double.MinValue.
 
.PARAMETER AyIntervalLength
Sets the maximum length (screen space) of the intervals. The available length of the axis will be divided by this length to get the approximate number of major intervals on the axis. The default value is 60.
 
.PARAMETER AyIsAxisVisible
Sets a value indicating whether this axis is visible. The default value is true.
 
.PARAMETER AyIsPanEnabled
Sets a value indicating whether panning is enabled. The default value is true.
 
.PARAMETER AyIsReversed
 
Gets a value indicating whether this axis is reversed. It is reversed if OxyPlot.Axes.Axis.StartPosition > OxyPlot.Axes.Axis.EndPosition.
 
.PARAMETER AyIsZoomEnabled
Sets a value indicating whether zooming is enabled. The default value is true.
 
.PARAMETER AyKey
Sets the key of the axis. This can be used to specify an axis if you have defined multiple axes in a plot. The default value is null.
 
.PARAMETER AyLabelFormatter
Sets the formatting function for the labels. The default value is null.
 
This function can be used instead of overriding the OxyPlot.Axes.Axis.FormatValue(System.Double) method.
 
.PARAMETER AyLayer
Sets the layer of the axis. The default value is OxyPlot.Axes.AxisLayer.BelowSeries.
 
.PARAMETER AyMajorGridlineColor
Sets the color of the major gridlines. The default value is #40000000.
 
.PARAMETER AyMajorGridlineStyle
Sets the line style of the major gridlines. The default value is OxyPlot.LineStyle.None.
 
.PARAMETER AyMajorGridlineThickness
Sets the thickness of the major gridlines. The default value is 1.
 
.PARAMETER AyMajorStep
Sets the interval between major ticks. The default value is double.NaN.
 
.PARAMETER AyMajorTickSize
Sets the size of the major ticks. The default value is 7.
 
.PARAMETER AyMaximum
Sets the maximum value of the axis. The default value is double.NaN.
 
.PARAMETER AyMaximumPadding
Sets the 'padding' fraction of the maximum value. The default value is 0.01.
 
A value of 0.01 gives 1% more space on the maximum end of the axis. This property is not used if the OxyPlot.Axes.Axis.Maximum property is set.
 
.PARAMETER AyMaximumRange
Sets the maximum range of the axis. Setting this property ensures that ActualMaximum-ActualMinimum < MaximumRange. The default value is double.PositiveInfinity.
 
.PARAMETER AyMinimum
Sets the minimum value of the axis. The default value is double.NaN.
 
.PARAMETER AyMinimumMajorStep
Sets the minimum value for the interval between major ticks. The default value is 0.
 
.PARAMETER AyMinimumMinorStep
Sets the minimum value for the interval between minor ticks. The default value is 0.
 
.PARAMETER AyMinimumPadding
Sets the 'padding' fraction of the minimum value. The default value is 0.01.
 
A value of 0.01 gives 1% more space on the minimum end of the axis. This property is not used if the OxyPlot.Axes.Axis.Minimum property is set.
 
.PARAMETER AyMinimumRange
Sets the minimum range of the axis. Setting this property ensures that ActualMaximum-ActualMinimum > MinimumRange. The default value is 0.
 
.PARAMETER AyMinorGridlineColor
Sets the color of the minor gridlines. The default value is #20000000.
 
.PARAMETER AyMinorGridlineStyle
Sets the line style of the minor gridlines. The default value is OxyPlot.LineStyle.None.
 
.PARAMETER AyMinorGridlineThickness
Sets the thickness of the minor gridlines. The default value is 1.
 
.PARAMETER AyMinorStep
Sets the interval between minor ticks. The default value is double.NaN.
 
.PARAMETER AyMinorTicklineColor
Sets the color of the minor ticks. The default value is OxyPlot.OxyColors.Automatic.
 
If the value is OxyPlot.OxyColors.Automatic, the value of
OxyPlot.Axes.Axis.TicklineColor will be used.
 
.PARAMETER AyMinorTickSize
Sets the size of the minor ticks. The default value is 4.
 
.PARAMETER AyOffset
 
Gets the offset. This is used to transform between data and screen coordinates.
 
.PARAMETER AyPosition
Sets the position of the axis. The default value is OxyPlot.Axes.AxisPosition.Left.
 
.PARAMETER AyPositionAtZeroCrossing
Sets a value indicating whether the axis should be positioned at the zero-crossing of the related axis. The default value is false.
 
.PARAMETER AyPositionTier
Sets the position tier which defines in which tier the axis is displayed. The default value is 0.
 
The bigger the value the further afar is the axis from the graph.
 
.PARAMETER AyScale
 
Gets the scaling factor of the axis. This is used to transform between data and screen coordinates.
 
.PARAMETER AyScreenMax
Sets the screen coordinate of the maximum end of the axis.
 
.PARAMETER AyScreenMin
Sets the screen coordinate of the minimum end of the axis.
 
.PARAMETER AyStartPosition
Sets the start position of the axis on the plot area. The default value is 0.
 
The position is defined by a fraction in the range from 0 to 1, where 0 is at the bottom/left
and 1 is at the top/right.
 
.PARAMETER AyStringFormat
Sets the string format used for formatting the axis values. The default value is null.
 
.PARAMETER AyTickStyle
Sets the tick style for major and minor ticks. The default value is OxyPlot.Axes.TickStyle.Outside.
 
.PARAMETER AyTicklineColor
Sets the color of the major and minor ticks. The default value is OxyPlot.OxyColors.Black.
 
.PARAMETER AyTitle
Sets the title of the axis. The default value is null.
 
.PARAMETER AyTitleClippingLength
Sets the length of the title clipping rectangle (fraction of the available length of the axis). The default value is 0.9.
 
.PARAMETER AyTitleColor
Sets the color of the title. The default value is OxyPlot.OxyColors.Automatic.
 
If the value is null, the OxyPlot.PlotModel.TextColor will be used.
 
.PARAMETER AyTitleFont
Sets the title font. The default value is null.
 
.PARAMETER AyTitleFontSize
Sets the size of the title font. The default value is double.NaN.
 
.PARAMETER AyTitleFontWeight
Sets the weight of the title font. The default value is OxyPlot.FontWeights.Normal.
 
.PARAMETER AyTitleFormatString
Sets the format string used for formatting the title and unit when OxyPlot.Axes.Axis.Unit is defined.
The default value is "{0} [{1}]", where {0} refers to the OxyPlot.Axes.Axis.Title and {1} refers to the OxyPlot.Axes.Axis.Unit.
 
If OxyPlot.Axes.Axis.Unit is null, the actual title is defined by OxyPlot.Axes.Axis.Title only.
 
.PARAMETER AyTitlePosition
Sets the position of the title. The default value is 0.5.
 
The position is defined by a fraction in the range 0 to 1.
 
.PARAMETER AyUnit
Sets the unit of the axis. The default value is null.
 
The OxyPlot.Axes.Axis.TitleFormatString is used to format the title including this unit.
 
.PARAMETER AyUseSuperExponentialFormat
Sets a value indicating whether to use superscript exponential format. The default value is false.
 
This format will convert 1.5E+03 to 1.5�E10^{3} and render the superscript properly.
If OxyPlot.Axes.Axis.StringFormat is null, 1.0E+03 will be converted to 10^{3}, otherwise it will use the format string for the mantissa.
 
.PARAMETER AyDesiredSize
Sets the "desired" size by the renderer such that the axis text & ticks will not be clipped. This
size is distinct from the margin settings or the size which is actually rendered, as in: ActualWidth / ActualSize.
Actual rendered size may be smaller or larger than the desired size if the margins are set manually.
 
.PARAMETER AyPositionTierMaxShift
Sets the position tier max shift.
 
.PARAMETER AyPositionTierMinShift
Sets the position tier min shift.
 
.PARAMETER AyPositionTierSize
Sets the size of the position tier.
 
.PARAMETER AyActualTitleColor
 
Gets the actual color of the title.
 
.PARAMETER AyActualTitleFont
 
Gets the actual title font.
 
.PARAMETER AyActualTitleFontSize
 
Gets the actual size of the title font.
 
.PARAMETER AyActualTitleFontWeight
 
Gets the actual title font weight.
 
.PARAMETER AyViewMaximum
Sets the current view's maximum. This value is used when the user zooms or pans.
 
.PARAMETER AyViewMinimum
Sets the current view's minimum. This value is used when the user zooms or pans.
 
.PARAMETER AyGapWidth
Sets the gap width.
 
The default value is 1.0 (100%). The gap width is given as a fraction of the total width/height of the items in a category.
 
.PARAMETER AyIsTickCentered
Sets a value indicating whether the ticks are centered. If this is false, ticks will be drawn between each category. If this is true, ticks will be drawn in the middle of each category.
 
.PARAMETER AyItemsSource
Sets the items source (used to update the Labels collection).
 
.PARAMETER AyLabelField
Sets the data field for the labels.
 
.PARAMETER AyLabels
 
Gets the list of category labels.
 
.PARAMETER AyActualLabels
 
Gets the actual category labels.
 
.PARAMETER AyBarOffset
Sets the original offset of the bars (not used for stacked bar series).
 
.PARAMETER AyStackIndexMapping
Sets the stack index mapping. The mapping indicates to which rank a specific stack index belongs.
 
.PARAMETER AyStackedBarOffset
Sets the offset of the bars per StackIndex and Label (only used for stacked bar series).
 
.PARAMETER AyTotalWidthPerCategory
Sets sum of the widths of the single bars per label. This is used to find the bar width of BarSeries
 
.PARAMETER AyInvalidCategoryColor
Sets the invalid category color.
 
.PARAMETER AyPalette
Sets the palette.
 
.PARAMETER AyInvalidNumberColor
Sets the color used to represent NaN values.
 
.PARAMETER AyHighColor
Sets the color of values above the maximum value.
 
.PARAMETER AyLowColor
Sets the color of values below the minimum value.
 
.PARAMETER AyPalette
Sets the palette.
 
.PARAMETER AyRenderAsImage
Sets a value indicating whether to render the colors as an image.
 
.PARAMETER AyCalendarWeekRule
Sets CalendarWeekRule.
 
.PARAMETER AyFirstDayOfWeek
Sets FirstDayOfWeek.
 
.PARAMETER AyIntervalType
Sets IntervalType.
 
.PARAMETER AyMinorIntervalType
Sets MinorIntervalType.
 
.PARAMETER AyTimeZone
Sets the time zone (used when formatting date/time values).
 
No date/time conversion will be performed if this property is null.
 
.PARAMETER AyFormatAsFractions
Sets a value indicating whether to format numbers as fractions.
 
.PARAMETER AyFractionUnit
Sets the fraction unit. Remember to set FormatAsFractions to true.
 
.PARAMETER AyFractionUnitSymbol
Sets the fraction unit symbol. Use FractionUnit = Math.PI and FractionUnitSymbol = "��" if you want the axis to show "��/2,��,3��/2,2��" etc. Use FractionUnit = 1 and FractionUnitSymbol = "L" if you want the axis to show "0,L/2,L" etc. Remember to set FormatAsFractions to true.
 
.PARAMETER AyMidPoint
Sets the midpoint (screen coordinates) of the plot area. This is used by polar coordinate systems.
 
.PARAMETER AyParent
 
Gets the parent model of the element.
 
.PARAMETER AyFont
Sets the font. The default is null (use OxyPlot.PlotModel.DefaultFont.
 
If the value is null, the DefaultFont of the parent PlotModel will be used.
 
.PARAMETER AyFontSize
Sets the size of the font. The default is double.NaN (use OxyPlot.PlotModel.DefaultFontSize).
 
If the value is NaN, the DefaultFontSize of the parent PlotModel will be used.
 
.PARAMETER AyFontWeight
Sets the font weight. The default is FontWeights.Normal.
 
.PARAMETER AyPlotModel
 
Gets the parent OxyPlot.PlotElement.PlotModel.
 
.PARAMETER AyTag
Sets an arbitrary object value that can be used to store custom information about this plot element. The default is null.
 
This property is analogous to Tag properties in other Microsoft programming models. Tag is intended to provide a pre-existing property location where you can store some basic custom information about any PlotElement without requiring you to subclass an element.
 
.PARAMETER AyTextColor
Sets the color of the text. The default is OxyColors.Automatic (use OxyPlot.PlotModel.TextColor).
 
If the value is OxyColors.Automatic, the TextColor of the parent PlotModel will be used.
 
.PARAMETER AyToolTip
Sets the tool tip. The default is null.
 
.PARAMETER AyActualFont
 
Gets the actual font.
 
.PARAMETER AyActualFontSize
 
Gets the actual size of the font.
 
.PARAMETER AyActualFontWeight
 
Gets the actual font weight.
 
.PARAMETER AyActualTextColor
 
Gets the actual color of the text.
 
.PARAMETER AyActualCulture
 
Gets the actual culture.
 
The culture is defined in the parent PlotModel.
 
.PARAMETER AySelectable
Sets a value indicating whether this element can be selected. The default is true.
 
.PARAMETER AySelectionMode
Sets the selection mode of items in this element. The default is SelectionMode.All.
 
This is only used by the select/unselect functionality, not by the rendering.
 
.PARAMETER AyActualSelectedColor
 
Gets the actual selection color.
 
#>

function New-OxyPlotModel {
  [cmdletbinding(DefaultParameterSetName="PlotModel")]
  [OutputType([OxyPlot.PlotModel], [void])]
  param(
    [Parameter(ParameterSetName="PlotModel", ValueFromPipeline=$true)]
    [OxyPlot.PlotModel]$PlotModel,

    [Parameter(ParameterSetName="Series", ValueFromPipeline=$true)]
    [OxyPlot.Series.Series]$InputObject,

    [switch]$Show,
    [switch]$Reuse,

    [System.String]$DefaultFont,
    [object]$DefaultFontSize,
    [double[]]$ActualPlotMargins,
    [OxyPlot.Annotations.Annotation[]]$Annotations,
    [OxyPlot.Axes.Axis[]]$Axes,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$Background,
    [System.Globalization.CultureInfo]$Culture,
    [string[]]$DefaultColors,
    [System.Boolean]$IsLegendVisible,
    [OxyPlot.OxyRect]$LegendArea,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$LegendBackground,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$LegendBorder,
    [object]$LegendBorderThickness,
    [object]$LegendColumnSpacing,
    [System.String]$LegendFont,
    [object]$LegendFontSize,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$LegendTextColor,
    [object]$LegendFontWeight,
    [OxyPlot.HorizontalAlignment]$LegendItemAlignment,
    [OxyPlot.LegendItemOrder]$LegendItemOrder,
    [object]$LegendItemSpacing,
    [object]$LegendLineSpacing,
    [object]$LegendMargin,
    [object]$LegendMaxWidth,
    [object]$LegendMaxHeight,
    [OxyPlot.LegendOrientation]$LegendOrientation,
    [object]$LegendPadding,
    [OxyPlot.LegendPlacement]$LegendPlacement,
    [OxyPlot.LegendPosition]$LegendPosition,
    [object]$LegendSymbolLength,
    [object]$LegendSymbolMargin,
    [OxyPlot.LegendSymbolPlacement]$LegendSymbolPlacement,
    [System.String]$LegendTitle,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$LegendTitleColor,
    [System.String]$LegendTitleFont,
    [object]$LegendTitleFontSize,
    [object]$LegendTitleFontWeight,
    [double[]]$Padding,
    [object]$Width,
    [object]$Height,
    [OxyPlot.OxyRect]$PlotAndAxisArea,
    [OxyPlot.OxyRect]$PlotArea,
    [object]$AxisTierDistance,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$PlotAreaBackground,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$PlotAreaBorderColor,
    [double[]]$PlotAreaBorderThickness,
    [double[]]$PlotMargins,
    [OxyPlot.PlotType]$PlotType,
    [OxyPlot.Series.Series[]]$Series,
    [System.Func`2[[OxyPlot.IRenderContext, OxyPlot, Version=1.0.0.0, Culture=neutral, PublicKeyToken=638079a8f0bd61e9],[OxyPlot.IRenderContext, OxyPlot, Version=1.0.0.0, Culture=neutral, PublicKeyToken=638079a8f0bd61e9]]]$RenderingDecorator,
    [System.String]$Subtitle,
    [System.String]$SubtitleFont,
    [object]$SubtitleFontSize,
    [object]$SubtitleFontWeight,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$TextColor,
    [System.String]$Title,
    [System.String]$TitleToolTip,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$TitleColor,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$SubtitleColor,
    [OxyPlot.TitleHorizontalAlignment]$TitleHorizontalAlignment,
    [OxyPlot.OxyRect]$TitleArea,
    [System.String]$TitleFont,
    [object]$TitleFontSize,
    [object]$TitleFontWeight,
    [object]$TitlePadding,
    [OxyPlot.Axes.AngleAxis]$DefaultAngleAxis,
    [OxyPlot.Axes.MagnitudeAxis]$DefaultMagnitudeAxis,
    [OxyPlot.Axes.Axis]$DefaultXAxis,
    [OxyPlot.Axes.Axis]$DefaultYAxis,
    [OxyPlot.Axes.IColorAxis]$DefaultColorAxis,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$SelectionColor,
    [hashtable]$Options = @{},

    [System.Windows.Shell.TaskbarItemInfo]$WTaskbarItemInfo,
    [System.Boolean]$WAllowsTransparency,
    [System.String]$WTitle,
    [System.Windows.Media.ImageSource]$WIcon,
    [System.Windows.SizeToContent]$WSizeToContent,
    [object]$WTop,
    [object]$WLeft,
    [System.Windows.WindowStartupLocation]$WWindowStartupLocation,
    [System.Boolean]$WShowInTaskbar,
    [System.Windows.Window]$WOwner,
    [System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]]$WDialogResult,
    [System.Windows.WindowStyle]$WWindowStyle,
    [System.Windows.WindowState]$WWindowState,
    [System.Windows.ResizeMode]$WResizeMode,
    [System.Boolean]$WTopmost,
    [System.Boolean]$WShowActivated,
    [System.Object]$WContent,
    [System.Windows.DataTemplate]$WContentTemplate,
    [System.Windows.Controls.DataTemplateSelector]$WContentTemplateSelector,
    [System.String]$WContentStringFormat,
    [System.Windows.Media.Brush]$WBorderBrush,
    [System.Windows.Thickness]$WBorderThickness,
    [System.Windows.Media.Brush]$WBackground,
    [System.Windows.Media.Brush]$WForeground,
    [System.Windows.Media.FontFamily]$WFontFamily,
    [object]$WFontSize,
    [System.Windows.FontStretch]$WFontStretch,
    [System.Windows.FontStyle]$WFontStyle,
    [System.Windows.FontWeight]$WFontWeight,
    [System.Windows.HorizontalAlignment]$WHorizontalContentAlignment,
    [System.Windows.VerticalAlignment]$WVerticalContentAlignment,
    [System.Int32]$WTabIndex,
    [System.Boolean]$WIsTabStop,
    [System.Windows.Thickness]$WPadding,
    [System.Windows.Controls.ControlTemplate]$WTemplate,
    [System.Windows.Style]$WStyle,
    [System.Boolean]$WOverridesDefaultStyle,
    [System.Boolean]$WUseLayoutRounding,
    [System.Windows.ResourceDictionary]$WResources,
    [System.Object]$WDataContext,
    [System.Windows.Data.BindingGroup]$WBindingGroup,
    [System.Windows.Markup.XmlLanguage]$WLanguage,
    [System.String]$WName,
    [System.Object]$WTag,
    [System.Windows.Input.InputScope]$WInputScope,
    [System.Windows.Media.Transform]$WLayoutTransform,
    [object]$WWidth,
    [object]$WMinWidth,
    [object]$WMaxWidth,
    [object]$WHeight,
    [object]$WMinHeight,
    [object]$WMaxHeight,
    [System.Windows.FlowDirection]$WFlowDirection,
    [System.Windows.Thickness]$WMargin,
    [System.Windows.HorizontalAlignment]$WHorizontalAlignment,
    [System.Windows.VerticalAlignment]$WVerticalAlignment,
    [System.Windows.Style]$WFocusVisualStyle,
    [System.Windows.Input.Cursor]$WCursor,
    [System.Boolean]$WForceCursor,
    [System.Object]$WToolTip,
    [System.Windows.Controls.ContextMenu]$WContextMenu,
    [System.Boolean]$WAllowDrop,
    [System.Windows.Size]$WRenderSize,
    [System.Windows.Media.Transform]$WRenderTransform,
    [System.Windows.Point]$WRenderTransformOrigin,
    [object]$WOpacity,
    [System.Windows.Media.Brush]$WOpacityMask,
    [System.Windows.Media.Effects.BitmapEffect]$WBitmapEffect,
    [System.Windows.Media.Effects.Effect]$WEffect,
    [System.Windows.Media.Effects.BitmapEffectInput]$WBitmapEffectInput,
    [System.Windows.Media.CacheMode]$WCacheMode,
    [System.String]$WUid,
    [System.Windows.Visibility]$WVisibility,
    [System.Boolean]$WClipToBounds,
    [System.Windows.Media.Geometry]$WClip,
    [System.Boolean]$WSnapsToDevicePixels,
    [System.Boolean]$WIsEnabled,
    [System.Boolean]$WIsHitTestVisible,
    [System.Boolean]$WFocusable,
    [System.Boolean]$WIsManipulationEnabled,
    [hashtable]$WOptions = @{},

    [string]$AxType,
    [object]$AxAbsoluteMaximum,
    [object]$AxAbsoluteMinimum,
    [object]$AxActualMajorStep,
    [object]$AxActualMaximum,
    [object]$AxActualMinimum,
    [object]$AxActualMinorStep,
    [System.String]$AxActualStringFormat,
    [object]$AxAngle,
    [object]$AxAxisDistance,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxAxislineColor,
    [OxyPlot.LineStyle]$AxAxislineStyle,
    [object]$AxAxislineThickness,
    [object]$AxAxisTickToLabelDistance,
    [object]$AxAxisTitleDistance,
    [object]$AxBase,
    [System.Globalization.CalendarWeekRule]$AxCalendarWeekRule,
    [System.Boolean]$AxClipTitle,
    [System.Boolean]$AxCropGridlines,
    [object]$AxDataMaximum,
    [object]$AxDataMinimum,
    [OxyPlot.OxySize]$AxDesiredSize,
    [object]$AxEndAngle,
    [object]$AxEndPosition,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxExtraGridlineColor,
    [System.Double[]]$AxExtraGridlines,
    [OxyPlot.LineStyle]$AxExtraGridlineStyle,
    [object]$AxExtraGridlineThickness,
    [System.Func`2[[System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]]$AxFilterFunction,
    [object]$AxFilterMaxValue,
    [object]$AxFilterMinValue,
    [System.DayOfWeek]$AxFirstDayOfWeek,
    [System.String]$AxFont,
    [object]$AxFontSize,
    [object]$AxFontWeight,
    [System.Boolean]$AxFormatAsFractions,
    [object]$AxFractionUnit,
    [System.String]$AxFractionUnitSymbol,
    [object]$AxGapWidth,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxHighColor,
    [object]$AxIntervalLength,
    [OxyPlot.Axes.DateTimeIntervalType]$AxIntervalType,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxInvalidCategoryColor,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxInvalidNumberColor,
    [System.Boolean]$AxIsAxisVisible,
    [System.Boolean]$AxIsPanEnabled,
    [System.Boolean]$AxIsTickCentered,
    [System.Boolean]$AxIsZoomEnabled,
    [System.Collections.IEnumerable]$AxItemsSource,
    [System.String]$AxKey,
    [System.String]$AxLabelField,
    [System.Func`2[[System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]]$AxLabelFormatter,
    [OxyPlot.Axes.AxisLayer]$AxLayer,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxLowColor,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxMajorGridlineColor,
    [OxyPlot.LineStyle]$AxMajorGridlineStyle,
    [object]$AxMajorGridlineThickness,
    [object]$AxMajorStep,
    [object]$AxMajorTickSize,
    [object]$AxMaximum,
    [object]$AxMaximumPadding,
    [object]$AxMaximumRange,
    [object]$AxMinimum,
    [object]$AxMinimumMajorStep,
    [object]$AxMinimumMinorStep,
    [object]$AxMinimumPadding,
    [object]$AxMinimumRange,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxMinorGridlineColor,
    [OxyPlot.LineStyle]$AxMinorGridlineStyle,
    [object]$AxMinorGridlineThickness,
    [OxyPlot.Axes.DateTimeIntervalType]$AxMinorIntervalType,
    [object]$AxMinorStep,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxMinorTicklineColor,
    [object]$AxMinorTickSize,
    [object[]]$AxPalette,
    [OxyPlot.Model]$AxParent,
    [OxyPlot.Axes.AxisPosition]$AxPosition,
    [System.Boolean]$AxPositionAtZeroCrossing,
    [System.Int32]$AxPositionTier,
    [System.Boolean]$AxPowerPadding,
    [System.Boolean]$AxRenderAsImage,
    [OxyPlot.ScreenPoint]$AxScreenMax,
    [OxyPlot.ScreenPoint]$AxScreenMin,
    [System.Boolean]$AxSelectable,
    [OxyPlot.SelectionMode]$AxSelectionMode,
    [object]$AxStartAngle,
    [object]$AxStartPosition,
    [System.String]$AxStringFormat,
    [System.Object]$AxTag,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxTextColor,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxTicklineColor,
    [OxyPlot.Axes.TickStyle]$AxTickStyle,
    [System.TimeZoneInfo]$AxTimeZone,
    [System.String]$AxTitle,
    [object]$AxTitleClippingLength,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AxTitleColor,
    [System.String]$AxTitleFont,
    [object]$AxTitleFontSize,
    [object]$AxTitleFontWeight,
    [System.String]$AxTitleFormatString,
    [object]$AxTitlePosition,
    [System.String]$AxToolTip,
    [System.String]$AxUnit,
    [System.Boolean]$AxUseSuperExponentialFormat,
    [hashtable]$AxOptions = @{},

    [string]$AyType,
    [object]$AyAbsoluteMaximum,
    [object]$AyAbsoluteMinimum,
    [object]$AyActualMajorStep,
    [object]$AyActualMaximum,
    [object]$AyActualMinimum,
    [object]$AyActualMinorStep,
    [System.String]$AyActualStringFormat,
    [object]$AyAngle,
    [object]$AyAxisDistance,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyAxislineColor,
    [OxyPlot.LineStyle]$AyAxislineStyle,
    [object]$AyAxislineThickness,
    [object]$AyAxisTickToLabelDistance,
    [object]$AyAxisTitleDistance,
    [object]$AyBase,
    [System.Globalization.CalendarWeekRule]$AyCalendarWeekRule,
    [System.Boolean]$AyClipTitle,
    [System.Boolean]$AyCropGridlines,
    [object]$AyDataMaximum,
    [object]$AyDataMinimum,
    [OxyPlot.OxySize]$AyDesiredSize,
    [object]$AyEndAngle,
    [object]$AyEndPosition,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyExtraGridlineColor,
    [System.Double[]]$AyExtraGridlines,
    [OxyPlot.LineStyle]$AyExtraGridlineStyle,
    [object]$AyExtraGridlineThickness,
    [System.Func`2[[System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]]$AyFilterFunction,
    [object]$AyFilterMaxValue,
    [object]$AyFilterMinValue,
    [System.DayOfWeek]$AyFirstDayOfWeek,
    [System.String]$AyFont,
    [object]$AyFontSize,
    [object]$AyFontWeight,
    [System.Boolean]$AyFormatAsFractions,
    [object]$AyFractionUnit,
    [System.String]$AyFractionUnitSymbol,
    [object]$AyGapWidth,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyHighColor,
    [object]$AyIntervalLength,
    [OxyPlot.Axes.DateTimeIntervalType]$AyIntervalType,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyInvalidCategoryColor,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyInvalidNumberColor,
    [System.Boolean]$AyIsAxisVisible,
    [System.Boolean]$AyIsPanEnabled,
    [System.Boolean]$AyIsTickCentered,
    [System.Boolean]$AyIsZoomEnabled,
    [System.Collections.IEnumerable]$AyItemsSource,
    [System.String]$AyKey,
    [System.String]$AyLabelField,
    [System.Func`2[[System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]]$AyLabelFormatter,
    [OxyPlot.Axes.AxisLayer]$AyLayer,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyLowColor,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyMajorGridlineColor,
    [OxyPlot.LineStyle]$AyMajorGridlineStyle,
    [object]$AyMajorGridlineThickness,
    [object]$AyMajorStep,
    [object]$AyMajorTickSize,
    [object]$AyMaximum,
    [object]$AyMaximumPadding,
    [object]$AyMaximumRange,
    [object]$AyMinimum,
    [object]$AyMinimumMajorStep,
    [object]$AyMinimumMinorStep,
    [object]$AyMinimumPadding,
    [object]$AyMinimumRange,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyMinorGridlineColor,
    [OxyPlot.LineStyle]$AyMinorGridlineStyle,
    [object]$AyMinorGridlineThickness,
    [OxyPlot.Axes.DateTimeIntervalType]$AyMinorIntervalType,
    [object]$AyMinorStep,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyMinorTicklineColor,
    [object]$AyMinorTickSize,
    [object[]]$AyPalette,
    [OxyPlot.Model]$AyParent,
    [OxyPlot.Axes.AxisPosition]$AyPosition,
    [System.Boolean]$AyPositionAtZeroCrossing,
    [System.Int32]$AyPositionTier,
    [System.Boolean]$AyPowerPadding,
    [System.Boolean]$AyRenderAsImage,
    [OxyPlot.ScreenPoint]$AyScreenMax,
    [OxyPlot.ScreenPoint]$AyScreenMin,
    [System.Boolean]$AySelectable,
    [OxyPlot.SelectionMode]$AySelectionMode,
    [object]$AyStartAngle,
    [object]$AyStartPosition,
    [System.String]$AyStringFormat,
    [System.Object]$AyTag,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyTextColor,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyTicklineColor,
    [OxyPlot.Axes.TickStyle]$AyTickStyle,
    [System.TimeZoneInfo]$AyTimeZone,
    [System.String]$AyTitle,
    [object]$AyTitleClippingLength,
    [ValidatePattern('AliceBlue|AntiqueWhite|Aqua|Aquamarine|Automatic|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenrod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|Firebrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|Goldenrod|Gray|Green|GreenYellow|Honeydew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenrodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquamarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenrod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Undefined|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen|(#?[0-9a-f]{1,8})')][string]$AyTitleColor,
    [System.String]$AyTitleFont,
    [object]$AyTitleFontSize,
    [object]$AyTitleFontWeight,
    [System.String]$AyTitleFormatString,
    [object]$AyTitlePosition,
    [System.String]$AyToolTip,
    [System.String]$AyUnit,
    [System.Boolean]$AyUseSuperExponentialFormat,
    [hashtable]$AyOptions = @{},

    [string]$Style = "default"
  )

begin {
  if (!(Test-OxyStyleName $Style)) {
    Write-Error "Unknown style: '$Style'"
    return
  }

  $modelCreated = $false
  if ($PlotModel -eq $null) {
    $PlotModel = New-Object OxyPlot.PlotModel
    $PlotModel = $PlotModel |
      Add-Member -PassThru NoteProperty _Info ([PSCustomObject]@{ Style = $Style })
    $modelCreated = $true
  }
}

process {
  if ($InputObject -ne $null) {
    $PlotModel.Series.Add($InputObject)
  }
}

end {
  foreach ($s in $PlotModel.Series) {
    if ($s.IsVisible -and $s.PSObject.Properties.Name -Contains "_Info") {
      $PlotModel.LegendTitle = $s._Info.GroupName
      break
    }
  }

  if ($modelCreated) {
    Apply-OxyStyle $PlotModel $Style $MyInvocation
  }

  $props = $PROPERTY_HASH["OxyPlot.PlotModel"]
  Assign-ParametersToProperties $props $PSBoundParameters $Options $PlotModel

  $ax = $null
  $ay = $null
  $axCreated = $false
  $ayCreated = $false

  if ($PSBoundParameters.ContainsKey("AxType")) {
    $ax = Get-AxisByPartialTypeName $AxType
    if (!$ax) {
      Write-Error "No Axis type matches with '$AxType'"
      return
    }
    $axCreated = $true
  }

  if ($PSBoundParameters.ContainsKey("AyType")) {
    $ay = Get-AxisByPartialTypeName $AyType
    if (!$ay) {
      Write-Error "No Axis type matches with '$AyType'"
      return
    }
    $ayCreated = $true
  }

  foreach ($a in $PlotModel.Axes) {
    if ($ax -eq $null -and $a.IsHorizontal()) {
      $ax = $a
    }
    if ($ay -eq $null -and $a.IsVertical()) {
      $ay = $a
    }
  }

  if ($ax -eq $null) {
    foreach ($s in $PlotModel.Series) {
      if ($s.IsVisible -and (Test-AxesRequired $s)) {
        if ((Get-RequiredCategoryAxis $s) -eq "x") {
          $ax = New-Object OxyPlot.Axes.CategoryAxis
          if ($s.PSObject.Properties.Name -Contains "_Info") {
            foreach ($n in $s._Info.CategoryNames) {
              $ax.Labels.Add($n)
            }
          }
        }
        else {
          if ($s.PSObject.Properties.Name -Contains "_Info") {
            $ax = Get-AxisObject $s._Info.XDataType
          }
          else {
            $ax = New-Object OxyPlot.Axes.LinearAxes
          }
        }
        $axCreated = $true
        break
      }
    }
  }

  if ($ay -eq $null) {
    foreach ($s in $PlotModel.Series) {
      if ($s.IsVisible -and (Test-AxesRequired $s)) {
        if ((Get-RequiredCategoryAxis $s) -eq "y") {
          $ay = New-Object OxyPlot.Axes.CategoryAxis
          if ($s.PSObject.Properties.Name -Contains "_Info") {
            foreach ($n in $s._Info.CategoryNames) {
              $ay.Labels.Add($n)
            }
          }
        }
        else {
          if ($s.PSObject.Properties.Name -Contains "_Info") {
            $ay = Get-AxisObject $s._Info.YDataType
          }
          else {
            $ay = New-Object OxyPlot.Axes.LinearAxes
          }
        }
        $ayCreated = $true
        break
      }
    }
  }

  if ($axCreated -or $ayCreated) {
    foreach ($s in $PlotModel.Series) {
      if ($s.IsVisible -and $s.PSObject.Properties.Name -Contains "_Info") {
        if ($axCreated) {
          if ((Get-RequiredCategoryAxis $s) -eq "x" -and
              $null -ne $s._Info.CategoryTitle) {
            $ax.Title = $s._Info.CategoryTitle
          }
          else {
            $ax.Title = $s._Info.XAxisTitle
          }
        }
        if ($ayCreated) {
          if ((Get-RequiredCategoryAxis $s) -eq "y" -and
              $null -ne $s._Info.CategoryTitle) {
            $ay.Title = $s._Info.CategoryTitle
          }
          else {
            $ay.Title = $s._Info.YAxisTitle
          }
        }
        break
      }
    }
  }

  if ($axCreated) {
    $ax.Position = "Bottom"
    Apply-OxyStyle $ax $Style $MyInvocation
    $PlotModel.Axes.Add($ax)
  }

  if ($ayCreated) {
    $ay.Position = "Left"
    Apply-OxyStyle $ay $Style $MyInvocation
    $PlotModel.Axes.Add($ay)
  }

  $props = $AXES_PROPERTY_HASH
  Assign-ParametersToProperties $props $PSBoundParameters $AxOptions $ax Ax
  Assign-ParametersToProperties $props $PSBoundParameters $AyOptions $ay Ay

  foreach ($s in $PlotModel.Series) {
    if ($s.IsVisible -and $s -is [OxyPlot.Series.HeatMapSeries] -and $null -eq $s.ColorAxis -and $null -eq $s.ColorAxisKey) {
      $colorAxis = New-Object OxyPlot.Axes.LinearColorAxis
      $colorAxis.Position = "Right"

      $axisKey = [Guid]::NewGuid().ToString()
      $colorAxis.Key = $axisKey
      $s.ColorAxisKey = $axisKey

      Apply-OxyStyle $colorAxis $Style $MyInvocation
      $PlotModel.Axes.Add($colorAxis)
    }
  }

  if (!$Show) {
    return $PlotModel
  }


  Apply-OxyStyleEvent $PlotModel $Style "BeforeRendering" $MyInvocation

  $windowOptions = @{
    Title = $MyInvocation.Line
  }

  $props = $PROPERTY_HASH["System.Windows.Window"]
  Assign-ParametersToProperties $props $PSBoundParameters $WOptions $windowOptions

  if ($Reuse) {
    $w = Get-OxyWindow
  }
  else {
    $w = New-WpfWindow -Options $windowOptions
  }

  Invoke-WpfWindowAction $w {
    if ($Reuse) {
      foreach ($key in $windowOptions.Keys) {
        $w.$key = $windowOptions[$key]
      }
    }

    [void]$w.Activate()

    $view = New-Object OxyPlot.Wpf.PlotView
    $view.Model = $PlotModel

    $g = New-Object Windows.Controls.Grid
    [void]$g.Children.Add($view)
    $w.Content = $g
  }

  $PlotModel
}
}