Abt.Controls.SciChart.Wpf
Converts input to , is such a way that Left becomes RightToLeft and Right becomes LeftToRight
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a double value to a with equal value all round
Modifies the source data before passing it to the target for display in the UI.
The source data being passed to the target.
The of data expected by the target dependency property.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the target dependency property.
Modifies the target data before passing it to the source object. This method is called only in bindings.
The target data being passed to the source.
The of data expected by the source object.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the source object.
Workaround converter to allow for cross-platform Ancestor binding to SciChartLegend in SL and WPF
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Transforms passed to point, use Log10 for transformation if
Provides the base functionality for template selectors
When overidden in derived classes, contains the logic for choosing a proper DataTemplate
Called when the property changes.
The old value of the property.
The new value of the property.
Gets or sets the template which is used as default
Enumeration constants to define FrameworkVisibility
Show this element in all frameworks
Show this element in WPF only
Show this element in Silverlight only
Used to show or hide UIElements based on framework (WPF, Silverlight)
Defines the VisibleIn DependencyProperty, used to set which frameworks (WPF, Silverlight, All) an element is visible in
Sets the VisibleIn DependencyProperty, used to set which frameworks (WPF, Silverlight, All) an element is visible in
The element.
The enum
Gets the VisibleIn DependencyProperty, used to set which frameworks (WPF, Silverlight, All) an element is visible in
The element.
ValueConverter to assist in marshalling types to object. Necessary because the XAML binding engine does not cope well with values
Modifies the source data before passing it to the target for display in the UI.
The source data being passed to the target.
The of data expected by the target dependency property.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the target dependency property.
Modifies the target data before passing it to the source object. This method is called only in bindings.
The target data being passed to the source.
The of data expected by the source object.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the source object.
Value converter which inverts a boolean
Modifies the source data before passing it to the target for display in the UI.
The source data being passed to the target.
The of data expected by the target dependency property.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the target dependency property.
Modifies the target data before passing it to the source object. This method is called only in bindings.
The target data being passed to the source.
The of data expected by the source object.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the source object.
TypeConverter to allow conversion of a string value to . Used to allow succinct Markup syntax e.g.
<NumericAxis VisibleRange="10, 20"/>
Returns whether the type converter can convert an object from the specified type to the type of this converter.
An object that provides a format context.
The type you want to convert from.
true if this converter can perform the conversion; otherwise, false.
Converts from the specified value to the intended conversion type of the converter.
An object that provides a format context.
The to use as the current culture.
The value to convert to the type of this converter.
The converted value.
Unable to convert the string {0} into a DoubleRange. Please use the format '1.234,5.678'
TypeConverter to assist in transforming strings to Labels
Returns whether the type converter can convert an object from the specified type to the type of this converter.
An object that provides a format context.
The type you want to convert from.
true if this converter can perform the conversion; otherwise, false.
Converts from the specified value to the intended conversion type of the converter.
An object that provides a format context.
The to use as the current culture.
The value to convert to the type of this converter.
The converted value.
Provides class for choosing proper DataTemplate according to a of
When overidden in derived classes, contains the logic for choosing a proper DataTemplate
Gets or sets the DataTemplate for
Gets or sets the DataTemplate for the second series of the
Gets or sets the DataTemplate for the first series of the
Provides data for the System.ComponentModel.INotifyPropertyChanged.PropertyChanged event.
Initializes a new instance of the PropertyChangedEventArgsWithValues class
The name of the property that changed.
Old value of the property that changed.
New value of the property that changed.
Gets an old value of property that changed
Gets a new value of property that changed
A DataSeries to store Xy data-points, unsorted containing X and Y values.
If your data is sorted in the X-direction, for extra performance use the
May be used as a DataSource for as well as standard XY renderable series types
A DataSeries to store Xy data-points, containing X and Y values which must be sorted in the X-direction.
If your data is not sorted in the X-direction, please use the
May be used as a DataSource for as well as standard XY renderable series types
Defines a generic DataSeries within a , which contains 1..N columns,
such as X,Y in the case of plain X,Y data, or X, Open, High, Low, Close in the case of OHLC data.
The type of the X-Data.
The type of the Y-Data.
Defines the Generic interface to a DataSeries within a
The type of the X-Data.
The type of the Y-Data.
Defines the base interface to a DataSeries within a
Gets the integer indices of the XValues array that are currently in the VisibleRange passed in.
If the input X-data is 0...99 in steps of 1, the VisibleRange is 10, 30 then the Indices Range will be 10, 30
The VisibleRange to get the indices range
The indices to the X-Data that are currently in range
Converts the default to an which is used to render XY series
The desired
The integer Indices range in the parent data-set
The current width of the viewport
If true, uses the indices to form the resampled X-values, else uses the X-Values themselves
A which is used to render XY series
OBSOLETE: ToPointSeries overload has been deprecated, use ToPointSeries instead, and cast to correct type of point series
Gets the YRange of the data (min, max of the series) in the input visible range point range, where the input range is the
The X-Axis Range currently in view
The YRange of the data in this window
Gets the YRange of the data (min, max of the series) in the input IndexRange, where indices are point-indices on the DataSeries columns
The X-Axis Indices currently in view
The YRange of the data in this window
Gets the YRange of the data (min, max of the series) in the input IndexRange, where indices are point-indices on the DataSeries columns
The X-Axis Indices currently in view
The YRange of the data in this window
Gets the YRange of the data (min, max of the series) in the input visible range point range, where the input range is the
The X-Axis Range currently in view
The YRange of the data in this window
Finds the index to the DataSeries at the specified X-Value
The X-value to search for
The options to use. Default is exact, where -1 is returned if the index is not found
The index of the found value
When overridden in a derived class, returns a struct containing data about the data-point at the specified index
The index to the DataSeries
The HitTestInfo
Event raised whenever points are added to, removed or one or more DataSeries properties changes
Gets or sets the that this DataSeries belongs to
Gets the for this DataSeries
Gets the XValues of this dataseries
Gets the YValues of this dataseries
Gets or sets the name of this series
Gets the computed Minimum value in Y for this series
Gets the computed minimum positive value in Y for this series
Gets the computed Maximum value in Y for this series
Gets the computed Minimum value in X for this series
Gets the computed minimum positive value in X for this series
Gets the computed Maximum value in X for this series
Gets whether the dataseries behaves as a FIFO.
If True, when the FifoCapacity is reached, old points will be
discarded in favour of new points, resulting in a scrolling chart
Gets or sets the size of the FIFO buffer.
If null, then the dataseries is unlimited.
If a value is set, when the point count reaches this value, older points will be discarded
Gets whether the DataSeries has values (is not empty)
Gets the number of points in this dataseries
Gets whether this DataSeries contains Sorted data in the X-direction.
Note: Sorted data will result in far faster indexing operations. If at all possible, try to keep your data sorted in the X-direction
Gets a synchronization object used to lock this data-series. Also locked on append, update, remove or clear
Appends an X, Y point to the series
Exception will be thrown if the count of y differ
The X Value
The Y Values (depends on series type)
Appends a list of X, Y points to the series
Exception will be thrown if the count of x and each y differ
The list of X points
Lists of Y points (depends on series type)
Removes a point with the specified X Value
Removes a point at the specified index
Removes a range of points starting from the specified index
Starting index of the range of elements to remove
The number of elements to remove
Clears the series, resetting internal lists to zero size
Creates a deep copy of a DataSeries
Used internally by AutoRanging algorithm.
When overriden in a derived class, gets the Min(existingYMin, currentMin), where currentMin is the minimum at the specified index
The index to the underlying dataset
The existing minimum
The new YMin, which is the Min(existingYMin, currentMin)
Used internally by AutoRanging algorithm.
When overriden in a derived class, gets the Max(existingYMax, currentMax), where currentMax is the maximum at the specified index
The index to the underlying dataset
The existing maximum
The new YMax, which is the Min(existingYMax, currentMax)
Gets whether the current DataSeries is attached to a DataSet
Gets or sets the that this DataSeries belongs to
Gets the X Values of this series
Gets the Y Values of this series
The XColumn for this DataSeries
The primary YColumn for this DataSeries
The computed Y-Minimum for this DataSeries
The computed minimum positive Y value for this DataSeries
The computed Y-Maximum for this DataSeries
The computed X-Minimum for this DataSeries
The computed minimum positive X value for this DataSeries
The computed X-Maximum for this DataSeries
Initializes a new instance of the class.
Removes the associated Y-Values for the specified X-Value
The X DataValue to remove. Removes all associated Y-Values
Removes the X,Y values at the specified index
The index to remove at
Removes a range of points starting from the specified index
Starting index of the range of elements to remove
The number of elements to remove
Clears the series, resetting internal lists to zero size
Creates a deep copy of a DataSeries
Gets the integer indices of the XValues array that are currently in the VisibleRange passed in.
The VisibleRange to get the indices range
The indices to the X-Data that are currently in range
If the input X-data is 0...99 in steps of 1, the VisibleRange is 10, 30 then the Indices Range will be 10, 30
Converts the default to an which is used to render XY series
The desired
The integer Indices range in the parent data-set
The current width of the viewport
If true, uses the indices to form the resampled X-values, else uses the X-Values themselves
A which is used to render XY series
OBSOLETE. Use ToPointSeries instead, and cast to correct type of point series
Gets the YRange of the data (min, max of the series) in the input visible range point range, where the input range is the
The X-Axis Range currently in view
The YRange of the data in this window
xRange
Invalid Range Type. Please ensure you are using DateTimeAxis where the X-Data is DateTime, and NumericAxis where the X-Data is Double, Float, Int, Long
Gets the YRange of the data (min, max of the series) in the input IndexRange, where indices are point-indices on the DataSeries columns
The X-Axis Indices currently in view
The YRange of the data in this window
Finds the index to the DataSeries at the specified X-Value
The X-value to search for
The options to use. Default is exact, where -1 is returned if the index is not found
The index of the found value
When overridden in a derived class, returns a struct containing data about the data-point at the specified index
The index to the DataSeries
The HitTestInfo
Performs a full recalculation of the XMinPositive and YMinPositive values of the DataSeries if need
Performs a full recalculation of the XMinPositive value of the DataSeries, by iterating over all X-values
Performs a full recalculation of the YMinPositive value of the DataSeries, by iterating over all Y-values
Performs a full recalculation of the YMin, YMax values of the DataSeries, by iterating over all Y-values
Gets the minimum positive value of (positiveMin, min)
When overridden in a derived class, clears all columns in the Data Series
When overriden in a derived class, gets the Min(existingYMin, currentMin), where currentMin is the minimum at the specified index
The index to the underlying dataset
The existing minimum
The new YMin, which is the Min(existingYMin, currentMin)
When overriden in a derived class, gets the Max(existingYMax, currentMax), where currentMax is the maximum at the specified index
The index to the underlying dataset
The existing maximum
The new YMax, which is the Min(existingYMax, currentMax)
When overriden in a derived class, gets the Min(existingXMin, currentMin), where currentMin is the minimum at the specified index
The index to the underlying dataset
The existing minimum
The new XMin, which is the Min(existingXMin, currentMin)
Asserts correct number of parameters supplied to Append(TX, params TY) and throws if necessary
The expected params count
Event raised whenever points are added to, removed or one or more DataSeries properties changes
Synchronization object (per instance)
Gets the computed Minimum value in Y for this series
Gets the computed minimum positive value in Y for this series
Gets the computed Maximum value in Y for this series
Gets the computed Minimum value in X for this series
Gets the computed minimum positive value in X for this series
Gets the computed Maximum value in X for this series
Gets the number of points in this data series
Gets or sets the name of this series
The name of the series.
Gets a value indicating whether this instance is attached.
true if this instance is attached; otherwise, false.
Gets or sets the that this DataSeries belongs to
Gets the for this DataSeries
Gets the item at the index from the specified .
Gets whether the Data Series has values (is not empty)
Gets or sets the that this DataSeries belongs to
Gets the X Values of this series
Gets the Y Values of this series
Gets the X Values of this dataseries
Gets the Y Values of this dataseries
Gets whether the dataseries behaves as a FIFO
If True, when the FifoCapacity is reached, old points will be
discarded in favour of new points
Gets whether this DataSeries contains Sorted data in the X-direction.
Note: Sorted data will result in far faster indexing operations. If at all possible, try to keep your data sorted in the X-direction
Gets or sets the size of the FIFO buffer.
If null, then the dataseries is unlimited.
If a value is set, when the point count reaches this value, older points will be discarded
The fifo capacity.
Defines the interface to a typed Xy DataSeries, which contains columns of X-Values and Y-Values.
Defines the interface to an Xy DataSeries, which contains columns of X-Values and Y-Values
Appends an X, Y point to the series
The X Value
The Y Value
Appends a list of X, Y points to the series
Exception will be thrown if the count of x and y differ
The list of X points
The list of Y points
Updates an X,Y point specified by the X-Value passed in.
The X Value to key on when updating
The new Y value
Thrown if the x value is not in the DataSeries
Inserts an X,Y point at the specified index
The index to insert at
The X value
The Y value
Inserts a list of X, Y points at the specified index
Exception will be thrown if the count of x and y differ
The index to insert at
The list of X points
The list of Y points
Initializes a new instance of the class.
Converts the default to an which is used to render XY series
The desired
The integer Indices range in the parent data-set
The current width of the viewport
If true, uses the indices to form the resampled X-values, else uses the X-Values themselves
A which is used to render XY series
When overridden in a derived class, returns a struct containing data about the data-point at the specified index
The index to the DataSeries
The HitTestInfo
When overridden in a derived class, clears all columns in the Data Series
Removes the X,Y values at the specified index
The index to remove at
Removes a range of points starting from the specified index
Starting index of the range of elements to remove
The number of elements to remove
Creates a deep copy of a DataSeries
Appends an X, Y point to the series
The X Value
The Y Value
Appends a list of X, Y points to the series
The list of X points
The list of Y points
Updates an X,Y point specified by the X-Value passed in.
The X Value to key on when updating
The new Y value
Thrown if the x value is not in the DataSeries
Inserts an X,Y point at the specified index
The index to insert at
The X value
The Y value
Inserts a list of X, Y points at the specified index
Exception will be thrown if the count of x and y differ
The index to insert at
The list of X points
The list of Y points
Used internally by AutoRanging algorithm.
When overriden in a derived class, gets the Min(existingYMin, currentMin), where currentMin is the minimum at the specified index
The index to the underlying dataset
The existing minimum
The new YMin, which is the Min(existingYMin, currentMin)
Used internally by AutoRanging algorithm.
When overriden in a derived class, gets the Max(existingYMax, currentMax), where currentMax is the maximum at the specified index
The index to the underlying dataset
The existing maximum
The new YMax, which is the Min(existingYMax, currentMax)
Gets the for this DataSeries
Gets whether the Data Series has values (is not empty)
Initializes a new instance of the class.
Converts the default to an which is used to render XY series
The desired
The integer Indices range in the parent data-set
The current width of the viewport
If true, uses the indices to form the resampled X-values, else uses the X-Values themselves
A which is used to render XY series
When overridden in a derived class, returns a struct containing data about the data-point at the specified index
The index to the DataSeries
The HitTestInfo
When overridden in a derived class, clears all columns in the Data Series
Removes the X,Y values at the specified index
The index to remove at
Removes a range of points starting from the specified index
Starting index of the range of elements to remove
The number of elements to remove
Creates a deep copy of a DataSeries
Appends an X, Y point to the series
The X Value
The Y Value
Appends a list of X, Y points to the series
The list of X points
The list of Y points
Updates an X,Y point specified by the X-Value passed in.
The X Value to key on when updating
The new Y value
Thrown if the x value is not in the DataSeries
Inserts an X,Y point at the specified index
The index to insert at
The X value
The Y value
Inserts a list of X, Y points at the specified index
Exception will be thrown if the count of x and y differ
The index to insert at
The list of X points
The list of Y points
Used internally by AutoRanging algorithm.
When overriden in a derived class, gets the Min(existingYMin, currentMin), where currentMin is the minimum at the specified index
The index to the underlying dataset
The existing minimum
The new YMin, which is the Min(existingYMin, currentMin)
Used internally by AutoRanging algorithm.
When overriden in a derived class, gets the Max(existingYMax, currentMax), where currentMax is the maximum at the specified index
The index to the underlying dataset
The existing maximum
The new YMax, which is the Min(existingYMax, currentMax)
Gets the for this DataSeries
Gets whether the Data Series has values (is not empty)
Validates the component
The component to validate
Validates the component
The component to validate
Defines the interface to a , a viewmodel to a single data-render series pair, which is used in the new Mvvm API.
For usage, see the SeriesSource property and the Mvvm examples in the examples suite. You may bind SeriesSource to a collection of
and SciChart will automatically create a
Gets or sets the DataSeries
Gets or sets the paired with the data
A viewmodel to a single data-render series pair, used in the new Mvvm API.
For usage, see the SeriesSource property and the Mvvm examples in the examples suite. You may bind SeriesSource to a collection of
and SciChart will automatically create a
Provides a base-type for classes that need to raise events
Raises the event
Name of the property.
Raises the event
Name of the property.
Old value of the property.
New value of the property.
Occurs when a property value changes.
Initializes a new instance of the class.
The data series.
The render series paired with the data.
Gets or sets the DataSeries
Gets or sets the paired with the data
Defines the interface to an Xyy DataSeries, a series containing X, Y0 and Y1 data-points
Gets the Y1 Values as a list of
Defines the templated interface to an Xyy DataSeries, a series containing X, Y0 and Y1 data-points
Appends a single X, Y0, Y1 point to the series, automatically triggering a redraw
The X-value
The Y0-value
The Y1-value
Appends a collection of X, Y0 and Y1 points to the series, automatically triggering a redraw
The X-values
The Y0-values
The Y1-values
Updates (overwrites) the Y0, Y1 values at the specified X-value. Automatically triggers a redraw
The X-value
The Y0-value
The Y1-value
Inserts an X, Y0, Y1 point at the specified index. Automatically triggers a redraw
The index to insert at
The X-value
The Y0-value
The Y1-value
Inserts a collection of X, Y0 and Y1 points at the specified index, automatically triggering a redraw
The index to insert at
The X-values
The Y0-values
The Y1-values
Gets the Y1 values
A custom to be used in conjunction with the . The
allows creation of annotations on mouse-click and drag. See the example of use CreateAnnotationsDynamically in the examples-suite
Defines the base class to a Chart Modifier, which can be used to extend the interactivity or rendering of the
Base class to expose properties and methods for derived types and derived types
Called when the element is attached to the Chart Surface
Called immediately before the element is detached from the Chart Surface
Gets the YAxis instance on the parent at the specified
Raises the which causes the parent to invalidate
Gets the TemplateChild by the specified name and casts to type , asserting that the result is not null
The Type of the templated part
Name of the templated part.
The template part instance
Unable to Apply the Control Template. Child is missing or of the wrong type
Raises the PropertyChanged event, as part of implementation
Name of the property.
Occurs when a property changes in the implementation
Gets or sets the parent to perform operations on
Gets the primary YAxis, this is the first axis in the YAxes collection
Returns the YAxes on the parent
Gets the XAxis instance on the parent
Gets or sets a container
Gets the instance on the parent , which acts as a canvas to place UIElements
Gets or sets whether this Element is attached to a parent
true if this instance is attached; otherwise, false.
Gets the which is the root component for the ,
containing the XAxis, YAxes, ModifierSurface, RenderSurface and GridLinesPanel
Defines the interface to a , which can be used to extend the interactivity or rendering of the
Defines the interface to a type which receives unified Mouse Events (cross-platform WPF and Silverlight)
Called when a Mouse DoubleClick occurs
Arguments detailing the mouse button operation
Called when a Mouse Button is pressed
Arguments detailing the mouse button operation
Called when the Mouse is moved
Arguments detailing the mouse move operation
Called when a Mouse Button is released
Arguments detailing the mouse button operation
Called when the Mouse Wheel is scrolled
Arguments detailing the mouse wheel operation
Called when the MouseLeave event is fired for a Master of current
Arguments detailing the mouse button operation
Gets or sets whether the mouse target is enabled
Gets or sets a Mouse Event Group, an ID used to share mouse events across multiple targets
Called when the Chart Modifier is attached to the Chart Surface
Called immediately before the Chart Modifier is detached from the Chart Surface
Gets the YAxis instance on the parent with the specified Id
The Id of the axis to get
The Axis instance
Gets whether the mouse point is within the bounds of the hit-testable element. Assumes the mouse-point has not been translated yet (performs translation)
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets or sets the parent to perform operations on
Gets the instance on the parent , which acts as a canvas to place UIElements
Gets the XAxis instance on the parent
Returns the YAxes on the parent
Gets the primary YAxis, this is the first axis in the YAxes collection
Gets modifier name
Gets or sets whether this Chart Modifier is attached to a parent
Gets or sets the DataContext for this Chart Modifier
If true, this can receive handled events. Chart modifiers work similarly to mouse event handlers in WPF and Silverlight. If a modifier
further up the stack receives an event and handles it, then subsequent modifiers do not receive the event. This property overrides this behaviour.
Defines the ReceiveHandledEvents DependencyProperty
Defines the ListenAttachedIsEnabled Attached Property
Defines the ExecuteOn DependencyProperty
Initializes a new instance of the class.
Called when a Mouse DoubleClick occurs on the parent
Arguments detailing the mouse button operation
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Called when the Mouse Wheel is scrolled on the parent
Arguments detailing the mouse wheel operation
Transforms the input point relative to the element. Can be used to transform
points relative to the , or for instance.
The input point
The element to translate points relative to
The output point
Gets whether the mouse point is within the bounds of the hit-testable element. Assumes the mouse-point has not been translated yet (performs translation)
OBSOLETE
Returns value which indicates can modifier receive mouse events or can't
Boolean value
Called when the Chart Modifier is attached to the Chart Surface
Called immediately before the Chart Modifier is detached from the Chart Surface
Called when the parent SciChartSurface is resized
The which contains the event arg data
Called when the parent is rendered
The which contains the event arg data
Sets the Cursor on the parent
Called when the on the parent changes
Called when the DataContext of the changes
Called when the IsEnabled property changes on this instance
Called when the mouse leaves the Master of current
Called when the mouse leaves the parent
Called when the mouse enters the parent
Called when the parent surface SelectedSeries collection changes
Determines whether the currently pressed mouse buttons matches the . Used to
filter events such as zoom or pan on right mouse button
Determines when the executes,
e.g. will cause a zoom extents on mouse double
click of the parent
Gets or sets a value, indicates whether current modifier handles events
which have already been marked as handled
Gets modifier name
Gets if the Left mouse button is currently down
Gets if the Middle mouse button is currently down
Gets of the right mouse button is currently down
Gets or sets a Mouse Event Group, an ID used to share mouse events across multiple targets
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets or sets the parent to perform operations on
The parent surface.
Gets or sets a value indicating whether this element is enabled in the user interface (UI).
true if the element is enabled; otherwise, false. The default value is true.
Defines the YAxisId DependencyProperty
Called when the IsEnabled property changes on this instance
Called when [annotation created].
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Creates an annotation of the specified Type and applies the style to it
The Type of annotation to create
The style to apply to the annotation
The annotation instance
Event raised when an annotation is created
Gets or sets the ID of the Y-Axis which this Annotation is measured against
Gets or sets the type of the annotation to create
The type of the annotation.
value
Gets or sets a to apply to the annotation being created
Gets the newly created
Used to show or hide UIElements based on framework (WPF, Silverlight)
Defines the SnapsToDevicePixels DependencyProperty
Sets the SnapsToDevicePixels attached property on the specified DependencyObject
The DependencyObject
The value of the SnapsToDevicePixels attached property to set
Gets the SnapsToDevicePixels attached property from the specified DependencyObject
The DependencyObject
The value of the SnapsToDevicePixels attached property
Provides an ICommand derived class allowing delegates to be invokved directly on the view model
The Type of the command parameter
Initializes a new instance of the class.
The execute delegate.
Initializes a new instance of the class.
The execute delegate.
The can execute predicate.
Defines the method that determines whether the command can execute in its current state.
Data used by the command. If the command does not require data to be passed, this object can be set to null.
true if this command can be executed; otherwise, false.
Raises the CanExecuteChanged event
Defines the method to be called when the command is invoked.
Data used by the command. If the command does not require data to be passed, this object can be set to null.
Occurs when changes occur that affect whether or not the command should execute.
Provides an ICommand derived class allowing delegates to be invokved directly on the view model
Initializes a new instance of the class.
The execute delegate.
Initializes a new instance of the class.
The execute.
The can execute delegate.
Converts to Visibility.Collapsed if input value is null by default. Can be used with "Inverse" flag
Modifies the source data before passing it to the target for display in the UI.
The source data being passed to the target.
The of data expected by the target dependency property.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the target dependency property.
Modifies the target data before passing it to the source object. This method is called only in bindings.
The target data being passed to the source.
The of data expected by the source object.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the source object.
Converts to Visibility.Collapsed if input string is null or empty
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts from a Color to SolidColorBrush
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts from Axis to its inverse, e.g. Horizontal becomes Vertical and vice versa
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Represents a control that applies a layout transformation to its Content.
From the Silverlight Toolkit http://silverlight.codeplex.com/. (c) Copyright Microsoft Corporation. This source is subject to the Microsoft Public License (Ms-PL).
Preview
Name of the TransformRoot template part.
Name of the Presenter template part.
Acceptable difference between two doubles.
Number of decimals to round the Matrix to.
Identifies the LayoutTransform DependencyProperty.
Root element for performing transformations.
ContentPresenter element for displaying the content.
RenderTransform/MatrixTransform applied to _transformRoot.
Transformation matrix corresponding to _matrixTransform.
Actual DesiredSize of Child element (the value it returned from its MeasureOverride method).
Initializes a new instance of the LayoutTransformer class.
Builds the visual tree for the LayoutTransformer control when a new
template is applied.
Handles changes to the Transform DependencyProperty.
Source of the change.
Event args.
Applies the layout transform on the LayoutTransformer control content.
Only used in advanced scenarios (like animating the LayoutTransform).
Should be used to notify the LayoutTransformer control that some aspect
of its Transform property has changed.
Processes the Transform to determine the corresponding Matrix.
Transform to process.
Walks the Transform(Group) and returns the corresponding Matrix.
Transform(Group) to walk.
Computed Matrix.
Provides the behavior for the "Measure" pass of layout.
The available size that this element can give to child elements.
The size that this element determines it needs during layout, based on its calculations of child element sizes.
Provides the behavior for the "Arrange" pass of layout.
The final area within the parent that this element should use to arrange itself and its children.
The actual size used.
Using the WPF paramater name finalSize instead of Silverlight's finalSize for clarity
Compute the largest usable size (greatest area) after applying the transformation to the specified bounds.
Arrange bounds.
Largest Size possible.
Returns true if Size a is smaller than Size b in either dimension.
Second Size.
First Size.
True if Size a is smaller than Size b in either dimension.
Rounds the non-offset elements of a Matrix to avoid issues due to floating point imprecision.
Matrix to round.
Number of decimal places to round to.
Rounded Matrix.
Implements WPF's Rect.Transform on Silverlight.
Rect to transform.
Matrix to transform with.
Bounding box of transformed Rect.
Implements WPF's Matrix.Multiply on Silverlight.
First matrix.
Second matrix.
Multiplication result.
Implements WPF's Matrix.HasInverse on Silverlight.
Matrix to check for inverse.
True if the Matrix has an inverse.
Outputs diagnostic info if DIAGNOSTICWRITELINE is defined.
Diagnostic message.
Gets or sets the layout transform to apply on the LayoutTransformer
control content.
Corresponds to UIElement.LayoutTransform.
Gets the child element being transformed.
Converts to Visibility.Collapsed if input value is null by default. Can be used with "Inverse" flag
Modifies the source data before passing it to the target for display in the UI.
The source data being passed to the target.
The of data expected by the target dependency property.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the target dependency property.
Modifies the target data before passing it to the source object. This method is called only in bindings.
The target data being passed to the source.
The of data expected by the source object.
An optional parameter to be used in the converter logic.
The culture of the conversion.
The value to be passed to the source object.
Converts from Axis to label rotation angle
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns null, the valid null value is used.
Returns whether the type converter can convert an object from the specified type to the type of this converter.
An object that provides a format context.
The type you want to convert from.
true if this converter can perform the conversion; otherwise, false.
Converts from the specified value to the intended conversion type of the converter.
An object that provides a format context.
The to use as the current culture.
The value to convert to the type of this converter.
The converted value.
Defines attached properties for Canvases
Defines the ClipToBounds DependencyProperty
Gets the ClipToBounds DependencyProperty value
The dependencyObject target
The ClipToBounds property value
Sets the ClipToBounds DependencyProperty value. If true, the canvas clips any child elements to the bounds when rendering.
The dependencyObject target
if set to true clip to bounds.
Rounds using arithmetic (5 rounds up) symmetrical (up is away from zero) rounding
A Decimal number to be rounded.
The number of significant fractional digits (precision) in the return value.
The midpoint rounding mode
The number nearest d with precision equal to decimals. If d is halfway between two numbers, then the nearest whole number away from zero is returned.
Rounds using arithmetic (5 rounds up) symmetrical (up is away from zero) rounding
A double number to be rounded.
The number of significant fractional digits (precision) in the return value.
The midpoint rounding mode
The number nearest d with precision equal to decimals. If d is halfway between two numbers, then the nearest whole number away from zero is returned.
Performs valid convertion from double to int, e.g. if == double.PositiveInfinity, returns int.MaxValue,
if == double.NegativeInfinity, returns int.MinValue
Enumeration constants to define binary searching of lists
Specifies exact search. If the index is not found, -1 is returned.
Specifies the nearest index. This will round up or down if the search is in-between x-values
Rounds down to the nearest index.
Rounds up to the nearest index
Returns true if the point is inside the bounds of the HitTestable, when translated relative to RootGrid
Get the bounds of an element relative to another element.
The element.
The element relative to the other element.
The bounds of the element relative to another element, or null if
the elements are not related.
is null.
is null.
Finds the logical parent of the
The type of parent to find
The FrameworkElement.
Returns a new Point where X and Y components are equivalent to Math.Floor of the input point
The input point, e.g. x=1.242, y=6.336
The Floor'ed point, e.g. x=1, y=6
Returns the substring of the input string which is sandwiched between the Before and After strings
Provides useful extensions for working with the visual tree.
Since many of these extension methods are declared on types like
DependencyObject high up in the class hierarchy, we've placed them in
the Primitives namespace which is less likely to be imported for normal
scenarios.
Experimental
Get the visual tree ancestors of an element.
The element.
The visual tree ancestors of the element.
is null.
Get the visual tree ancestors of an element and the element itself.
The element.
The visual tree ancestors of an element and the element itself.
is null.
Get the visual tree ancestors of an element and the element itself.
The element.
The visual tree ancestors of an element and the element itself.
Get the visual tree children of an element.
The element.
The visual tree children of an element.
is null.
Get the visual tree children of an element and the element itself.
The element.
The visual tree children of an element and the element itself.
is null.
Get the visual tree children of an element and the element itself.
The element.
The visual tree children of an element and the element itself.
Get the visual tree descendants of an element.
The element.
The visual tree descendants of an element.
is null.
Get the visual tree descendants of an element and the element
itself.
The element.
The visual tree descendants of an element and the element itself.
is null.
Get the visual tree descendants of an element and the element
itself.
The element.
The visual tree descendants of an element and the element itself.
Get the visual tree siblings of an element.
The element.
The visual tree siblings of an element.
is null.
Get the visual tree siblings of an element and the element itself.
The element.
The visual tree siblings of an element and the element itself.
is null.
Perform an action when the element's LayoutUpdated event fires.
The element.
The action to perform.
is null.
is null.
Retrieves all the logical children of a framework element using a
breadth-first search. For performance reasons this method manually
manages the stack instead of using recursion.
The parent framework element.
The logical children of the framework element.
Defines the interface to a lightweight Event Aggregator used within SciChart for inter-component communication
Messenger hub responsible for taking subscriptions/publications and delivering of messages.
Subscribe to a message type with the given destination and delivery action.
All references are held with WeakReferences
All messages of this type will be delivered.
Type of message
Action to invoke when message is delivered
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action.
Messages will be delivered via the specified proxy.
All references (apart from the proxy) are held with WeakReferences
All messages of this type will be delivered.
Type of message
Action to invoke when message is delivered
Proxy to use when delivering the messages
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action.
All messages of this type will be delivered.
Type of message
Action to invoke when message is delivered
Use strong references to destination and deliveryAction
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action.
Messages will be delivered via the specified proxy.
All messages of this type will be delivered.
Type of message
Action to invoke when message is delivered
Use strong references to destination and deliveryAction
Proxy to use when delivering the messages
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action with the given filter.
All references are held with WeakReferences
Only messages that "pass" the filter will be delivered.
Type of message
Action to invoke when message is delivered
The message filter.
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action with the given filter.
Messages will be delivered via the specified proxy.
All references (apart from the proxy) are held with WeakReferences
Only messages that "pass" the filter will be delivered.
Type of message
Action to invoke when message is delivered
The message filter.
Proxy to use when delivering the messages
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action with the given filter.
All references are held with WeakReferences
Only messages that "pass" the filter will be delivered.
Type of message
Action to invoke when message is delivered
The message filter.
Use strong references to destination and deliveryAction
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action with the given filter.
Messages will be delivered via the specified proxy.
All references are held with WeakReferences
Only messages that "pass" the filter will be delivered.
Type of message
Action to invoke when message is delivered
The message filter.
Use strong references to destination and deliveryAction
Proxy to use when delivering the messages
TinyMessageSubscription used to unsubscribing
Unsubscribe from a particular message type.
Does not throw an exception if the subscription is not found.
Type of message
Subscription token received from Subscribe
Publish a message to any subscribers
Type of message
Message to deliver
Publish a message to any subscribers asynchronously
Type of message
Message to deliver
Publish a message to any subscribers asynchronously
Type of message
Message to deliver
AsyncCallback called on completion
Base class for automatically logged Event Aggregator messages
Base class for messages that provides weak refrence storage of the sender
A TinyMessage to be published/delivered by TinyMessenger
The sender of the message, or null if not supported by the message implementation.
Store a WeakReference to the sender just in case anyone is daft enough to
keep the message around and prevent the sender from being collected.
Initializes a new instance of the MessageBase class.
Message sender (usually "this")
The sender of the message, or null if not supported by the message implementation.
Initializes a new instance of the MessageBase class.
Message sender (usually "this")
When published, causes the to queue up an asynchronous redraw
Initializes a new instance of the MessageBase class.
Message sender (usually "this")
When published, causes the to zoom to extents and redraw
Initializes a new instance of the MessageBase class.
Message sender (usually "this")
Initializes a new instance of the class.
The sender.
if set to true zooms in the Y-direction only.
If set to true zooms in the Y-direction only.
Published by after the chart surface resizes
Initializes a new instance of the MessageBase class.
Message sender (usually "this")
Published by immediately before the end of a render pass
Initializes a new instance of the class.
The sender.
The render context.
OBSOLETE
Gets the RenderContext
Generic message with user specified content
Content type to store
Create a new instance of the GenericTinyMessage class.
Message sender (usually "this")
Contents of the message
Contents of the message
Basic "cancellable" generic message
Content type to store
Create a new instance of the CancellableGenericTinyMessage class.
Message sender (usually "this")
Contents of the message
Action to call for cancellation
Cancel action
Contents of the message
Represents an active subscription to a message
Initializes a new instance of the TinyMessageSubscriptionToken class.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Represents a message subscription
Whether delivery should be attempted.
Message that may potentially be delivered.
True - ok to send, False - should not attempt to send
Deliver the message
Message to deliver
Token returned to the subscribed to reference this subscription
Message proxy definition.
A message proxy can be used to intercept/alter messages and/or
marshall delivery actions onto a particular thread.
Delivers the specified message.
The message.
The subscription.
Default "pass through" proxy.
Does nothing other than deliver the message.
Delivers the specified message.
The message.
The subscription.
Singleton instance of the proxy.
Thrown when an exceptions occurs while subscribing to a message type
Initializes a new instance of the class.
Type of the message.
The reason.
Initializes a new instance of the class.
Type of the message.
The reason.
The inner exception.
Messenger hub responsible for taking subscriptions/publications and delivering of messages.
Subscribe to a message type with the given destination and delivery action.
All references are held with strong references
All messages of this type will be delivered.
Type of message
Action to invoke when message is delivered
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action.
Messages will be delivered via the specified proxy.
All references (apart from the proxy) are held with strong references
All messages of this type will be delivered.
Type of message
Action to invoke when message is delivered
Proxy to use when delivering the messages
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action.
All messages of this type will be delivered.
Type of message
Action to invoke when message is delivered
Use strong references to destination and deliveryAction
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action.
Messages will be delivered via the specified proxy.
All messages of this type will be delivered.
Type of message
Action to invoke when message is delivered
Use strong references to destination and deliveryAction
Proxy to use when delivering the messages
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action with the given filter.
All references are held with WeakReferences
Only messages that "pass" the filter will be delivered.
Type of message
Action to invoke when message is delivered
The message filter.
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action with the given filter.
Messages will be delivered via the specified proxy.
All references (apart from the proxy) are held with WeakReferences
Only messages that "pass" the filter will be delivered.
Type of message
Action to invoke when message is delivered
The message filter.
Proxy to use when delivering the messages
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action with the given filter.
All references are held with WeakReferences
Only messages that "pass" the filter will be delivered.
Type of message
Action to invoke when message is delivered
The message filter.
Use strong references to destination and deliveryAction
TinyMessageSubscription used to unsubscribing
Subscribe to a message type with the given destination and delivery action with the given filter.
Messages will be delivered via the specified proxy.
All references are held with WeakReferences
Only messages that "pass" the filter will be delivered.
Type of message
Action to invoke when message is delivered
The message filter.
Use strong references to destination and deliveryAction
Proxy to use when delivering the messages
TinyMessageSubscription used to unsubscribing
Unsubscribe from a particular message type.
Does not throw an exception if the subscription is not found.
Type of message
Subscription token received from Subscribe
Publish a message to any subscribers
Type of message
Message to deliver
Publish a message to any subscribers asynchronously
Type of message
Message to deliver
Publish a message to any subscribers asynchronously
Type of message
Message to deliver
AsyncCallback called on completion
Initializes a new instance of the WeakTinyMessageSubscription class.
The subscription token.
The delivery action.
The message filter.
Initializes a new instance of the TinyMessageSubscription class.
The subscription token.
The delivery action.
The message filter.
Contains a collection of Axes and allows getting of axis by Id
Initializes a new instance of the class.
Initializes a new instance of the class.
The collection.
Gets the axis specified by Id, else null
Gets the default axis, which is equal to the axis with the , else null
Returns true if any of the Axes in the collection have set to true
Gets the primary axis in the collection. This is the first that has set to true, or null if none exists.
Provides a ViewModel containing info about chart series, which can be bound to to create Rollover or legends
Initializes a new instance of the class.
Initializes a new instance of the class.
The series infos.
Workaround - used by SciChartLegend items to bind to SciChartLegend.ShowVisibilityCheckboxes. This property is set as a proxy
by the SciChartLegend control itself and data-bound in the themes
Gets or sets a collection of instances
The series info.
Provides a ViewModel containing info about an Xy series, such as name, x, y values, color
Provides a ViewModel containing info about a series, such as name, value, color
Initializes a new instance of the class.
Initializes a new instance of the class.
The that this SeriesInfo represents.
Name of the series.
The X-value of the series.
The Y-value of the series.
Color of the series.
Type of the data series.
Creates a new object that is a copy of the current instance.
A new object that is a copy of this instance.
Gets or sets whether the that this represents is visible or not.
NOTE: Setting this value will show or hide the associated and may be data-bound to
true if this instance is visible; otherwise, false.
Gets or sets the type of the data series.
The type of the data series.
Gets or sets the color of the series.
The color of the series.
Gets or sets the name of the series.
The name of the series.
Gets or sets the Y-value.
The value.
Gets or sets the Y-value.
The value.
Gets or sets the X-value.
The value.
Gets or sets the xy coordinate in pixels of the data-point being inspected
Provides a ViewModel containing info about an OHLC series, such as name, open high low close values, color
Initializes a new instance of the class.
The RenderableSeries instance that this is bound to.
Name of the series.
The x value.
The open value.
The high value.
The low value.
The close value.
Color of the series.
Gets or sets the Open value.
Gets or sets the High value.
Gets or sets the Low value.
Gets or sets the Close value.
Provides a ViewModel containing info about an Xyy series
Initializes a new instance of the class.
The .
Gets or sets value indicates whether this is Up or Down line of the
Gets or sets the Y1 value, which is used in the .
The value.
Gets or sets the xy coordinate in pixels of the data-point being inspected (for series)
Defines a range of type
Abstract base implementation of , used throughout SciChart for visible, data and index range calculations
The typeparameter of the range, e.g.
Defines the generic interface to a Range (Min, Max), used throughout SciChart for visible, data and index range calculations
The Type Parameter, expected types are Double, DateTime etc...
Defines the base interface to a Range (Min, Max), used throughout SciChart for visible, data and index range calculations
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a max range to clip values to, returning this instance after modification
The new Min value.
The new Max value.
The max range, which is used to clip values.
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Returns True if the value is within the Min and Max of the Range
The value to test
True if the value is within the Min and Max of the Range
Gets or sets the Min value of this range
Gets or sets the Max value of this range
Gets whether this Range is defined
Min and Max are not equal to double.NaN, or DateTime.MinValue or DateTime.MaxValue
Gets the difference (Max - Min) of this range
Gets whether the range is Zero, where Max equals Min
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and maxFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Gets or sets the Min value of this range
Gets or sets the Max value of this range
Gets the Diff (Max - Min) of this range
Initializes a new instance of the class.
Initializes a new instance of the class.
The min value.
The max value.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Creates a new object that is a copy of the current instance.
A new object that is a copy of this instance.
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a maximum range limit, returning this instance after modification
The new Min value.
The new Max value.
The max range.
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Returns True if the value is within the Min and Max of the Range
The value to test
True if the value is within the Min and Max of the Range
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a max range to clip values to, returning this instance after modification
The new Min value.
The new Max value.
The max range, which is used to clip values.
This instance, after the operation
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The max fraction.
This instance, after the operation
Compares Min and Max values to determine whether the specified is equal to this instance.
The to compare with the current .
true if the specified is equal to this instance; otherwise, false.
Compares Min and Max values to determine whether the specified is equal to this instance.
The to compare with the current .
true if the specified is equal to this instance; otherwise, false.
Gets whether this Range is defined
Min and Max are not equal to double.NaN, or DateTime.MinValue or DateTime.MaxValue
Gets or sets the Min value of this range
Gets or sets the Max value of this range
Gets the difference (Max - Min) of this range
Gets whether the range is Zero, where Max equals Min
Gets or sets the Min value of this range
Gets or sets the Max value of this range
Gets the Diff (Max - Min) of this range
Initializes a new instance of the class.
Initializes a new instance of the class.
The min.
The max.
Returns a that represents this instance.
A that represents this instance.
Clones this instance.
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a max range to clip values to, returning this instance after modification
The new Min value.
The new Max value.
The max range, which is used to clip values.
This instance, after the operation
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Gets the difference (Max - Min) of this range
Gets whether the range is Zero, where Max equals Min
Defines a range used to specify array indices to another series
Initializes a new instance of the class.
Initializes a new instance of the class.
The min.
The max.
Clones this instance.
Returns a that represents this instance.
A that represents this instance.
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a max range to clip values to, returning this instance after modification
The new Min value.
The new Max value.
The max range, which is used to clip values.
This instance, after the operation
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Gets the Diff (Max - Min) of this range
Gets whether the range is Zero, where Max equals Min
Defines an Int32 Delta, which provides Major and Minor deltas as used in
Defines the Typed interface to a Delta type, which defines Major and Minor deltas as used in
The typeparameter of this Delta, e.g.
Defines the interface to a Delta type, which defines Major and Minor deltas as used in
Gets or sets the Major Delta
Gets or sets the Minor Delta
Gets or sets the Major Delta
Gets or sets the Minor Delta
Initializes a new instance of the class.
Initializes a new instance of the class.
The minor delta.
The major delta.
Clones this instance.
Determines whether the specified is equal to this instance.
The to compare with the current .
true if the specified is equal to this instance; otherwise, false.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
Returns a that represents this instance.
A that represents this instance.
Gets or sets the major delta.
The major delta.
Gets or sets the minor delta.
The minor delta.
Defines a Range of type Int64
Initializes a new instance of the class.
Initializes a new instance of the class.
The min.
The max.
Clones this instance.
Returns a that represents this instance.
A that represents this instance.
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a max range to clip values to, returning this instance after modification
The new Min value.
The new Max value.
The max range, which is used to clip values.
This instance, after the operation
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Gets the Diff (Max - Min) of this range
Gets whether the range is Zero, where Max equals Min
Defines a Range of type Integer
Initializes a new instance of the class.
Initializes a new instance of the class.
The min.
The max.
Clones this instance.
Returns a that represents this instance.
A that represents this instance.
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a max range to clip values to, returning this instance after modification
The new Min value.
The new Max value.
The max range, which is used to clip values.
This instance, after the operation
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Gets the Diff (Max - Min) of this range
Gets whether the range is Zero, where Max equals Min
Defines a range of type
Initializes a new instance of the class.
Initializes a new instance of the class.
The min value.
The max value.
Clones this instance.
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a max range to clip values to, returning this instance after modification
The new Min value.
The new Max value.
The max range, which is used to clip values.
This instance, after the operation
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Gets the difference (Max - Min) of this range
Gets a value indicating whether this instance is zero.
Helper class to instantiate IRange derived types, where strong typing is required underneath but the runtime type of IRange is not known
Creates a new derived instance of the same type as originalRange with the specified Min and Max
The original range to use as a reference
The min value of the new range
The max value of the new range
A new derived instance of the same type as originalRange
Creates a new derived instance of the same type as originalRange with the specified Min and Max, with a Range Limit to clip min, max to.
The original range to use as a reference
The min value of the new range
The max value of the new range
The range limit to clip Min and Max to.
A new derived instance of the same type as originalRange
Creates a new instance of the same type as the min, max range with the specified Min and Max
The min value of the new range
The max value of the new range
A new derived instance of the same type as the input values
Creates a new instance of desired type, setting the min and max value
Type of the range to create, e.g. or .
The min value of the new range
The max value of the new range
A new derived instance of the same type as the input values
Defines the interface to a generically typed series column in a
The underlying type of this
Defines the interface to a series column in a derived type
Gets a value indicating whether this column has any values.
Gets the count of values in this column
Gets the minimum value of the
Gets the maximum value of the
Adds a range of items to the column
The values.
Insert a range of items at the specified index
The index to insert at.
The values.
Remove a range of items starting from the specified index
The index to start removing from
Numbers of point to remove
Constants to define the type of update when the event is raised
The underlying data has changed
The Data Series has been cleared
The DataSeriesSset has been cleared
Event args used by event event
Initializes a new instance of the class.
The data series update type.
Gets the type of Update
Defines enumeration constants for accessing columns in a
The close column
The Y-Axis column
Defines a strongly typed dataset which the can bind to via the property
The X Type parameter, e.g.
The Y Type parameter, e.g.
Specifies the interface to a generically typed
The type of the X-Data.
The type of the Y-Data.
Specifies the interface to a
Types which implement ISuspendable can have updates suspended/resumed. Useful for batch operations
Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued
The disposable Update Suspender
Resumes updates on the target, intended to be called by IUpdateSuspender
Called by IUpdateSuspender each time a target suspender is disposed. When the final
target suspender has been disposed, ResumeUpdates is called
Gets a value indicating whether updates for the target are currently suspended
An optimized getter to return the at the specified index
The index to get at
The instance at this index
Adds the to the Dataset
The to add
Removes the from the DataSet
The to remove
Removes the at the specified index
The index to remove at
Inserts the at the specified index
The index to insert at
The to insert
Clears the DataSet
Aligns the specified to the X-Axis data points
VisibleRanges must be aligned in the X-Axis for correct rendering. This method provides that functionality.
Given a with BaseXValues of 0,1,2,3,4,5,6,7,8,9, passing a VisibleRange of 1.2,7.9 will return an aligned ranve of 1.0,8.0
The input
The output range
Returns True if the passed in is aligned to X-Axis data points
The input range
Throws if the IRange type does not match the base X Series
True if the IRange is aligned to X-Axis
Gets the YRange of the data (min, max of all series) in the integer point range (indices to data points)
The indices to datapoints in each series
The YRange of the data in this window
Triggers a redraw on the parent surface with the specified RangeMode
The specifying how to redraw the parent surface
Event raised whenever a child is updated
Gets the total extents of the DataRange in the Y-Direction for all child
Gets the positive extents of the DataRange in the Y-Direction for all child
Gets the positive extents of the DataRange in the X-Direction for all child
Gets the total extents of the DataRange in the X-Direction for all child
Gets the number of child
Gets the first .XValues in the dataset.
This forms the base X-Values which are used as a marker for all transformations on the X-Axis
Gets whether the first has sorted X-Values.
NOTE: Sorted data allows SciChart to take hold of a host of performance optimizations. If at all possible, try to keep your data sorted
Creates and adds a new Xy to the
The new instance
Will throw if any existing series type is a FIFO series
Creates and adds a new derived type to the .
Using the TypeParam as per the example you can create and add a specific sub-type of dataseries
// Create a new DataSeriesSet
var dataSeriesSet = new DataSeriesSet<DateTime, Double>();
// Create a new XyDataSeries
var xyDataSeries = dataSeriesSet.AddSeries<XyDataSeries<DateTime, double>>();
The new instance
Will throw if any existing series type is a FIFO series
Creates and adds a new FIFO Series with the specified size to the
The size of the FIFO series
Will throw if any existing series type is not a FIFO series
The new instance
Removes which are matched by the predicate
The predicate delegate.
Removes the specified from the IDataSeriesSet
The series.
Gets the count of contained by this IDataSeriesSet
Initializes a new instance of the class.
Determines the index of a specific in the .
The object to locate in the .
The index of if found in the list; otherwise, -1.
Inserts an item to the at the specified index.
The zero-based index at which should be inserted.
The object to insert into the .
is not a valid index in the .
The is read-only.
Inserts the at the specified index
The index to insert at
The to insert
Adds the to the Dataset
The to add
Removes the from the DataSet
The to remove
Removes the item at the specified index.
The zero-based index of the item to remove.
is not a valid index in the .
The is read-only.
Creates and adds a new Xy to the
The new instance
Will throw if any existing series type is a FIFO series
Creates and adds a new derived type to the .
Using the TypeParam as per the example you can create and add a specific sub-type of dataseries
// Create a new DataSeriesSet
var dataSeriesSet = new DataSeriesSet<DateTime, Double>();
// Create a new XyDataSeries
var xyDataSeries = dataSeriesSet.AddSeries<XyDataSeries<DateTime, double>>();
The new instance
Will throw if any existing series type is a FIFO series
Creates and adds a new FIFO Series with the specified size to the
The size of the FIFO series
Will throw if any existing series type is not a FIFO series
The new instance
Removes instances which are matched by the predicate
The predicate delegate.
Removes the specified from the data set
The instance.
Returns an enumerator that iterates through the collection of instances.
A that can be used to iterate through the collection.
Returns an enumerator that iterates through a collection of instances.
An object that can be used to iterate through the collection.
Adds an to the .
The IDataSeries to add to the .
The is read-only.
Adds a collection of instances to the .
The instances to add to the .
The is read-only.
Clears the DataSet
Returns True if the passed in is aligned to X-Axis data points
The input range
True if the IRange is aligned to X-Axis
Throws if the IRange type does not match the base X Series
Gets the Y-Data Range for the given window on the X-Axis.
Input point range defines the indices to the X-Data
the indices to the X-Data
The Y-Data Range in the input X-Range
Triggers a redraw on the parent surface with the specified RangeMode
The specifying how to redraw the parent surface
Aligns the specified to the X-Axis data points
The input
The output range
Given a with BaseXValues of 0,1,2,3,4,5,6,7,8,9, passing a VisibleRange of 1.2,7.9 will return an aligned ranve of 1.0,8.0
Clears the DataSet
Determines whether the contains the IDataSeries
The IDataSeries to locate in the .
true if is found in the ; otherwise, false.
Copies the to an array of type
Removes the first occurrence of a specific object from the .
The object to remove from the .
true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
The is read-only.
An optimized getter to return the at the specified index
The index to get at
The instance at this index
Suspends drawing updates on the target until the returned is disposed, when a final draw call will be issued
The disposable which manages suspension of the target
Resumes updates on the target, intended to be called by IUpdateSuspender
Called by each time a target suspender is disposed. When the final
target suspender has been disposed, ResumeUpdates is called
Raises the event.
The instance containing the event data.
Returns an enumerator that iterates through the collection of series
A that can be used to iterate through the collection.
Event raised whenever a child is updated
Gets or sets the inner collection of
The inner series.
Gets or sets the element at the specified index.
The element at the specified index.
is not a valid index in the .
The property is set and the is read-only.
Gets the first .XValues in the dataset.
This forms the base X-Values which are used as a marker for all transformations on the X-Axis
Gets whether the first has sorted X-Values.
NOTE: Sorted data allows SciChart to take hold of a host of performance optimizations. If at all possible, try to keep your data sorted
Gets the count of child
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false.
Gets the total extents of the DataRange in the X-Direction for all child
Gets the total extents of the DataRange in the Y-Direction for all child
Gets the positive extents of the DataRange in the Y-Direction for all child
Gets the positive extents of the DataRange in the Y-Direction for all child
Gets a value indicating whether updates for the target are currently suspended
Enumeration constants to define the Type of
The contains Xy data
The contains OHLC data
The contains Xyy data
Defines a Range of Type DateTime
Initializes a new instance of the class.
Initializes a new instance of the class.
The min.
The max.
Returns a that represents this instance.
A that represents this instance.
Clones this instance.
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a maximum range limit, returning this instance after modification
The new Min value.
The new Max value.
The max range.
This instance, after the operation
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Gets the difference (Max - Min) of this range
Gets whether the range is Zero, where Max equals Min
Defines a Double Delta, which provides Major and Minor deltas as used in
Initializes a new instance of the class.
Initializes a new instance of the class.
The minor delta.
The major delta.
Clones this instance.
Determines whether the specified is equal to this instance.
The to compare with the current .
true if the specified is equal to this instance; otherwise, false.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
Returns a that represents this instance.
A that represents this instance.
Gets or sets the major delta.
The major delta.
Gets or sets the minor delta.
The minor delta.
Defines a range of type
Initializes a new instance of the class.
Initializes a new instance of the class.
The min.
The max.
Returns a that represents this instance.
A that represents this instance.
Clones this instance.
Converts this range to a , which are used internally for calculations
For numeric ranges, the conversion is simple. For instances, returns a new with the Min and Max Ticks
Sets the Min, Max values on the , returning this instance after modification
The new Min value.
The new Max value.
This instance, after the operation
Sets the Min, Max values on the with a max range to clip values to, returning this instance after modification
The new Min value.
The new Max value.
The max range, which is used to clip values.
This instance, after the operation
Grows the current by the min and max fraction, returning this instance after modification
The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
The Max fraction to grow by. For example, Max = 10 and minFraction = 0.2 will result in the new Max = 12
This instance, after the operation
Clips the current to a maxmimum range
The Maximum Range
This instance, after the operation
Gets the difference (Max - Min) of this range
Gets whether the range is Zero, where Max equals Min
Defines the interface to a 2D point
Gets the X-Value
Gets the Y-value
Defines enumeration constants for a programmatic redraw of the parent
Perform no ranging, just redraw
Perform full X and Y ranging on redraw
Perform just Y ranging on redraw
Defines the interface to a Point Series, a subset of X,Y data used to render points to the screen
Gets the min, max range in the Y-Direction
A defining the min, max in the Y-direction
Gets the count of the PointSeries
Gets the at the specified index.
Defines the interface to an OHLC DataSeries, a series containing Open, High, Low, Close data-points
Gets the Open Values of this DataSeries as a List of
Gets the High Values of this DataSeries as a List of
Gets the Low Values of this DataSeries as a List of
Gets the Close Values of this DataSeries as a List of
Close equates to Y Values in either OHLC or simple XY dataseries
Defines the typed interface to an OHLC DataSeries, a series containing Open, High, Low, Close data-points
Appends an Open, High, Low, Close point to the series
The X value
The Open value
The High value
The Low value
The Close value
Appends a list of Open, High, Low, Close points to the series
The list of X values
The list of Open values
The list of High values
The list of Low values
The list of Close values
Updates an Open, High, Low, Close point specified by the X-Value passed in.
The X Value to key on when updating
The Open value
The High value
The Low value
The Close value
Thrown if the x value is not in the DataSeries
Inserts an Open, High, Low, Close point at the specified index
The index to insert at
The X value
The Open value
The High value
The low value
The close value
Inserts a list of Open, High, Low, Close points at the specified index
The index to insert at
The list of X values
The list of Open values
The list of High values
The list of Low values
The list of Close values
Gets the Open Values of this DataSeries, if the data is OHLC
Gets the High Values of this DataSeries, if the data is OHLC
Gets the Low Values of this DataSeries, if the data is OHLC
Gets the Close Values of this DataSeries, if the data is OHLC
Close equates to Y Values in either OHLC or simple XY dataseries
Defines the interface to a Series Point, an internally used structure which contains transformed points to render Y-values on the
The Type of the Y-Values
Gets the maximum of this . In the case of an this would be the High value
Gets the minimum of this . In the case of an this would be the Low value
Gets the default Y-value of this . In the case of an this would be the Close value
A DataSeries to store OHLC data-points, containing X and Y-Open, Y-High, Y-Low, Y-Close values.
May be used as a DataSource for and as well as standard XY renderable series types
Initializes a new instance of the class.
When overridden in a derived class, returns a struct containing data about the data-point at the specified index
The index to the DataSeries
The HitTestInfo
When overridden in a derived class, clears all columns in the Data Series
Removes the X,Y values at the specified index
The index to remove at
Removes a range of points starting from the specified index
Starting index of the range of elements to remove
The number of elements to remove
Creates a deep copy of a DataSeries
Converts the default to an which is used to render XY series
The desired
The integer Indices range in the parent data-set
The current width of the viewport
If true, uses the indices to form the resampled X-values, else uses the X-Values themselves
A which is used to render XY series
Appends an Open, High, Low, Close point to the series
The X value
The Open value
The High value
The Low value
The Close value
Appends a list of Open, High, Low, Close points to the series
The list of X values
The list of Open values
The list of High values
The list of Low values
The list of Close values
Updates an Open, High, Low, Close point specified by the X-Value passed in.
The X Value to key on when updating
The Open value
The High value
The Low value
The Close value
Thrown if the x value is not in the DataSeries
Inserts an Open, High, Low, Close point at the specified index
The index to insert at
The X value
The Open value
The High value
The low value
The close value
Inserts a list of Open, High, Low, Close points at the specified index
The index to insert at
The list of X values
The list of Open values
The list of High values
The list of Low values
The list of Close values
When overriden in a derived class, gets the Max(existingYMax, currentMax), where currentMax is the maximum at the specified index
The index to the underlying dataset
The existing maximum
The new YMax, which is the Min(existingYMax, currentMax)
When overriden in a derived class, gets the Min(existingYMin, currentMin), where currentMin is the minimum at the specified index
The index to the underlying dataset
The existing minimum
The new YMin, which is the Min(existingYMin, currentMin)
Gets whether the Data Series has values (is not empty)
Gets the for this DataSeries
Gets the Open Values of this DataSeries
Gets the High Values of this DataSeries as a List of
Gets the Low Values of this DataSeries as a List of
Gets the Close Values of this DataSeries as a List of
Close equates to Y Values in either OHLC or simple XY dataseries
Gets the Open Values of this DataSeries, if the data is OHLC
Gets the High Values of this DataSeries, if the data is OHLC
Gets the Low Values of this DataSeries, if the data is OHLC
Gets the Close Values of this DataSeries, if the data is OHLC
Close equates to Y Values in either OHLC or simple XY dataseries
A structure to contain OHLC series point values for the Y-Axis only
Initializes a new instance of the struct.
The open value.
The high value.
The low value.
The close value.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare with this instance.
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than . Zero This instance is equal to . Greater than zero This instance is greater than .
Gets the open value
Gets the high value
Gets the low value
Gets the close value
Gets the maximum of this . In the case of an this would be the High value
Gets the minimum of this . In the case of an this would be the Low value
Gets the default Y-value of this . In the case of an this would be the Close value
A struct representing a 2D point
Initializes a new instance of the struct.
The x value.
The y value.
Gets the X value
Gets the Y value
Defines a PointSeries, a subset of X,Y data used to render points to the screen
Initializes a new instance of the class.
The capacity.
Gets the min, max range in the Y-Direction
A defining the min, max in the Y-direction
Implementation of generic list, same as .NET Framework version however we expose the inner array
for direct manipulation of the array. Tests show this to be around 4x faster than accessing via the indexed
property
Adds an object to the end of the .
The object to be added to the end of the . The value can be null for reference types.
Event args used by event event
Initializes a new instance of the class.
Initializes a new instance of the class.
The update.
Initializes a new instance of the class.
The requested ranging mode.
Gets the requested on redraw
Gets the data series update type
A DataSeries to store Xyy data-points, containing X and Y0, Y1 values
May be used as a DataSource for as well as standard XY renderable series types
Initializes a new instance of the class.
Removes the X,Y values at the specified index
The index to remove at
Removes a range of points starting from the specified index
Starting index of the range of elements to remove
The number of elements to remove
Creates a deep copy of a DataSeries
When overriden in a derived class, gets the Min(existingYMin, currentMin), where currentMin is the minimum at the specified index
The index to the underlying dataset
The existing minimum
The new YMin, which is the Min(existingYMin, currentMin)
When overriden in a derived class, gets the Max(existingYMax, currentMax), where currentMax is the maximum at the specified index
The index to the underlying dataset
The existing maximum
The new YMax, which is the Min(existingYMax, currentMax)
Converts the default to an which is used to render XY series
The desired
The integer Indices range in the parent data-set
The current width of the viewport
If true, uses the indices to form the resampled X-values, else uses the X-Values themselves
A which is used to render XY series
When overridden in a derived class, returns a struct containing data about the data-point at the specified index
The index to the DataSeries
The HitTestInfo
When overridden in a derived class, clears all columns in the Data Series
Appends a single X, Y0, Y1 point to the series, automatically triggering a redraw
The X-value
The Y0-value
The Y1-value
Appends a collection of X, Y0 and Y1 points to the series, automatically triggering a redraw
The X-values
The Y0-values
The Y1-values
Updates (overwrites) the Y0, Y1 values at the specified X-value. Automatically triggers a redraw
The X-value
The Y0-value
The Y1-value
Inserts an X, Y0, Y1 point at the specified index. Automatically triggers a redraw
The index to insert at
The X-value
The Y0-value
The Y1-value
Inserts a collection of X, Y0 and Y1 points at the specified index, automatically triggering a redraw
The index to insert at
The X-values
The Y0-values
The Y1-values
Gets the for this DataSeries
Gets the Y1 Values as a list of
Gets the Y1 values
Gets whether the Data Series has values (is not empty)
A structure to contain Xyy series point values for the Y-Axis only
Initializes a new instance of the struct.
The y0 value.
The y1 value.
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
An object to compare with this instance.
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than . Zero This instance is equal to . Greater than zero This instance is greater than .
Gets the Y0 value of the Xyy point
Gets the Y1 value of the Xyy point
Gets the maximum of this . In the case of an this would be the High value
Gets the minimum of this . In the case of an this would be the Low value
Gets the default Y-value of this . In the case of an this would be the Y0 value.
Defines a TimeSpan Delta, which provides Major and Minor deltas as used in
Initializes a new instance of the class.
Initializes a new instance of the class.
The minor delta.
The major delta.
Clones this instance.
Determines whether the specified is equal to this instance.
The to compare with the current .
true if the specified is equal to this instance; otherwise, false.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
Returns a that represents this instance.
A that represents this instance.
Gets or sets the major delta.
The major delta.
Gets or sets the minor delta.
The minor delta.
Specifies actions that cause cursor tooltip to be shown
Show tooltip always
Show tooltip when mouse left button is pressed
Show tooltip when mouse right button is pressed
Show tooltip when mouse middle button is pressed
The CursorModifier provides a cross-hairs (cursor) plus tooltip with X,Y data values under the mouse as the mouse moves.
Add to a and set IsEnabled to true to enable this behaviour
Defines the CrosshairsStyle DependencyProperty
Defines the CursorLabelTemplate DependencyProperty
Defines the ShowAxisLabels DependencyProperty
Defines the ShowTooltip DependencyProperty
Defines the ShowTooltipOn DependencyProperty
Defines the AxisLabelTemplate DependencyProperty
Defines the SeriesData Dependency property which you may bind to in your applications to show cursor updates on mouse-move
Initializes a new instance of the class.
Called when the Chart Modifier is attached to the Chart Surface
Called immediately before the Chart Modifier is detached from the Chart Surface
Called when the IsEnabled property changes on this instance
Called when the mouse leaves the parent
Called when the mouse enters the parent
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when the parent is rendered
The which contains the event arg data
Performs a hit-test on the XAxis and returns the struct
The mouse-point to hit-test at
the struct containing hit-test data
Performs a hit-test on all axes and aggregates data into the collection
Provides a collection of structs, which may be data-bound to in the UI defined by the Control template
Provides an object, which may be data-bound to
Provides an object, which may be data-bound to
Gets or sets the style applied to the Crosshairs (TargetType=Line)
The crosshairs style.
Gets or sets the ControlTemplate used for the cursor tooltip
The cursor label template.
Gets or sets value, indicates whether show labels on axes or not
Gets or sets value, indicates whether show cursor tooltip or not
Gets or sets the AxisLabelTemplate used for the labels on axes
The axis label template.
Gets or sets option which determines when cursor tooltip should be shown
Gets or sets the which may be bound to, to provide feedback to the user of cursor updates
The series data.
Provides a base class for Linked Chart Modifiers. Classes that inherit this allow mouse events and interaction to occur across Chart Panes
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse DoubleClick occurs on the parent
Arguments detailing the mouse button operation
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Called when the Mouse Wheel is scrolled
Arguments detailing the mouse wheel operation
Allows a collection of modifiers to be set on the property. Child modifiers are stored in the
collection, which is backed by a DependencyProperty so may be bound to in Xaml.
Defines the ChildModifiers DependencyProperty
Initializes a new instance of the class.
Initializes a new instance of the class.
The child modifier collection.
Called when the Chart Modifier is attached to the Chart Surface
Called immediately before the Chart Modifier is detached from the Chart Surface
Called when the IsEnabled property changes on this instance
Called when a Mouse DoubleClick occurs on the parent
Arguments detailing the mouse button operation
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Called when the Mouse Wheel is scrolled on the parent
Arguments detailing the mouse wheel operation
Determines whether the current has a child modifier of the desired type
The type of child modifier to search for
true if the current has a chlid modifier by this type; otherwise, false.
Called when the DataContext of the changes
The sender.
The instance containing the event data.
Gets or sets a collection of child modifiers in this group
The child modifiers.
Gets the with the specified name.
The .
The name.
Gets the at the specified index.
The .
The index.
Defines a cross-platform Mouse event args, used by derived types to process mouse events
Initializes a new instance of the class.
Initializes a new instance of the class.
The mouse point that this event occurred at relative to the .
The mouse buttons clicked.
The modifier key pressed.
If True, then this mouse event occurred on a master .
Used to process which modifier was the source of an event when multiple modifiers are linked
Initializes a new instance of the class.
The mouse point that this event occurred at relative to the .
The mouse buttons clicked.
The modifier key pressed.
The mouse wheel delta.
If True, then this mouse event occurred on a master .
Used to process which modifier was the source of an event when multiple modifiers are linked
If True, then this mouse event occurred on a master .
Used to process which modifier was the source of an event when multiple modifiers are linked
Gets or sets the mouse wheel delta
Gets or sets the mouse point that this event occurred at
Gets or sets the MouseButtons that were pressed at the time of the event
Gets or sets the Modifier Key that was pressed at the time of the event
Gets or sets whether this event is Handled. If true, no further modifiers will be informed of the mouse event and mouse events will cease bubbling and tunnelling
In the case where e.Master is true, this returns the instance of the master chart modifier
Specifies the Modifier button pressed at the time of a mouse operation
No modifiers were pressed
The SHIFT button was pressed
The CTRL button was pressed
The ALT button was pressed
Specifies the MouseButtons pressed at the time of a mouse operation
No buttons were pressed
The LEFT button was pressed
The MIDDLE button was pressed
The RIGHT button was pressed
The provides zooming (or shrinking) of the on mouse wheel scroll
Add to a and set IsEnabled to true to enable this behaviour
Defines the XyDirection DependencyProperty
Defines the ActionType DependencyProperty
Initializes a new instance of the class.
Called when the Mouse Wheel is scrolled on the parent
Arguments detailing the mouse wheel operation
Gets or sets the to restrict mouse-wheel interactivity to
Gets or sets the to perform on mouse-wheel interaction
Gets or sets the grow factor to scale (or shrink) both axes on mouse wheel
The grow factor.
The can be attached to consume mouse events but perform no action
The provides a mouse-over hit-test to a chart, plus a collection of objects to bind to which updates as the mouse moves.
Add to a and set IsEnabled to true to enable this behaviour
Defines the RolloverData Dependency property which you may bind to in your applications to show Rollover updates on mouse-move
Defines the DrawVerticalLine DependencyProperty
Defines the VerticalLineStyle DependencyProperty
Defines the RolloverMode DependencyProperty
Defines the RolloverLabelTemplate DependencyProperty
Defines the UseInterpolation DependencyProperty
Defines the RolloverLabelTemplateSelector DependencyProperty
Defines the RolloverLabel Attached Property, which can be attached to point marker
Initializes a new instance of the class.
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when the parent is rendered
The which contains the event arg data
Called when the mouse leaves the parent
Called immediately before the Chart Modifier is detached from the Chart Surface
Called when the IsEnabled property changes on this instance
Called when the parent surface SelectedSeries collection changes
Creates the RolloverLabel from passed DataTemplate. If parameter is Null, creates the RolloverLabel from
Gets or sets whether the rollover action should use interpolation
Gets or sets type of series on which Rollover is drawn
Gets or sets whether a Vertical Line should be drawn at the rollover location
Gets or sets the Vertical Line Style (TargetType=). Only applied if is true
Gets or sets the ControlTemplate used for the rollover tooltip
The rollover label template.
Gets or sets the which may be bound to, to provide feedback to the user of rollover updates
The rollover data.
Gets or sets instance of which is used by modifier
Defines constants for different series sources in
The uses All Series as inputs
The uses Selected series as inputs
The uses Unselected series as inputs
The provides a mouse drag to zoom into a rectangular region, or horizontal section of the chart.
Add to a and set IsEnabled to true to enable this behaviour
Defines the IsAnimated DependencyProperty
Defines the RubberBandFill dependency property
Defines the RubberBandStroke dependency property
Defines the RubberBandStrokeDashArray dependency property
Defines the IsXAxisOnly dependency property
Defines the ZoomExtentsY DependencyProperty
Initializes a new instance of the class.
Called when the Chart Modifier is attached to the Chart Surface
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Gets or sets a value indicating whether to fit to the Y-Axis on zoom
Gets or sets whether zoom operations should be animated. Default true
Gets or sets whether the RubberBand should zoom the X-Axis only.
If true, then the effect will be instead of a rectangle drawn under the mouse, an horizontal section of the
entire chart will be selected
If true, zooms to extents on the Y-Axis on each zoom operation. Use in conjuction with to achieve different zooming effects
Gets or sets the Fill brush of the recticule drawn on the screen as the user zooms
Gets or sets the StrokeDashArray, used to set a dashed outline for the rubber band rectangle.
See the property for usage
Gets or sets the Stroke brush of the recticule drawn on the screen as the user zooms
Gets whether the user is currently dragging the mouse
Enumeration constants to specify which series to get legend data for
Gets and exposes legend data for All Series on the parent
Gets and exposes legend data for all Visible series on the parent
Gets and exposes legend data for Selected Series on the parent
Defines a custom chart modifier to provide info for the
Defines the LegendData Dependency property
Defines the GetLegendDataFor Dependency Property
Initializes a new instance of the class.
Called when the parent is rendered
The which contains the event arg data
Refreshes the legend with up-to-date with series names, latest values
Gets or sets the which may be bound to
Gets or sets an enumeration constant defining which series to interrogate for the legend data source
Provides the ability to select series via a Chart Modifier
Defines the SelectedRenderableSeries DependencyProperty
Defines the SelectedSelectedSeriesStyle DependencyProperty
Called when the Chart Modifier is attached to the Chart Surface
Called when the parent surface SelectedSeries collection changes
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Event raised when the selection changes
Gets or sets a style for selected series.
The style of the selected series.
The provides a mouse drag to scale the X-Axis.
This behaviour scales the axis in a different direction depending on which half of the axis the user starts the operation in
Add to a and set IsEnabled to true to enable this behaviour
Defines the ClipToExtentsX Dependency Property
Gets the start mouse-point of any drag operation
If true, the operation began in the second half of the axis
Gets the Start before the operation began
Called when the Chart Modifier is attached to the Chart Surface
Called immediately before the Chart Modifier is detached from the Chart Surface
Called when the IsEnabled property changes on this instance
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Gets whether the specified mouse point is within the second (rightmost) half of the Axis bounds
The mouse point.
The axis bounds.
True if the point is within the second half of the axis bounds, else false
Performs the range operation, taking the start point, the current point and whether the operation started in the first or second half of the axis
The current mouse point
The last mouse point
The start mouse point
If true, the mouse operation started in the second half of the axis
Defines how panning behaves when you reach the edge of the X-Axis extents.
e.g. ClipMode.ClipAtExtents prevents panning outside of the X-Axis, ClipMode.None allows panning outside
Gets a value indicating whether the user is currently dragging the axis
The provides a mouse drag to scale the Y-Axis.
This behaviour scales the axis in a different direction depending on which half of the axis the user starts the operation in
Add to a and set IsEnabled to true to enable this behaviour
Defines the ExecuteOn DependencyProperty
Called when the Chart Modifier is attached to the Chart Surface
Called immediately before the Chart Modifier is detached from the Chart Surface
Called when the IsEnabled property changes on this instance
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Gets whether the specified mouse point is within the top-most half of the Axis bounds
The mouse point.
The axis bounds.
True if the point is within the top-most half of the axis bounds, else false
Defines which YAxis to bind the YAxisDragModifier to, matching by string Id
Gets or sets the DragMode of the . This modifier may be used to scale the using ,
scale the using (may be used when AutoRange=true),
or pan the creating a scrolling or vertical pan effect.
Gets whether the user is currently dragging the Axis
OBSOLETE
Defines constants for when a operation occurs
Execute on MouseRightButton
Execute on MouseRightButton
Execute on MouseRightButton
Execute on MouseDoubleClick
Execute on MouseRightButtonUp
Provides zoom to extents, or zoom to specific X and Y VisibleRange on mouse interaction
The following example will create a modifier which zooms to extents on Mouse Double Click
ZoomExtentsModifier z = new ZoomExtentsModifier();
z.ExecuteOn = ExecuteOn.MouseDoubleClick;
Defines the IsAnimated DependencyProperty
Defines the XyDirection dependency property
Initializes a new instance of the class.
Called when a Mouse DoubleClick occurs on the parent
Arguments detailing the mouse button operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Defines the direction of the ZoomPanModifier
Gets or sets whether zoom operations should be animated. Default true
The provides a mouse drag to pan the X and Y axes.
Add to a and set IsEnabled to true to enable this behaviour
Defines the XyDirection dependency property
Defines the ZoomExtentsY DependencyProperty
Defines the ClipToExtentsX Dependency Property
Initializes a new instance of the class.
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Defines the direction of the ZoomPanModifier
If true, zooms to extents on the Y-Axis on each zoom operation when panning in X-Direction only. Use in conjuction with to achieve different zooming effects
Defines how panning behaves when you reach the edge of the X-Axis extents.
e.g. ClipMode.ClipAtExtents prevents panning outside of the X-Axis, ClipMode.None allows panning outside
Gets whether the user is currently dragging the chart
Defines the interface to a specific ICoordinateCalculator, to convert from pixel coordinate to index to data value and back
Using pre-computed constants, types which implement ICoordinateCalculator can convert from pixel coordinate to data value and back
The type of the underlying data to convert
Transforms the DateTime data value into a pixel coordinate
The DateTime data value
The pixel coordinate
Transforms a data value into a pixel coordinate
The data value
The pixel coordinate
Transforms a pixel coordinate into a data value
The pixel coordinate
The data value
Translates the min and max of the input range by the specified data value. Specific implementations of such as
, and will treat this differently
The number of pixels to translate by. InputRange min and max will be translated by this positive or negative amount
The input to translate
A new instance of with the translation applied
Gets a value indicating whether this is a category axis coordinate calculator
Takes an integer index (or point number) to the underlying data and transforms to the data value on the axis.
e.g. if the axis is a CategoryDateTimeAxis, accepts index, returns DateTime.
If the index lies outside of the data-range, a projection is performed
The index to the underlying data series
The data value
Takes a DateTime data-value and transforms to integer index on the axis
e.g. if the axis is a CategoryDateTimeAxis, accepts DateTime, returns index.
If the DateTime lies outside of the data-range, a projection is performed
The data value
The index to the underlying data series
Takes a DateTime data-value and transforms to integer index on the axis
e.g. if the axis is a CategoryDateTimeAxis, accepts DateTime, returns index.
If the DateTime lies outside of the data-range, a projection is performed
The data value
Indicates a way in wich to look for the
The index to the underlying data series or -1 if and the doesn't exist.
Given a date tick range with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for major ticks
Given a date tick range with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for major ticks
Given an absolute Axis Min and Max, returns a TickRange instance containing sensible MinorDelta and MajorDelta values
Given a double tick range with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for major ticks
Given a tickRange with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for minor ticks
Returns true if a dataset with the specified index range requires point reduction on the given viewport size
Sets a new ResamplingMode on the IPointsResampler
Reduces the input points using the current ResamplingMode and Resolution
Reduces the input points using the current ResamplingMode and Resolution
Gets the current resolution. This must be greater than equal to 2 and the higher the number, the larger the reduced datasets
Gets the current Resampling Mode.
Defines the ResamplingMode used by a
Do not use resampling when redrawing a series
Resample by taking the min-max of oversampled data. This results in the most visually accurate resampling, with the most performant rendering
Resample by taking the median point of oversampled data
Resample by taking the maximum point of oversampled data
Resample by taking the minimum point of oversampled data
Resample by taking the minimum data-set to accurately represent the original points without incurring aliasing or other artifacts
Returns a "nice" number approximately equal to the range bounds.
Rounds the number if round = true.
Takes the ceiling if round = false
Creates a new PointResampler instance
The resolution constant, must be 2 or more. The higher resolution means larger datasets after resampling (which results in cleaner but slower rendering)
Used internally by SciChart. Defines the interface to the coordinate calculator factor, which creates an appropriate coordinate calculator for the passed in
Creates a new
The instance containing axis data
The Coordinate calculator instance
Creates a new
The instance containing axis data
The Coordinate calculator instance
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Defines the interface to a 2D Brush used to paint fills on the
Gets the of the brush. Supports transparency
Gets the integer representation of the Color, used by the renderer
Gets whether fills painted with this burhs should be alpha blended or not
Defines the interface to a 2D pen, used to draw lines on the
Gets the stroke thickness
Gets if antialiasing should be used
Gets the color of the pen. Supports transparency
Used internally by the renderer, gets the integer color-code that represents the Pen color
On Dispose of a BitmapContext, do not Invalidate
On Dispose of a BitmapContext, invalidate the bitmap
A disposable cross-platform wrapper around a WriteableBitmap, allowing a common API for Silverlight " WPF with locking " unlocking if necessary
Attempting to put as many preprocessor hacks in this file, to keep the rest of the codebase relatively clean
Creates an instance of a BitmapContext, with default mode = ReadWrite
Creates an instance of a BitmapContext, with specified ReadWriteMode
Performs a Copy operation from source Bto destination BitmapContext
Equivalent to calling Buffer.BlockCopy in Silverlight, or native memcpy in WPF
Performs a Copy operation from source Array to destination BitmapContext
Equivalent to calling Buffer.BlockCopy in Silverlight, or native memcpy in WPF
Performs a Copy operation from source Array to destination BitmapContext
Equivalent to calling Buffer.BlockCopy in Silverlight, or native memcpy in WPF
Performs a Copy operation from source BitmapContext to destination Array
Equivalent to calling Buffer.BlockCopy in Silverlight, or native memcpy in WPF
Performs a Copy operation from source BitmapContext to destination Array
Equivalent to calling Buffer.BlockCopy in Silverlight, or native memcpy in WPF
Clears the BitmapContext, filling the underlying bitmap with zeros
Disposes the BitmapContext, unlocking it and invalidating if WPF
Cross-platform factory for WriteableBitmaps
Creates a new WriteableBitmap of the specified width and height
For WPF the default DPI is 96x96 and PixelFormat is BGRA32
Collection of draw extension methods for the Silverlight WriteableBitmap class.
Collection of draw extension methods for the Silverlight WriteableBitmap class.
Collection of blit (copy) extension methods for the Silverlight WriteableBitmap class.
Collection of interchange extension methods for the Silverlight WriteableBitmap class.
Collection of draw extension methods for the Silverlight WriteableBitmap class.
Collection of filter / convolution extension methods for the Silverlight WriteableBitmap class.
Collection of draw extension methods for the Silverlight WriteableBitmap class.
Collection of draw spline extension methods for the Silverlight WriteableBitmap class.
Collection of transformation extension methods for the Silverlight WriteableBitmap class.
Bitfields used to partition the space into 9 regiond
Fills the whole WriteableBitmap with a color.
The WriteableBitmap.
The color used for filling.
Fills the whole WriteableBitmap with an empty color (0).
The WriteableBitmap.
Clones the specified WriteableBitmap.
The WriteableBitmap.
A copy of the WriteableBitmap.
Applies the given function to all the pixels of the bitmap in
order to set their color.
The WriteableBitmap.
The function to apply. With parameters x, y and a color as a result
Applies the given function to all the pixels of the bitmap in
order to set their color.
The WriteableBitmap.
The function to apply. With parameters x, y, source color and a color as a result
Gets the color of the pixel at the x, y coordinate as integer.
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The x coordinate of the pixel.
The y coordinate of the pixel.
The color of the pixel at x, y.
Gets the color of the pixel at the x, y coordinate as a Color struct.
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The x coordinate of the pixel.
The y coordinate of the pixel.
The color of the pixel at x, y as a Color struct.
Gets the brightness / luminance of the pixel at the x, y coordinate as byte.
The WriteableBitmap.
The x coordinate of the pixel.
The y coordinate of the pixel.
The brightness of the pixel at x, y.
Sets the color of the pixel using a precalculated index (faster).
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The coordinate index.
The red value of the color.
The green value of the color.
The blue value of the color.
Sets the color of the pixel.
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The x coordinate (row).
The y coordinate (column).
The red value of the color.
The green value of the color.
The blue value of the color.
Sets the color of the pixel including the alpha value and using a precalculated index (faster).
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The coordinate index.
The alpha value of the color.
The red value of the color.
The green value of the color.
The blue value of the color.
Sets the color of the pixel including the alpha value.
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The x coordinate (row).
The y coordinate (column).
The alpha value of the color.
The red value of the color.
The green value of the color.
The blue value of the color.
Sets the color of the pixel using a precalculated index (faster).
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The coordinate index.
The color.
Sets the color of the pixel.
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The x coordinate (row).
The y coordinate (column).
The color.
Sets the color of the pixel using an extra alpha value and a precalculated index (faster).
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The coordinate index.
The alpha value of the color.
The color.
Sets the color of the pixel using an extra alpha value.
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The x coordinate (row).
The y coordinate (column).
The alpha value of the color.
The color.
Sets the color of the pixel using a precalculated index (faster).
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The coordinate index.
The color.
Sets the color of the pixel.
For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
The WriteableBitmap.
The x coordinate (row).
The y coordinate (column).
The color.
Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
The destination WriteableBitmap.
The rectangle that defines the destination region.
The source WriteableBitmap.
The rectangle that will be copied from the source to the destination.
The blending mode .
Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
The destination WriteableBitmap.
The rectangle that defines the destination region.
The source WriteableBitmap.
The rectangle that will be copied from the source to the destination.
Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
The destination WriteableBitmap.
The destination position in the destination bitmap.
The source WriteableBitmap.
The rectangle that will be copied from the source to the destination.
If not Colors.White, will tint the source image. A partially transparent color and the image will be drawn partially transparent.
The blending mode .
Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
The destination WriteableBitmap.
The rectangle that defines the destination region.
The source WriteableBitmap.
The rectangle that will be copied from the source to the destination.
If not Colors.White, will tint the source image. A partially transparent color and the image will be drawn partially transparent. If the BlendMode is ColorKeying, this color will be used as color key to mask all pixels with this value out.
The blending mode .
Copies the Pixels from the WriteableBitmap into a ARGB byte array starting at a specific Pixels index.
The WriteableBitmap.
The starting Pixels index.
The number of Pixels to copy, -1 for all
The color buffer as byte ARGB values.
Copies the Pixels from the WriteableBitmap into a ARGB byte array.
The WriteableBitmap.
The number of pixels to copy.
The color buffer as byte ARGB values.
Copies all the Pixels from the WriteableBitmap into a ARGB byte array.
The WriteableBitmap.
The color buffer as byte ARGB values.
Copies color information from an ARGB byte array into this WriteableBitmap starting at a specific buffer index.
The WriteableBitmap.
The starting index in the buffer.
The number of bytes to copy from the buffer.
The color buffer as byte ARGB values.
The WriteableBitmap that was passed as parameter.
Copies color information from an ARGB byte array into this WriteableBitmap.
The WriteableBitmap.
The number of bytes to copy from the buffer.
The color buffer as byte ARGB values.
The WriteableBitmap that was passed as parameter.
Copies all the color information from an ARGB byte array into this WriteableBitmap.
The WriteableBitmap.
The color buffer as byte ARGB values.
The WriteableBitmap that was passed as parameter.
Writes the WriteableBitmap as a TGA image to a stream.
Used with permission from Nokola: http://nokola.com/blog/post/2010/01/21/Quick-and-Dirty-Output-of-WriteableBitmap-as-TGA-Image.aspx
The WriteableBitmap.
The destination stream.
Loads an image from the applications resource file and fills this WriteableBitmap with it.
The WriteableBitmap.
Only the relative path to the resource file. The assembly name is retrieved automatically.
The WriteableBitmap that was passed as parameter.
Loads an image from the applications content and fills this WriteableBitmap with it.
The WriteableBitmap.
Only the relative path to the content file.
The WriteableBitmap that was passed as parameter.
Draws a filled rectangle.
x2 has to be greater than x1 and y2 has to be greater than y1.
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color.
Draws a filled rectangle.
x2 has to be greater than x1 and y2 has to be greater than y1.
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color.
The blend mode.
A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
x2 has to be greater than x1 and y2 has to be greater than y1.
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color for the line.
A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
x2 has to be greater than x1 and y2 has to be greater than y1.
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color for the line.
A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
Uses a different parameter representation than DrawEllipse().
The WriteableBitmap.
The x-coordinate of the ellipses center.
The y-coordinate of the ellipses center.
The radius of the ellipse in x-direction.
The radius of the ellipse in y-direction.
The color for the line.
A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
Uses a different parameter representation than DrawEllipse().
The WriteableBitmap.
The x-coordinate of the ellipses center.
The y-coordinate of the ellipses center.
The radius of the ellipse in x-direction.
The radius of the ellipse in y-direction.
The color for the line.
Draws a filled polygon. Add the first point also at the end of the array if the line should be closed.
The WriteableBitmap.
The points of the polygon in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
The color for the line.
Draws a filled polygon. Add the first point also at the end of the array if the line should be closed.
The WriteableBitmap.
The points of the polygon in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
The color for the line.
The blend mode. Default is Alpha
Draws a filled quad.
The WriteableBitmap.
The x-coordinate of the 1st point.
The y-coordinate of the 1st point.
The x-coordinate of the 2nd point.
The y-coordinate of the 2nd point.
The x-coordinate of the 3rd point.
The y-coordinate of the 3rd point.
The x-coordinate of the 4th point.
The y-coordinate of the 4th point.
The color.
Draws a filled quad.
The WriteableBitmap.
The x-coordinate of the 1st point.
The y-coordinate of the 1st point.
The x-coordinate of the 2nd point.
The y-coordinate of the 2nd point.
The x-coordinate of the 3rd point.
The y-coordinate of the 3rd point.
The x-coordinate of the 4th point.
The y-coordinate of the 4th point.
The color.
Draws a filled triangle.
The WriteableBitmap.
The x-coordinate of the 1st point.
The y-coordinate of the 1st point.
The x-coordinate of the 2nd point.
The y-coordinate of the 2nd point.
The x-coordinate of the 3rd point.
The y-coordinate of the 3rd point.
The color.
Draws a filled triangle.
The WriteableBitmap.
The x-coordinate of the 1st point.
The y-coordinate of the 1st point.
The x-coordinate of the 2nd point.
The y-coordinate of the 2nd point.
The x-coordinate of the 3rd point.
The y-coordinate of the 3rd point.
The color.
Draws a filled, cubic Beziér spline defined by start, end and two control points.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the 1st control point.
The y-coordinate of the 1st control point.
The x-coordinate of the 2nd control point.
The y-coordinate of the 2nd control point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color.
The bitmap context.
The width of the bitmap.
The height of the bitmap.
Draws a series of filled, cubic Beziér splines each defined by start, end and two control points.
The ending point of the previous curve is used as starting point for the next.
Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).
The color for the spline.
Draws a series of filled, cubic Beziér splines each defined by start, end and two control points.
The ending point of the previous curve is used as starting point for the next.
Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).
The color for the spline.
Computes the discrete segment points of a Cardinal spline (cubic) defined by four control points.
The x-coordinate of the 1st control point.
The y-coordinate of the 1st control point.
The x-coordinate of the 2nd control point.
The y-coordinate of the 2nd control point.
The x-coordinate of the 3rd control point.
The y-coordinate of the 3rd control point.
The x-coordinate of the 4th control point.
The y-coordinate of the 4th control point.
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color.
The context containing the pixels array.
The width of the bitmap.
The height of the bitmap.
Draws a filled Cardinal spline (cubic) defined by a point collection.
The cardinal spline passes through each point in the collection.
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
Draws a filled Cardinal spline (cubic) defined by a point collection.
The cardinal spline passes through each point in the collection.
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
Draws a filled, closed Cardinal spline (cubic) defined by a point collection.
The cardinal spline passes through each point in the collection.
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
Draws a filled, closed Cardinal spline (cubic) defined by a point collection.
The cardinal spline passes through each point in the collection.
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
Gaussian blur kernel with the size 5x5
Gaussian blur kernel with the size 3x3
Sharpen kernel with the size 3x3
Creates a new filtered WriteableBitmap.
The WriteableBitmap.
The kernel used for convolution.
A new WriteableBitmap that is a filtered version of the input.
Creates a new filtered WriteableBitmap.
The WriteableBitmap.
The kernel used for convolution.
The factor used for the kernel summing.
The offset used for the kernel summing.
A new WriteableBitmap that is a filtered version of the input.
Creates a new inverted WriteableBitmap and returns it.
The WriteableBitmap.
The new inverted WriteableBitmap.
Compute the bit code for a point (x, y) using the clip rectangle
bounded diagonally by (xmin, ymin), and (xmax, ymax)
ASSUME THAT xmax , xmin , ymax and ymin are global constants.
The extents.
The x.
The y.
Cohen–Sutherland clipping algorithm clips a line from
P0 = (x0, y0) to P1 = (x1, y1) against a rectangle with
diagonal from (xmin, ymin) to (xmax, ymax).
See http://en.wikipedia.org/wiki/Cohen%E2%80%93Sutherland_algorithm for details
a list of two points in the resulting clipped line, or zero
Alpha blends 2 premultiplied colors with each other
Source alpha color component
Premultiplied source red color component
Premultiplied source green color component
Premultiplied source blue color component
Premultiplied destination color
Premultiplied blended color value
Draws an anti-aliased, alpha blended, colored line by connecting two points using Wu's antialiasing algorithm
Uses the pixels array and the width directly for best performance.
An array containing the pixels as int RGBA value.
The width of one scanline in the pixels array.
The height of the bitmap.
The x0.
The y0.
The x1.
The y1.
Alpha color component
Premultiplied red color component
Premultiplied green color component
Premultiplied blue color component
Draws a colored line by connecting two points using the Bresenham algorithm.
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws a colored line by connecting two points using the Bresenham algorithm.
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws a colored line by connecting two points using a DDA algorithm (Digital Differential Analyzer).
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws a colored line by connecting two points using a DDA algorithm (Digital Differential Analyzer).
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws a colored line by connecting two points using an optimized DDA.
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws a colored line by connecting two points using an optimized DDA.
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws a colored line by connecting two points using an optimized DDA.
Uses the pixels array and the width directly for best performance.
A context containing the pixels as int RGBA value.
The width of one scanline in the pixels array.
The height of the bitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws an anti-aliased line, using an optimized version of Gupta-Sproull algorithm
From http://nokola.com/blog/post/2010/10/14/Anti-aliased-Lines-And-Optimizing-Code-for-Windows-Phone-7e28093First-Look.aspx
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws an anti-aliased line, using an optimized version of Gupta-Sproull algorithm
From http://nokola.com/blog/post/2010/10/14/Anti-aliased-Lines-And-Optimizing-Code-for-Windows-Phone-7e28093First-Look.aspx
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Draws an anti-aliased line, using an optimized version of Gupta-Sproull algorithm
From http://nokola.com/blog/post/2010/10/14/Anti-aliased-Lines-And-Optimizing-Code-for-Windows-Phone-7e28093First-Look.aspx
A context containing the pixels as int RGBA value.
The width of one scanline in the pixels array.
The height of the bitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color for the line.
Blends a specific source color on top of a destination premultiplied color
pixels array
Index of destination pixel
Source alpha (0..255)
Source non-premultiplied red and blue component in the format 0x00rr00bb
Source green component (0..255)
Draws a polyline. Add the first point also at the end of the array if the line should be closed.
The WriteableBitmap.
The points of the polyline in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
The color for the line.
Draws a polyline. Add the first point also at the end of the array if the line should be closed.
The WriteableBitmap.
The points of the polyline in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
The color for the line.
Draws a triangle.
The WriteableBitmap.
The x-coordinate of the 1st point.
The y-coordinate of the 1st point.
The x-coordinate of the 2nd point.
The y-coordinate of the 2nd point.
The x-coordinate of the 3rd point.
The y-coordinate of the 3rd point.
The color.
Draws a triangle.
The WriteableBitmap.
The x-coordinate of the 1st point.
The y-coordinate of the 1st point.
The x-coordinate of the 2nd point.
The y-coordinate of the 2nd point.
The x-coordinate of the 3rd point.
The y-coordinate of the 3rd point.
The color.
Draws a quad.
The WriteableBitmap.
The x-coordinate of the 1st point.
The y-coordinate of the 1st point.
The x-coordinate of the 2nd point.
The y-coordinate of the 2nd point.
The x-coordinate of the 3rd point.
The y-coordinate of the 3rd point.
The x-coordinate of the 4th point.
The y-coordinate of the 4th point.
The color.
Draws a quad.
The WriteableBitmap.
The x-coordinate of the 1st point.
The y-coordinate of the 1st point.
The x-coordinate of the 2nd point.
The y-coordinate of the 2nd point.
The x-coordinate of the 3rd point.
The y-coordinate of the 3rd point.
The x-coordinate of the 4th point.
The y-coordinate of the 4th point.
The color.
Draws a rectangle.
x2 has to be greater than x1 and y2 has to be greater than y1.
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color.
Draws a rectangle.
x2 has to be greater than x1 and y2 has to be greater than y1.
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color.
A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
x2 has to be greater than x1 and y2 has to be greater than y1.
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color for the line.
A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
x2 has to be greater than x1 and y2 has to be greater than y1.
The WriteableBitmap.
The x-coordinate of the bounding rectangle's left side.
The y-coordinate of the bounding rectangle's top side.
The x-coordinate of the bounding rectangle's right side.
The y-coordinate of the bounding rectangle's bottom side.
The color for the line.
A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
Uses a different parameter representation than DrawEllipse().
The WriteableBitmap.
The x-coordinate of the ellipses center.
The y-coordinate of the ellipses center.
The radius of the ellipse in x-direction.
The radius of the ellipse in y-direction.
The color for the line.
A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
Uses a different parameter representation than DrawEllipse().
The WriteableBitmap.
The x-coordinate of the ellipses center.
The y-coordinate of the ellipses center.
The radius of the ellipse in x-direction.
The radius of the ellipse in y-direction.
The color for the line.
Draws a cubic Beziér spline defined by start, end and two control points.
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the 1st control point.
The y-coordinate of the 1st control point.
The x-coordinate of the 2nd control point.
The y-coordinate of the 2nd control point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color.
Draws a cubic Beziér spline defined by start, end and two control points.
The WriteableBitmap.
The x-coordinate of the start point.
The y-coordinate of the start point.
The x-coordinate of the 1st control point.
The y-coordinate of the 1st control point.
The x-coordinate of the 2nd control point.
The y-coordinate of the 2nd control point.
The x-coordinate of the end point.
The y-coordinate of the end point.
The color.
Draws a series of cubic Beziér splines each defined by start, end and two control points.
The ending point of the previous curve is used as starting point for the next.
Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).
The color for the spline.
Draws a series of cubic Beziér splines each defined by start, end and two control points.
The ending point of the previous curve is used as starting point for the next.
Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).
The color for the spline.
Draws a segment of a Cardinal spline (cubic) defined by four control points.
The x-coordinate of the 1st control point.
The y-coordinate of the 1st control point.
The x-coordinate of the 2nd control point.
The y-coordinate of the 2nd control point.
The x-coordinate of the 3rd control point.
The y-coordinate of the 3rd control point.
The x-coordinate of the 4th control point.
The y-coordinate of the 4th control point.
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color.
The context containing the pixels array.
The width of the bitmap.
The height of the bitmap.
Draws a Cardinal spline (cubic) defined by a point collection.
The cardinal spline passes through each point in the collection.
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
Draws a Cardinal spline (cubic) defined by a point collection.
The cardinal spline passes through each point in the collection.
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
Draws a closed Cardinal spline (cubic) defined by a point collection.
The cardinal spline passes through each point in the collection.
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
Draws a closed Cardinal spline (cubic) defined by a point collection.
The cardinal spline passes through each point in the collection.
The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
Creates a new resized WriteableBitmap.
The WriteableBitmap.
The new desired width.
The new desired height.
The interpolation method that should be used.
A new WriteableBitmap that is a resized version of the input.
Creates a new resized bitmap.
The source context.
The width of the source pixels.
The height of the source pixels.
The new desired width.
The new desired height.
The interpolation method that should be used.
A new bitmap that is a resized version of the input.
Rotates the bitmap in 90° steps clockwise and returns a new rotated WriteableBitmap.
The WriteableBitmap.
The angle in degress the bitmap should be rotated in 90° steps clockwise.
A new WriteableBitmap that is a rotated version of the input.
Rotates the bitmap in any degree returns a new rotated WriteableBitmap.
The WriteableBitmap.
Arbitrary angle in 360 Degrees (positive = clockwise).
if true: keep the size, false: adjust canvas to new size
A new WriteableBitmap that is a rotated version of the input.
Flips (reflects the image) eiter vertical or horizontal.
The WriteableBitmap.
The flip mode.
A new WriteableBitmap that is a flipped version of the input.
The blending mode.
Alpha blendiing uses the alpha channel to combine the source and destination.
Additive blending adds the colors of the source and the destination.
Subtractive blending subtracts the source color from the destination.
Uses the source color as a mask.
Multiplies the source color with the destination color.
Ignores the specified Color
No blending just copies the pixels from the source.
The interpolation method.
The nearest neighbor algorithm simply selects the color of the nearest pixel.
Linear interpolation in 2D using the average of 3 neighboring pixels.
The mode for flipping.
Flips the image vertical (around the center of the y-axis).
Flips the image horizontal (around the center of the x-axis).
Gets a BitmapContext within which to perform nested IO operations on the bitmap
For WPF the BitmapContext will lock the bitmap. Call Dispose on the context to unlock
Gets a BitmapContext within which to perform nested IO operations on the bitmap
For WPF the BitmapContext will lock the bitmap. Call Dispose on the context to unlock
The writeable bitmap to get a context for
The ReadWriteMode. If set to ReadOnly, the bitmap will not be invalidated on dispose of the context, else it will
Defines the interface to a 2D RenderContext, allowing drawing, blitting and creation of pens and brushes on the
Creates a valid for the current render pass. Use this to draw rectangles, polygons and shaded areas
The color of the brush, supports transparency
The opacity of the brush
If true, use alphablending when shading
The instance
Creates a valid for the current render pass. Use this to draw outlines, quads and lines
The color of the pen, supports transparency
If true, use antialiasing
The strokethickness, default=1.0
The opecity of the pen
The instance
Clears the
Blits the source image onto the
The destination rectangle
The source image
The source rectangle
Fills a rectangle on the using the specified
The brush
The x1 coordinate of the rectangle
The y1 coordinate of the rectangle
The x2 coordinate of the rectangle
The y2 coordinate of the rectangle
Fills a polygon on the using the specifie
The brush
The list of points defining the closed polygon, where X,Y coordinates are in pairs, e.g. element[0]=x0, element[1]=y0, element[2]=x1 etc
Draws a Quad on the using the specified
The Pen
The x1 coordinate
The y1 coordinate
The x2 coordinate
The y2 coordinate
The x3 coordinate
The y3 coordinate
The x4 coordinate
The y4 coordinate
Draws a line on the using the specified
The pen
The x1 coordinate
The y1 coordinate
The x2 coordinate
The y2 coordinate
Gets the current size of the viewport.
Defines data for the current render pass
Gets or sets the current Viewport Size
Gets or sets an array of RenderableSeries to draw
Gets or sets an array of which provide data
Gets or sets an array of which source data
Gets or sets an array of which provide indices to the source data-series in view
Gets or sets the XAxis CoordinateCalculator for this render pass
Gets or sets a keyed dictionary of YAxis CoordinateCalculators
Defines the interface to the , which handles the render pass on the
Executes a single render pass
Handles the render pass on the
Initializes a new instance of the class.
The parent
Executes a single render pass
Step 1, perform layout, resize components
Step 2, prepare render data
Step 3, draw axes
Step 4, draw series
Step 5, draw annotations
Provides automatic themeing of via the Theme property
Defines the Theme dependency property
Gets the value of the Theme Attached Property
The dependency object
The current Theme
Sets the value of the Theme Attached property. For a list of All Themes, see the property
The dependency object
The current theme
Gets a list of all available themes
Defines the interface to a logger facade. If you wish to receive debug log messages from SciChart, then set a logger instance via
. Note that logging will dramatically decrease performance, especially in a real-time scenario
Logs the string format message with optional arguments
The formatting string
Optional arguments to the formatting string
Provides a debug logger which can be used to pipe debug messages from SciChart to your own code, by setting the via SetLogger
Writes a line to the . By default, the facade instance is null. In this case nothing happens
Logging is performance intensive and will drastically slow down the chart.
The format string
Optional args for the format string
Sets the to write to. By default this is null, but after being set, the will write all output to this instance
The instance.
Logging is performance intensive and will drastically slow down the chart. Enable only when necessary
Gets the singleton instance
Allows assertions to be built with the following syntax:
Guard.Assert(123).IsLessThan(456);
Asserts that the argument is a real number
The double value.
Asserts that the DateTime is defined, i.e. is not or
The value.
Name of the arg.
Builds an assertion in conjunction with
The value.
Name of the arg.
Guard.Assert(123).IsLessThan(456);
Allows assertions to be built with the following syntax:
Guard.Assert(123).IsLessThan(456);
Initializes a new instance of the class.
The value.
Name of the arg.
Asserts that the current value is less than the specified other value
The other value.
Name of the other arg.
Asserts that the current value is not equal to the specified other value
The other value.
Name of the other arg.
Asserts that the current value is not equal to the specified other value
The other value.
Asserts that the current value is less than or equal to the specified other value
The other value.
Name of the other arg.
Asserts that the current value is greater than or equal to the specified other value
The other value.
Asserts that the current value is greater to the specified other value
The other value.
Defines the interface to a class which publishes mouse events.
Used in conjunction with and
to provide cross-platform WPF and Silverlight mouse eventing
Occurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet) while the mouse pointer is over a .
Occurs when the left mouse button is released (or the tip of the stylus is removed from the tablet) while the mouse (or the stylus) is over a (or while a holds mouse capture).
Occurs when the right mouse button is pressed while the mouse pointer is over a .
Occurs when the right mouse button is released while the mouse pointer is over a . However, this event will only be raised if a caller marks the preceding event as handled; see Remarks.
Occurs when the coordinate position of the mouse (or stylus) changes while over a (or while a holds mouse capture).
Occurs when the user rotates the mouse wheel while the mouse pointer is over a , or the has focus.
Occurs when the mouse pointer leaves the bounds of this element
Occurs when the middle mouse button is pressed while the mouse pointer is over a .
Occurs when the middle mouse button is released while the mouse pointer is over a . However, this event will only be raised if a caller marks the preceding event as handled; see Remarks.
Proxy class to handle mouse-events between a type which implements and
The target element which will receive the notifications
A proxy delegate for Mouse Left Up events
A proxy delegate for Mouse Left Down events
A proxy delegate for Mouse Move events
A proxy delegate for Mouse Right Up events
A proxy delegate for Mouse Right Down events
A proxy delegate for Mouse Middle Down events
A proxy delegate for Mouse Middle Up events
A proxy delegate for Mouse Wheel events
A proxy delegate for Mouse Leave events
Defines the interface to the MouseManager, a cross-platform helper class to propagate mouse events in both Silverlight and WPF
Subscribes to mouse events on the Source, propagating handlers to the Target
The source of mouse events
The target to receive mouse event handlers
Unsubscribes the source from mouse events
The source to unsubscribe
Unsubscribes the element from mouse events
The element to unsubscribe
A cross-platform helper class to propagate mouse events in both Silverlight and WPF
Defines the MouseEventGroup Attached Property
Sets the MouseEventGroup Attached Property
The element.
The modifier group.
Gets the MouseEventGroup Attached Property
The element.
Subscribes to mouse events on the Source, propagating handlers to the Target
The source of mouse events
The target to receive mouse event handlers
Unsubscribes the source from subscribers
The source to unsubscribe
Unsubscribes the element from mouse events
The element to unsubscribe
Creates a 'throttled' MouseMove event which ensures that the UI
rendering is not starved.
Swaps X1,X2 and Y1,Y2 so that the first coordinate pair is always to the left of the second coordinate pair
Validates the component
The component to validate
Defines the interface to a ServiceContainer used throughout SciChart. For a full list of available services, see the remarks on
Gets the service instance registered by type. For a full list of available services, see the remarks on
The type of service to get
The service instance, unique to this instance
Provides access to services throughout SciChart. ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Available Services include:
- , for subscription to mouse events
- , for handling of the rendering pipeline
-
, with event types as follows:
Registers the service.
The instance.
Gets the service instance registered by type. For a full list of available services, see the remarks on
The type of service to get
The service instance, unique to this instance
The DefaultViewportManager performs a naive calculation for X and Y Axis VisibleRange.
On each render of the parent SciChartSurface, either autorange to fit the data (depending on the Axis.AutoRange property value),
or return the original axis range (no change)
Defines a base class for a ViewportManager, which may be used to control visible range and ranging on a
Defines the interface to a ViewportManager, which may be used to intercept the X,Y axis ranging during render and invalidate the parent surface
Called when the changes for an axis. Override in derived types to get a notification of this occurring
The instance
Called by the during render to calculate the new YAxis VisibleRange. Override in derived types to return a custom value
The YAxis to calculate for
The current containing render data
The new VisibleRange for the axis
Called by the during render to calculate the new XAxis VisibleRange. Override in derived types to return a custom value
The XAxis to calculate for
The new VisibleRange for the axis
Called when the is rendered.
The SciChartSurface instance
May be called to trigger a redraw on the parent . See tne for available options.
Tne with options for the re-draw
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Called when the changes for an axis. Override in derived types to get a notification of this occurring
The instance
Called by the during render to calculate the new XAxis VisibleRange. Override in derived types to return a custom value
The new VisibleRange for the axis
Called when the is rendered.
The SciChartSurface instance
Called by the during render to calculate the new YAxis VisibleRange. Override in derived types to return a custom value
The YAxis to calculate for
The current containing render data
The new VisibleRange for the axis
Overridden by derived types, called when the parent requests the XAxis VisibleRange.
The Range returned by this method will be applied to the chart on render
The XAxis
The new VisibleRange for the XAxis
Overridden by derived types, called when the parent requests a YAxis VisibleRange.
The Range returned by this method will be applied to the chart on render
The YAxis
The render pass info.
The new VisibleRange for the YAxis
Triggers a redraw on the parent surface with the specified RangeMode
The specifying how to redraw the parent surface
Raises the event.
The instance containing the event data.
Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued
The disposable Update Suspender
Resumes updates on the target, intended to be called by IUpdateSuspender
Called by IUpdateSuspender each time a target suspender is disposed. When the final
target suspender has been disposed, ResumeUpdates is called
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets a value indicating whether updates for the target are currently suspended
Called when the changes for an axis. Override in derived types to get a notification of this occurring
The instance
Called when the is rendered.
The SciChartSurface instance
Overridden by derived types, called when the parent requests the XAxis VisibleRange.
The Range returned by this method will be applied to the chart on render
The XAxis
The new VisibleRange for the XAxis
Overridden by derived types, called when the parent requests a YAxis VisibleRange.
The Range returned by this method will be applied to the chart on render
The YAxis
The new VisibleRange for the YAxis
Defines the interface to an annotation adorner, which may be placed to drag, or resize an annotation
Initializes this adorner.
Clears child markers from the adorner layer
Causes a refresh to update the positions of the adorner
Gets the associated annotation that this instance adorns
Called when a Mouse DoubleClick occurs on the parent
Arguments detailing the mouse button operation
Called when a Mouse Button is pressed on the parent
Arguments detailing the mouse button operation
Called when the Mouse is moved on the parent
Arguments detailing the mouse move operation
Called when a Mouse Button is released on the parent
Arguments detailing the mouse button operation
Called when the Mouse Wheel is scrolled on the parent
Arguments detailing the mouse wheel operation
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets or sets the parent to perform operations on
The parent surface.
Gets or sets whether this Adorner is enabled.
An Anchor-Point annotation is an which only has one X1,Y1 point.
This annotation may be anchored around the coordinate using various alignmnets. See the and properties
for more information
Provides a base class for annotations to be rendered over the chart
Defines the interface to an annotation, a custom drawable element over or under the SciChartSurface
Defines the base interface for a type which can be hit-tested
Translates the point relative to the other element
The input point relative to this
The other to use when transforming the point
The transformed Point
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Gets the bounds of the current element relative to another element
Gets the width of the
Gets the height of the
Captures the mouse
Releases mouse capture
Updates the coordinate calculators and refreshes the annotation position on the parent
The XAxis
The YAxis
Called when the Annotation is detached from its parent surface
Called when the Annotation is attached to parent surface
Hides the Annotation by removing adorner markers from the AdornerLayerCanvas
and setting Visibility to Collapsed
Shows annotation which being hidden by call
This method is used internally by the . Programmatically moves the annotation by an X,Y offset.
This method is used in internally by the . Programmatically sets an adorner point position
This method is used in internally by the . Gets the adorner point positions
Refreshes the annnotation position on the parent , without causing a full redraw of the chart
Occurs when becomes selected.
Occurs when becomes unselected.
Gets or sets the YAxis Id that this annotation is measured against. See
Gets or sets whether the current annotation is attached
Gets or sets whether the current annotation is selected
Gets or sets whether you can interact current annotation
Gets or sets value, indicates whether current annotation was hidden by call
Gets the primary YAxis, this is the first axis in the YAxes collection
Returns the YAxes on the parent
Gets the XAxis instance on the parent
Gets or sets a container
Gets or sets the X1 Coordinate of the Annotation.
For , this must be a data-value on the X-Axis such as a DateTime for , double for or integer index for .
For , this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right.
Gets or sets the Y1 Coordinate of the Annotation.
For , this must be a data-value on the Y-Axis such as a double for
For , this must be a double value between 0.0 and 1.0, where 0.0 is the bottom of the YAxis and 1.0 is the top
Gets or sets the X2 Coordinate of the Annotation.
For , this must be a data-value on the X-Axis such as a DateTime for , double for or integer index for .
For , this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right.
Gets or sets the Y2 Coordinate of the Annotation.
For , this must be a data-value on the Y-Axis such as a double for
For , this must be a double value between 0.0 and 1.0, where 0.0 is the bottom of the YAxis and 1.0 is the top
Gets or sets the parent that this Annotation belongs to
Limits the Drag direction when dragging the annotation using the mouse, e.g in the X-Direction, Y-Direction or XyDirection. See the enumeration for options
Limits the Resize direction when resiaing the annotation using the mouse, e.g in the X-Direction, Y-Direction or XyDirection. See the enumeration for options
Gets value, indicates whether current instance is resizable
Gets or sets the data context
Defines the YAxisId DependencyProperty
Defines the X1 DependencyProperty
Defines the Y1 DependencyProperty
Defines the X2 DependencyProperty
Defines the Y2 DependencyProperty
Defines the AnnotationCanvas DependencyProperty
Defines the CoordinateMode DependencyProperty
Defines the IsSelected DependencyProperty
Defines the IsEditable DependencyProperty
Defines the IsHidden DependencyProperty
Defines the DragDirections DependencyProperty
Defines the ResizeDirection DependencyProperty
The Root Element of the Annotation to be displayed on the Canvas
Initializes a new instance of the class.
Gets the to use for the annotation when selected
Virtual method to override if you wish to be notified that the has changed
Focuses the input text area. Applicable only for Text and label annotations
Called when the Annotation is attached to parent surface
Attaches handlers to particular events of passed object
Mouse events source
Contains interaction logic of handling mouse down event
Contains interaction logic of handling mouse up event
Contains interaction logic of handling mouse move event
Called immediately before the Annotation is detached from its parent surface
Refreshes the annnotation position on the parent , without causing a full redraw of the chart
Updates the coordinate calculators and refreshes the annotation position on the parent
The XAxis
The YAxis
Hides the Annotation by removing adorner markers from the
and setting Visibility to Collapsed
Shows annotation which being hidden by call
Called internally by layout system when annotation is out of surface's bounds
Hides adorner markers by calling
Gets a collection of the Adorners currently used on the Annotation, given the Annotation AdornerLayer Canvas
The type of Adorners to search for
The adorner layer canvas
A list of adorners matching type T
Called internally by layout system when annotation come into surface's bounds
Performs a simple rectangular bounds-check to see if the X1,X2,Y1,Y2 coordinates passed in are within the Canvas extends
The normalised AnnotationCoordinates
The canvas to check if the annotation is within bounds
True if in bounds
Override in derived classes to handle specific placement of the annotation at the given
The normalised
Gets the Canvas instance for this annotation
The enumeration
The canvas instance
DependencyProperty changed handler which can be used to refresh the annotation on property changed
The DependencyObject sender.
The instance containing the event data.
Updates the position and values of the annotation during a drag or resize operation, by setting X1,Y1,X2,Y2 and X,Y pixel coordinates together,
from a pixel coordinate input
The first input pixel coordinate
The second input pixel coordinate
Converts a pixel coordinate to data-value
The pixel coordinate.
The axis for which the data value is calculated
The datavalue
Converts a data-value to pixel coordinate
The data-value, e.g. value of X1 or Y1
The size of the canvas in the current dimension (e.g. width or height)
The current valid for the current render pass
The direction (X or Y Axis).
The pixel coordinate
Gets an struct containing pixel coordinates to place or update the annotation in the current render pass
The canvas the annotation will be placed on
The current XAxis to perform data to pixel transformations
The current YAxis to perform data to pixel transformations
If true, ignores offsets applied to derived types. These are types such as and which have a single X1,Y1 point and anchor (align) around it
The struct containing pixel coordinates
This method is used internally by the . Programmatically moves the annotation by an X,Y offset.
The horizontal offset to move in pixels
The vertical offset to move in pxiels
Moves the annotation to.
The coordinates.
The horiz offset.
The vert offset.
The y calc.
Determines whether the coordinate is valid for placing on the canvas, e.g. is greater than zero and less than
The coordinate.
The canvas dimension in this axis.
true if coordinate is valid; otherwise, false.
This method is used in internally by the . Gets the adorner point positions
This method is used in internally by the . Gets the adorner point positions
The previously calculated in screen pixels.
A list of points in screen pixels denoting the Adorner corners
This method is used in internally by the . Programmatically sets an adorner point position
Called internally to marshal pixel points to X1,Y1,X2,Y2 values.
Taking a pixel point () and base point , sets the X,Y data-values.
The pixel point
The base point index, where 0, 1, 2, 3 refer to the four corners of an Annotation
The current Y-Axis
Used internally to derive the X1Property, Y1Property, X1Property, Y2Property pair for the given index around the annotation..
e.g. index 0 returns X1,Y1
index 1 returns X2,Y1
index 2 returns X2,Y2
index 3 returns X1,Y2
The index
The X coordinate dependency property, either X1Property or X2Property
The Y coordinate dependency property, either Y1Property or Y2Property
Gets the Adorner Canvas to place annotation adorners
When overriden in a derived class, places the appropriate adorners on the
The adorner layer
Removes all adorners from the
The adorner layer
Translates the point relative to the other element
The input point relative to this
The other to use when transforming the point
The transformed Point
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Gets the bounds of the current element relative to another element
Tries to select the annotation. Returns True if the operation was successful
True if the operation was successful
Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued
The disposable Update Suspender
Resumes the updates.
The update suspender.
Called by IUpdateSuspender each time a target suspender is disposed. When the final
target suspender has been disposed, ResumeUpdates is called
Occurs when becomes selected.
Occurs when becomes unselected.
Occurs when the middle mouse button is pressed while the mouse pointer is over a .
Occurs when the middle mouse button is released while the mouse pointer is over a . However, this event will only be raised if a caller marks the preceding event as handled; see Remarks.
Gets or sets whether text can be edited on this .
Supported by Text or label annotations only
Gets value, indicates whether current instance is resizable
Gets or sets the ID of the Y-Axis which this Annotation is measured against
Limits the Drag direction when dragging the annotation using the mouse, e.g in the X-Direction, Y-Direction or XyDirection. See the enumeration for options
Limits the Resize direction when resiaing the annotation using the mouse, e.g in the X-Direction, Y-Direction or XyDirection. See the enumeration for options
Gets or sets the to use when placing the annotation. E.g. the default of Absolute requires that X1,Y1 coordinates are data-values. The value
of Relative requires that X1,Y1 are double values from 0.0 to 1.0
Gets or sets the to place the annotation on. The default is
Gets or sets whether the current annotation is selected. When selected, an Adorner is placed over the annotation to allow dynamic resizing and dragging by the user.
Gets or sets whether the current annotation is editable. When editable, the user may click to select and interact with the annotation
Gets or sets value, indicates whether current annotation was hidden by call
Gets or sets the X1 Coordinate of the Annotation.
For , this must be a data-value on the X-Axis such as a DateTime for , double for or integer index for .
For , this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right.
Gets or sets the X2 Coordinate of the Annotation.
For , this must be a data-value on the X-Axis such as a DateTime for , double for or integer index for .
For , this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right.
Gets or sets the Y1 Coordinate of the Annotation.
For , this must be a data-value on the Y-Axis such as a double for
For , this must be a double value between 0.0 and 1.0, where 0.0 is the bottom of the YAxis and 1.0 is the top
Gets or sets the Y2 Coordinate of the Annotation.
For , this must be a data-value on the Y-Axis such as a double for
For , this must be a double value between 0.0 and 1.0, where 0.0 is the bottom of the YAxis and 1.0 is the top
Gets or sets whether this Element is attached to a parent
true if this instance is attached; otherwise, false.
Gets the primary YAxis, this is the first axis in the YAxes collection
Gets the canvas over the Series on the parent
Gets the canvas under the Series on the parent
Gets a value indicating whether updates for the target are currently suspended
Defines the interface to an Anchor-Point annotation, which is an which only has one X1,Y1 point.
This annotation may be anchored around the coordinate using various alignmnets. See the and properties
for more information
Gets or sets the .
The value of Left means the X1,Y1 coordinate of the annotation is on the Left horizontally.
The value of Center means the X1,Y1 coordinate of the annotation is at the center horizontally.
The value of Right means the X1,Y1 coordinate of the annotation is at the right horizontally.
Gets or sets the .
The value of Top means the X1,Y1 coordinate of the annotation is on the Top vertically.
The value of Center means the X1,Y1 coordinate of the annotation is at the center vertically.
The value of Bottom means the X1,Y1 coordinate of the annotation is at the Bottom vertically.
Gets the computed VerticalOffset in pixels to apply to this annotation when placing
Gets the computed HorizontalOffset in pixels to apply to this annotation when placing
Defines the HorizontalAnchorPoint DependencyProperty
Defines the VerticalAnchorPointProperty DependencyProperty
Initializes a new instance of the class.
Gets the to use for the annotation when selected
Gets or sets the .
The value of Left means the X1,Y1 coordinate of the annotation is on the Left horizontally.
The value of Center means the X1,Y1 coordinate of the annotation is at the center horizontally.
The value of Right means the X1,Y1 coordinate of the annotation is at the right horizontally.
Gets or sets the .
The value of Top means the X1,Y1 coordinate of the annotation is on the Top vertically.
The value of Center means the X1,Y1 coordinate of the annotation is at the center vertically.
The value of Bottom means the X1,Y1 coordinate of the annotation is at the Bottom vertically.
Gets the computed VerticalOffset in pixels to apply to this annotation when placing
Gets the computed HorizontalOffset in pixels to apply to this annotation when placing
Enumeration constants to define label placement
Places on the right
Places at the top right
Places at the bottom right
Places at the bottom
Places on the left
Places on the top left
Places on the bottom left
Places at the top
Places on the axis
Automatic Placement (Default)
Defines an AnnotationLabel which may be used in and instances
Defines the Text DependnecyProperty
Defines the LabelPlacement DependnecyProperty
Defines the TextFormatting DependnecyProperty
Defines the LabelStyle DependnecyProperty
Defines the AxisLabel DependnecyProperty
Defines the CornerRadius DependnecyProperty
Defines the RotationAngle DependnecyProperty
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Gets the TemplateChild by the specified name and casts to type , asserting that the result is not null
The Type of the templated part
Name of the templated part.
The template part instance
Unable to Apply the Control Template. Child is missing or of the wrong type
Raised when a property changes. As part of the implementation
Returns True if == LabelPlacement.Axis
or if ParentAnnotation.ResolveAutoPlacement() == LabelPlacement.Axis
in case when == LabelPlacement.Auto
Gets or sets whether the text in the label is editable
Gets or sets the angle, in degrees, of clockwise rotation
Gets or sets the parent that this label is attached to
Gets or sets the Text of the label
Gets or sets the
Gets or sets the TextFormatting to use on the label, when the Text property is bound to a Data-Value.
This works in a similar way to the TextFormatting property
Gets or sets a to apply to the label
Gets or sets a to apply to the Axis Label
Gets or sets the CornerRadius of the Label element
Gets the Adorner Markers placed by this annotation (e.g. grippers to resize, move)
Gets the Adorner Markers placed by this annotation (e.g. grippers to resize, move)
CustomAnnotation is a ContentControl which can be overlaid on the annotation surfaces. For examples of use, see the Annotations Are Easy and Create Annotations Dynamically examples in the trial download
Initializes a new instance of the class.
Called when the property changes.
The old value of the property.
The new value of the property.
Override in derived classes to handle specific placement of the annotation at the given
The normalised
This method is used in internally by the . Gets the adorner point positions
The previously calculated in screen pixels.
A list of points in screen pixels denoting the Adorner corners
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Provides a base class for HorizontalLineAnnotation, VerticalLineAnnotation
Defines a read-only or editable Line annotation, which may be placed on the chart at specific X1,Y1,X2,Y2 coordinates
A base class with shared properties for , and
Defines the StrokeDashArray DependencyProperty
Defines the StrokeThickness DependencyProperty
Defines the Stroke DependencyProperty
This method is used in internally by the . Gets the adorner point positions
The previously calculated in screen pixels.
A list of points in screen pixels denoting the Adorner corners
Used internally to derive the X1Property, Y1Property, X1Property, Y2Property pair for the given index around the annotation..
e.g. index 0 returns X1,Y1
index 1 returns X2,Y1
index 2 returns X2,Y2
index 3 returns X1,Y2
The index
The X coordinate dependency property, either X1Property or X2Property
The Y coordinate dependency property, either Y1Property or Y2Property
Gets the to use for the annotation when selected
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Gets or sets the Stroke brush of the line
Gets or sets the StrokeThickness of the line
Gets or sets the StrokeDashArray of the line
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Override in derived classes to handle specific placement of the annotation at the given
The normalised
Defines the ShowLabel Property
Defines the DefaultLabelValue Property
Defines the LabelPlacement Property
Defines the LabelValue Property
Defines the LabelTextFormatting Property
Defines the AnnotationLabels Property
Initializes a new instance of the class.
Adds a collection of instances to the
The collection of labels to add
Removes a collection of instances to the
The collection of labels to remove
Called internally to attach an to the current instance
The AnnotationLabel to attach
Hides current instance of
Hides current instance of
Adds new label to
Label which has been created
Invalidates annotation label
Label to invalidate
Detaches the from the current
The label to detach
Positions the using the value of the enum
The label to place
Placement arguments
Gets the to use for the annotation when selected
Gets or sets value which labels will be bound to
Gets or sets a collection of annotation labels
Gets or sets value, indicating whether show the default label or not
Gets or sets placement for the default label
Gets or sets a value for the default label
Gets or sets formatting string which is applied to all annotation labels
Enumeration constants used by to define horizontal alignment around the X1,Y1 coordinates
Align Left
Align Center
Align Right
The LineArrowAnnotation provides a Line with X1,Y1,X2,Y2 coordinates and an arrow head at the tip.
Defines the HeadLength DependencyProperty
Defines the HeadWidth DependencyProperty
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Override in derived classes to handle specific placement of the annotation at the given
The normalised
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Gets or sets the Head Length in pixels. Change this along with to make the line-arrow head larger or smaller
Gets or sets the Head Length in pixels. Change this along with to make the line-arrow head larger or smaller
The AxisMarkerAnnotation provides an axis label which is data-bound to its Y-value. Used to place a marker on the Y-Axis it can give feedback about the latest value of a series, or
important points in a series.
Defines the FormattedValue DependencyProperty
Defines the MarkerPointWidth DependencyProperty
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Gets the to use for the annotation when selected
Performs a simple rectangular bounds-check to see if the X1,X2,Y1,Y2 coordinates passed in are within the Canvas extends
The normalised AnnotationCoordinates
The canvas to check if the annotation is within bounds
True if in bounds
Override in derived classes to handle specific placement of the annotation at the given
The normalised
This method is used in internally by the . Gets the adorner point positions
The previously calculated in screen pixels.
A list of points in screen pixels denoting the Adorner corners
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Gets or sets the Formatted Value of the Axis Marker. By default this is data-bound to Y1
Gets or sets the Marker tip width, this is the width of the point of the marker in pixels. Default value is 7.
Change this property if the marker looks squashed!
Defines a rectangle or box annotation, which may be placed on the chart at specific X1,Y1,X2,Y2 coordinates
Defines the CornerRadius DependencyProperty
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Gets the to use for the annotation when selected
Override in derived classes to handle specific placement of the annotation at the given
The normalised
This method is used in internally by the . Gets the adorner point positions
The previously calculated in screen pixels.
A list of points in screen pixels denoting the Adorner corners
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Gets or sets the CornerRadius of the box
A class for
Defines the HorizontalAlignment Property
Creates new instance of
Performs a simple rectangular bounds-check to see if the X1,X2,Y1,Y2 coordinates passed in are within the Canvas extends
The normalised AnnotationCoordinates
The canvas to check if the annotation is within bounds
True if in bounds
Override in derived classes to handle specific placement of the annotation at the given
The normalised
When overridden in a derived class, is invoked whenever application code or internal processes call .
This method is used in internally by the . Gets the adorner point positions
The previously calculated in screen pixels.
A list of points in screen pixels denoting the Adorner corners
Used internally to derive the X1Property, Y1Property, X1Property, Y2Property pair for the given index around the annotation..
e.g. index 0 returns X1,Y1
index 1 returns X2,Y1
index 2 returns X2,Y2
index 3 returns X1,Y2
The index
Virtual method to override if you wish to be notified that the YAxisId has changed
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Gets or sets docking of
Defines a Text annotation, which may be used to place read-only labels or read-write Textboxes on the parent
Defines the CornerRadius DependencyProperty
Defines the Text DependencyProperty
Defines the TextAlignment DependencyProperty
Defines the TextStretch DependencyProperty
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Override in derived classes to handle specific placement of the annotation at the given
The normalised
This method is used in internally by the . Gets the adorner point positions
The previously calculated in screen pixels.
A list of points in screen pixels denoting the Adorner corners
Focuses the text input area on the
Returns true if the Point is within the bounds of the current element
The point to test
true if the Point is within the bounds
Gets or sets the CornerRadius of the TextAnnotation
Gets or sets the
Gets or sets how Text stretches to fill its container. Applicable if the X1,Y1,X2,Y2 properties are all set, else text will be uniform
Gets or sets the Text of the TextAnnotation
Enumeration constants to define the Annotation Canvas that an is placed on
The annotation is placed above the chart
The annotation is placed below the chart
The annotation is placed on the YAxis
Enumeration constants to define the Coordinate mode used to place an annotation
Absolute, requires that coordinates X1,Y1,X2,Y2 are data-values
Relative, requires that coordinates X1,Y1,X2,Y2 are double values between 0.0 and 1.0
RelativeX, requires that coordinates X1,X2 are double values between 0.0 and 1.0, whereas Y1,Y2 are data-values
RelativeY, requires that coordinates Y1,Y2 are double values between 0.0 and 1.0, whereas X1,X2 are data-values
Used internally by the Annotation API. Struct to hold transformed coordinates for placement of an annotation on the chart
Gets or sets the X1 coordinate
Gets or sets the X2 coordinate
Gets or sets the Y1 coordinate
Gets or sets the Y2 coordinate
Contains a collection of derived types, which allow custom drawing elements
over or under the parent
Initializes a new instance of the class.
Initializes a new instance of the class.
Subscribes the AnnotationCollection to events on the parent .
Should be called internally by the Annotations API when attaching to a surface.
The parent
Unsubscribes the AnnotationCollection to events on the parent .
Should be called internally by the Annotations API when detaching from a surface.
The parent
Deselects all annotations in the AnnotationCollection
Clears all Annotations from the parent
Refreshes positions of all annotations within the collection
Gets attempt to select annotation, and returns whether attempt was successful or not
Annotation for selection
Gets or sets the parent to perform operations on
Enumeration constants used by to define vertical alignment around the X1,Y1 coordinates
Align Top
Align Center
Align Bottom
A class for
Defines the VerticalAlignment Property
Defines the LabelDirection Property
Creates new instance of
When overridden in a derived class, is invoked whenever application code or internal processes call .
Performs a simple rectangular bounds-check to see if the X1,X2,Y1,Y2 coordinates passed in are within the Canvas extends
The normalised AnnotationCoordinates
The canvas to check if the annotation is within bounds
True if in bounds
Override in derived classes to handle specific placement of the annotation at the given
The normalised
Called internally to attach an to the current instance
The AnnotationLabel to attach
Positions the using the value of the enum
The label to place
Placement arguments
Gets the to use for the annotation when selected
This method is used in internally by the . Gets the adorner point positions
The previously calculated in screen pixels.
A list of points in screen pixels denoting the Adorner corners
Used internally to derive the X1Property, Y1Property, X1Property, Y2Property pair for the given index around the annotation..
e.g. index 0 returns X1,Y1
index 1 returns X2,Y1
index 2 returns X2,Y2
index 3 returns X1,Y2
The index
The X coordinate dependency property, either X1Property or X2Property
The Y coordinate dependency property, either Y1Property or Y2Property
Gets or sets value, indicating whether labels will be placed vertically or horizontally
Gets or sets docking of
Enumeration constants to define the alignment of an axis
Axis is on the Right-side of the chart surface
Axis is on the Left-side of the chart surface
Provides a container for Axis within the . Styled by control template
Initializes a new instance of the class.
Provides base functionality for Axes throughout SciChart. Derived types include , which supports any
numeric value, , which supports Date values. Axes may be styled, see the tutorials for more details
Defines the base interface to an Axis used throughout Scichart
Types which implement IInvalidatableElement can be invalidated (redrawn)
Asynchronously requests that the element redraws itself plus children.
Will be ignored if the element is ISuspendable and currently IsSuspended (within a SuspendUpdates/ResumeUpdates call)
Gets the current for this Axis, based on current Visible Range and axis type
Captures the mouse for this Axis
Releases the mouse for this Axis
Sets the cursor for this Axis
The Cursor instance
Performs a HitTest on this axis. Given the input mouse point, returns an AxisInfo struct containing the Value and FormattedValue closest to that point
The mouse x,y point
The AxisInfo struct containing the value and formatted value closest to the mouse point
Gets the integer indices of the X-Data array that are currently in range.
If the input X-data is 0...100 in steps of 1, the VisibleRange is 10, 30 then the PointRange will be 10, 30
The indices to the X-Data that are currently in range
Gets the aligned VisibleRange of the axis, with optional ZoomToFit flag.
If ZoomToFit is true, it will return the DataRange plus any GrowBy applied to the axis
The VisibleRange of the axis
Gets the maximum range of the axis, based on the data-range of all series
Translates the VisibleRange of the XAxis by the specified number of datapoints
Throws if the axis is not an XAxis
Given the Data Value, returns the x or y pixel coordinate at that value on the Axis
Given an axis with a VisibleRange of 1..10 and height of 100, a value of 7 passed in to GetCoordinate would return 70 pixels
The DataValue as input
The pixel coordinate on this Axis corresponding to the input DataValue
Given the x or y pixel coordinate, returns the data value at that coordinate
The x or y pixel coordinate as input
The data value on this Axis corresponding to the input x or y pixel coordinate
Called internally to arrange and measure the axis, before a render pass
Called internally immediately before a render pass begins
From the starting , scrolls to a new range by the specified number of pixels
The start visible range
Scroll N pixels from the start visible range
From the starting , scrolls to a new range by the specified number of pixels, with the specified range limit
The start visible range
Scroll N pixels from the start visible range
The range limit.
Asserts the type passed in is supported by the current axis implementation
String formats the text, using the property as a formatting string
The data value to format
/// A composite format string
The string formatted data value
Checks whether is valid visible range for this axis
Clones this instance.
Animates the VisibleRange of the current axis to the end-range, with the specified duration
The range to animate to
The duration to animate
Raised when the VisibleRange is changed
Gets or sets the string Id of this axis. Used to associated and
Gets or sets the animated VisibleRange of the Axis. When this property is set, the axis animates the VisibleRange to the new value
The visible range.
Gets or sets the VisibleRange of the Axis. In the case of XAxis, this will cause an align to X-Axis operation to take place
Setting the VisibleRange will cause the axis to redraw
Gets the DataRange (full extents of the data) of the Axis
Gets the DataSeriesSet that this axis draws data from
Gets the Rendered Width of the axis
Gets the Rendered Height of the axis
Gets or sets the GrowBy Factor. e.g. GrowBy(0.1, 0.2) will increase the axis extents by 10% (min) and 20% (max) outside of the data range
Gets or sets the Minor Delta
Gets or sets the Major Delta
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets or sets the ParentSurface that this Axis is associated with
Gets or sets the Axis Orientation, e.g. Horizontal (XAxis) or Vertical (YAxis)
Gets or sets the Major Line Stroke for this axis
Gets or sets the Minoe Line Stroke for this axis
Gets or sets the Major Tick Line Style (TargetType ), applied to all major ticks on this axis
The depth of the tick is defined by the and properties. For instance, setting
Y2 and X2 to 6 will result in Major ticks being 6 pixels in size, whether on the X or Y axis
Gets or sets the Minor Tick Line Style (TargetType ), applied to all major ticks on this axis
The depth of the tick is defined by the and properties. For instance, setting
Y2 and X2 to 3 will result in Minor ticks being 6 pixels in size, whether on the X or Y axis
Gets or sets the Major Grid Line Style (TargetType ), applied to all major gridlines drawn by this axis
Gets or sets the Minor Grid Line Style (TargetType ), applied to all minor gridlines drawn by this axis
Gets or sets whether this Axis should AutoRange. Default is False
If true, the axis should scale to fit the data, else false.
GrowBy is applied when the axis scales to fit
Gets or sets the Text Formatting String for Axis Tick Labels on this axis
Gets or sets the Text Formatting String for Labels on this cursor
Gets or sets a instance, which may be used to programmatically override the formatting of text and cursor labels.
For examples, see the and
Gets whether this axis is an X-Axis or not
Gets whether the VisibleRange is valid, e.g. is not null, is not NaN and the difference between Max and Min is not zero
Gets or sets the Axis Title
Gets or sets the tick text brush applied to text labels
The tick text brush
Gets or sets whether to auto-align the visible range to the data when it is set. Note that this property only applies to the X-Axis.
The default value is True. Whenever the is set on the X-Axis, the Min and Max values will be aligned to data values in the
If True, draws Minor Tick Lines, else skips this step
If True, draws Major Tick Lines, else skips this step
If True, draws Major Grid Lines, else skips this step
If True, draws Minor Grid Lines, else skips this step
Gets or sets the horizontal alignment characteristics that are applied to a when it is composed in a layout parent, such as a panel or items control.
A horizontal alignment setting, as a value of the enumeration. The default is .
Gets or sets the vertical alignment characteristics that are applied to a when it is composed in a parent object such as a panel or items control.
A vertical alignment setting. The default is .
Gets or sets the , e.g. Linear or Logarithmic, that this Axis operates in
Gets or sets the for this Axis. Default is Right.
Gets a value indicating whether this instance is a category axis.
Gets or sets whether current Axis is the main one in axis collection. This is the axis which is responsible for drawing grid lines on the and by default,
is the first axis in the collection
Primary axis determines grid coordinates
Gets the modifier axis canvas, which is used by the CursorModifier to overlay cursor labels and by AxisMarkerAnnotations
Gets or sets the visibility of the Axis
Gets or sets a flag indicating whether to flip the tick and pixel coordinate generation for this axis, causing the axis ticks to decrement and chart to be flipped in the axis direction
If true reverses the ticks and coordinates for the axis.
The Default Axis Id for new Axes
Defines the minimum distance to the edge of the chart to cull axis labels
Gets the Minimum distance between labels in pixels, before labels are culled
Gets the Label indent on the X-Axis
Defines the IsPrimaryAxis DependencyProperty
Defines the AxisMode DependencyProperty
Defines the AutoRange DependencyProperty
Defines the MajorDelta DependencyProperty
Defines the MinorDelta DependencyProperty
Defines the MinorDelta DependencyProperty
Defines the GrowBy DependencyProperty
Defines the VisibleRange DependencyProperty
Defines the Animated VisibleRange DependencyProperty
Defines the VisibleRangePoint DependencyProperty
Defines the DataRange DependencyProperty
Defines the AutoAlignVisibleRange DependencyProperty
Defines the Orientation DependencyProperty
Defines the AxisAlignment DependencyProperty
Defines the Id DependencyProperty
Defines the FlipCoordinates DependencyProperty
Defines the LabelFormatter DependencyProperty
Defines the TextFormatting DependencyProperty
Defines the CursorTextFormatting DependencyProperty
Defines the AxisTitle DependencyProperty
Defines the TitleFontWeight DependencyProperty
Defines the TitleFontWeight DependencyProperty
Defines the TickTextBrush DependencyProperty
Defines the StrokeThickness DependencyProperty
Defines the MajorTickLineStyle DependencyProperty
Defines the MinorTickLineStyle DependencyProperty
Defines the DrawMajorTicks DependencyProperty
Defines the DrawMinorTicks DependencyProperty
Defines the DrawLabels DependencyProperty
Defines the MajorGridLineStyle DependencyProperty
Defines the MinorGridLineStyle DependencyProperty
Defines the DrawMajorGridLines DependencyProperty
Defines the DrawMinorGridLines DependencyProperty
Defines the MaxAutoTicks DependencyProperty
Defines the AutoTicks DependencyProperty
Gets the last label size, used when culling labels that are too close togther
The current CoordinateCalculator for this render pass
Initializes a new instance of the class.
Gets the aligned VisibleRange of the axis, with optional ZoomToFit flag.
If ZoomToFit is true, it will return the DataRange plus any GrowBy applied to the axis
Struct containing data for the current render pass
The VisibleRange of the axis
Gets the Maximum Range of the axis, which is equal to the DataRange including any GrowBy factor applied
From the starting , scrolls to a new range by the specified number of pixels
The start visible range
Scroll N pixels from the start visible range
From the starting , scrolls to a new range by the specified number of pixels, with the specified range limit
The start visible range
Scroll N pixels from the start visible range
The range limit.
Translates the VisibleRange of the XAxis by the specified number of datapoints
The delta X.
Throws if the axis is not an XAxis
Gets the current for this Axis, based on current Visible Range and axis type
Gets an struct with info about the current axis setup
Resumes updates on the target, intended to be called by IUpdateSuspender
Called by IUpdateSuspender each time a target suspender is disposed. When the final
target suspender has been disposed, ResumeUpdates is called
Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued
The disposable Update Suspender
Sets the cursor for this Axis
The Cursor instance
Performs a hit test on the Axis, returning the Data Value at the specific x or y pixel coordinate. This operation is the opposite of
If the Axis is an XAxis, the coordinate passed in is an X-pixel. If the axis is a Y Axis, the coordinate is a Y-pixel
The pixel coordinate on this Axis corresponding to the input DataValue
An struct containing the datavalue and formatted data value at this coordinate
Given the Data Value, returns the x or y pixel coordinate at that value on the Axis. This operation is the opposite of
If the Axis is an XAxis, the coordinate returned is an X-pixel. If the axis is a Y Axis, the coordinate returned is a Y-pixel
The DataValue as input
The pixel coordinate on this Axis corresponding to the input DataValue
Given an axis with a VisibleRange of 1..10 and height of 100, a value of 7 passed in to GetCoordinate would return 70 pixels
Translates the point relative to the other hittestable element
The point.
The relative to.
Returns true if the Point is within the bounds of the current HitTestable element
The point to test
true if the Point is within the bounds
Gets the bounds of the current HitTestable element relative to another HitTestable element
The relative to.
Called when the axis should redraw itself.
Checks if the VisibleRange is valid, e.g. is not null, is not NaN, the difference between Max and Min is positive
Clears axis labels, ticks and gridlines off this axis
String formats the text, using the property as a formatting string
The data value to format
A composite format string
The string formatted data value
String formats text for the cursor, using the property as a formatting string
The data value to format
A composite format string
The string formatted data value
Calcuates the delta's for use in this render pass
Draws the ticks and gridlines during a render pass
The canvas to draw ticks on.
Size of the panel to draw on.
The tick coords containing all coordinates for ticks and gridlines.
Measures the size required to draw tick marks on the axis
Measures the size required to draw the longest tick label on the axis
When overridden in a derived class, is invoked whenever application code or internal processes call .
Draws a single tick on the axis, using the specified Style (TargetType ), and integer coordinate.
The canvas to draw on.
The Style (TargetType ) to apply to the tick line
The X or Y direction to draw the tick
The integer coordinate to draw at. If direction is , the coodinate is an X-coordinate, else it is a Y-coordinate
If direction is , the coodinate is an X-coordinate, else it is a Y-coordinate
Draws a single grid line on the , using the specified Style (TargetType ), and integer coordinate.
If direction is , the coodinate is an X-coordinate, else it is a Y-coordinate
ID for the line
The Style (TargetType ) to apply to the grid line
The X or Y direction to draw the
The integer coordinate to draw at. If direction is , the coodinate is an X-coordinate, else it is a Y-coordinate
Raises the VisibleRangeChanged event
The containing event data
Aligns the visible range to the data and sets on the VisibleRange proprety. Used for category axis types
The visible range to align
When current VisibleRange is invalid, tries to replace it by ,
if both ranges are invalid, throws an exception
The range to apply
The previous VisibleRange
The value, which indicates whether the VisibleRange is applied or no
Throws appropriate exceptions if the VisibleRange has a wrong type, or VisibleRange.Min > VisibleRange.Max,
or the AxisMode == Logarithmic and the range can't be applied
Provides a DependencyProperty callback which invalidates the parent
Calculates max auto ticks amount, which is >= 1
Called internally to arrange and measure the axis, before a render pass
Performs a fast measure of the axis, using tick size, single label size showing the maximum value formatted
The size of the axis
Called internally immediately before a render pass begins
Asynchronously requests that the element redraws itself plus children.
Will be ignored if the element is ISuspendable and currently IsSuspended (within a SuspendUpdates/ResumeUpdates call)
Overridden by derived types, called internal to calculate MinorTicks, MajorTicks before Axis drawing
Converts arrays of major and minor ticks (data values) into structure containing pixel coordinates
The minor ticks, cast to double
The major ticks, cast to double
The structure containing pixel coordinates
Checks whether GridLinesPanel contains passed coordinate
Called internal to draw gridlines before Axis drawing
Gets the integer indices of the X-Data array that are currently in range.
The indices to the X-Data that are currently in range
If the input X-data is 0...100 in steps of 1, the VisibleRange is 10, 30 then the PointRange will be 10, 30
Asserts the is of the correct type for this axis
The range to assert
Asserts the type passed in is supported by the current axis implementation
Checks whether is valid visible range for this axis
Clones this instance.
Animates the visible range of the axis to the destination VisibleRange, over the specified Duration.
Also see property which has a default duration of 500ms
The end range
The duration of the animation.
Checks whether is not Null and is of valid type for this axis
Raises the event, as part of implementation
Name of the property.
Event raised immediately after the measures itself
Raised when the VisibleRange is changed
Gets whether the current axis is an X-Axis or not
Gets or sets whether current Axis is the main one in axis collection
Primary axis determinate coordinate grid
Gets or sets whether to auto-align the visible range to the data when it is set. Note that this property only applies to the X-Axis.
The default value is False. Whenever the is set on the X-Axis, the Min and Max values will be aligned to data values in the
true if [auto align visible range]; otherwise, false.
Gets whether the VisibleRange is valid, e.g. is not null, is not NaN and the difference between Max and Min is not zero
Gets or sets the width of the element.
The width of the element, in device-independent units (1/96th inch per unit). The default value is . This value must be equal to or greater than 0.0. See Remarks for upper bound information.
Gets or sets the suggested height of the element.
The height of the element, in device-independent units (1/96th inch per unit). The default value is . This value must be equal to or greater than 0.0. See Remarks for upper bound information.
Gets or sets the ParentSurface that this Axis is associated with
The parent surface.
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets the DataSeriesSet that this axis draws data from
Gets or sets the Axis Title
The axis title.
Gets or sets the Axis Title Font Weight
Gets or sets the Axis Title Font Size
Gets or sets the Text Formatting String for Tick Labels on this axis
The text formatting.
Gets or sets the Text Formatting String for Labels on this cursor
Gets or sets a instance, which may be used to programmatically override the formatting of text and cursor labels.
For examples, see the and
Gets or sets the , e.g. Linear or Logarithmic, that this Axis operates in
Gets or sets whether this Axis should AutoRange. Default is False
If true, the axis should scale to fit the data, else false.
Gets or sets the GrowBy Factor. e.g. GrowBy(0.1, 0.2) will increase the axis extents by 10% (min) and 20% (max) outside of the data range
The grow by factor as a DoubleRange.
Gets or sets a flag indicating whether to flip the tick and pixel coordinate generation for this axis, causing the axis ticks to decrement and chart to be flipped in the axis direction
If true reverses the ticks and coordinates for the axis.
Gets or sets the Major Delta
The major delta.
Gets or sets the number of Minor Delta ticks per Major Tick
The major delta.
Gets or sets the max ticks.
The max ticks.
Gets or sets value, that indicates whether calculate ticks automatically. Default is True.
Gets or sets the Minor Delta
The minor delta.
Gets or sets the tick text brush applied to text labels
The tick text brush
Gets or sets the Major Line Stroke for this axis
The major line stroke.
Gets or sets the Minoe Line Stroke for this axis
The minor line stroke.
Gets or sets the Major Tick Line Style (TargetType ), applied to all major ticks on this axis
The major tick line style.
Gets or sets the Minor Tick Line Style (TargetType ), applied to all major ticks on this axis
The minor tick line style.
Gets or sets the Major Grid Line Style (TargetType ), applied to all major gridlines drawn by this axis
The major grid line style.
Gets or sets the Minor Grid Line Style (TargetType ), applied to all minor gridlines drawn by this axis
The minor grid line style.
If True, draws Minor Tick Lines, else skips this step
If True, draw labels for each major tick on the Axis, else skips this step
If True, draws Major Tick Lines, else skips this step
If True, draws Major Grid Lines, else skips this step
If True, draws Minor Grid Lines, else skips this step
Gets or sets the Axis Orientation, e.g. Horizontal (XAxis) or Vertical (YAxis)
The orientation.
Gets or sets the for this Axis. Default is Right.
Gets or sets the string Id of this axis. Used to associated and
Gets or sets the stroke thickness.
The stroke thickness.
Gets a value indicating whether updates for the target are currently suspended
Gets the ModifierAxisCanvas, which may be used to overlay markers on the canvas
Get the instance off the parent
Gets a value indicating whether this instance is a category axis.
Gets or sets the animated VisibleRange of the Axis.
When this property is set, the axis animates the VisibleRange to the new value over a duration of 500ms
The visible range.
Gets or sets the VisibleRange of the Axis.
The visible range.
Gets the DataRange (full extents of the data) of the Axis. NOTE: Do not set this in code - this is used internally by SciChart
The data range.
Raised when properties are changed
A structure contaning tick coordinates. Used internally when drawing tick marks and grid lines
Defines constants for how Axes behave
The Axis is a Linear Axis
The Axis is a Logarithmic Axis
Defines constants for the current axis setup for this render pass
Determines whether the specified is equal to this instance.
The to compare with this instance.
true if the specified is equal to this instance; otherwise, false.
Equalses the specified other.
The other.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Provides a DateTime axis with category XAxis implementation,
used for financial charts (stock charts)
Defines the interface to a category axis, which treats X-data as linearly increasing regardless of value
Called at the start of a render pass, passing in the root which will define the categories
the root which will define the categories
Converts the CategoryDateTimeAxis's of type to a of concrete date-values.
Note: If either index is outside of the range of data on the axis, the date values will be inteporlated.
The input
The with transformed dates that correspond to input indices
Gets the current data-point width in pixels
Defines the BarTimeFrame DependencyProperty. A default value of -1 allows the to estimate the timeframe
Defines the SubDayTextFormatting DependencyProperty
Initializes a new instance of the class.
Calculates the zoom-to-fit Y-Range of the axis, accounting for the data that
is in the viewport and applying any GrowBy margin
Struct containing data for the current render pass
The VisibleRange of the axis
Gets the Maximum Range of the axis, which is equal to the DataRange including any GrowBy factor applied
Asserts the type passed in is supported by the current axis implementation
Called internally to arrange and measure the axis, before a render pass
Performs a fast measure of the axis, using tick size, single label size showing the maximum value formatted
The size of the axis
Measures the size required to draw the longest tick label on the axis
Overridden by derived types, called internal to calculate MinorTicks, MajorTicks before Axis drawing
Calcuates the delta's for use in this render pass
Clones this instance.
Given the Data Value, returns the x or y pixel coordinate at that value on the Axis. This operation is the opposite of
The DataValue as input
The pixel coordinate on this Axis corresponding to the input DataValue
Given an axis with a VisibleRange of 1..10 and height of 100, a value of 7 passed in to GetCoordinate would return 70 pixels
If the Axis is an XAxis, the coordinate returned is an X-pixel. If the axis is a Y Axis, the coordinate returned is a Y-pixel
Asserts the is of the correct type for this axis
The range to assert
Checks whether is of valid type for this axis
Checks whether is valid visible range for this axis
Performs a hit test on the Axis, returning the Data Value at the specific x or y pixel coordinate. This operation is the opposite of
The pixel coordinate on this Axis corresponding to the input DataValue
An struct containing the datavalue and formatted data value at this coordinate
Gets an struct with info about the current axis setup
Called at the start of a render pass, passing in the root which will define the categories
the root which will define the categories
Raises the VisibleRangeChanged event
The containing event data
Converts the CategoryDateTimeAxis's of type to a of concrete date-values.
Note: If either index is outside of the range of data on the axis, the date values will be inteporlated.
The input
The with transformed dates that correspond to input indices
Gets or sets the Text Formatting String used for Axis Tick Labels when the range of the axis is sub-day
The text formatting.
Gets or sets the Bar Time Frame in seconds. This is the number of seconds that each data-point represents on the and is required for proper rendering.
A default value of -1 allows the to estimate the timeframe
Gets the DataRange (full extents of the data) of the Axis.
In the case of the CategoryDateTimeAxis this is measured in data-points (or bars)
The data range.
Gets the current data-point width, which is the width of one data-point in pixels on the category axis
Gets a value indicating whether this instance is category axis.
Interface to define a LabelFormatter. The LabelFormatter may be set or data-bound to the property, allowing
programmatic overriding of axis labels.
Create a class which implements and return string values from the and methods
Called when the label formatted is initialized as it is attached to the parent axis, with the parent axis instance
The parent instance
Called at the start of an axis render pass, before any labels are formatted for the current draw operation
Formats a label for the axis from the specified data-value passed in
The data-value to format
The formatted label string
Formats a label for the cursor, from the specified data-value passed in
The data-value to format
The formatted cursor label string
The DefaultLabelFormatter is a pass-through which uses the and properties
to format axis and cursor label texts
Called when the label formatted is initialized, with the parent axis instance
The parent instance
Called at the start of an axis render pass, before any labels are formatted for the current draw operation
Formats a label for the cursor, from the specified data-value passed in
The data-value to format
The formatted cursor label string
Formats a label for the axis from the specified data-value passed in
The data-value to format
The formatted label string
The DateTimeLabelFormatter is a pass-through which uses the and properties
to format axis and cursor label texts. It also uses the property to alter text-formatting when the date-range
switches to intra-day
Called when the label formatted is initialized, with the parent axis instance
The parent instance
Called at the start of an axis render pass, before any labels are formatted for the current draw operation
Formats a label for the cursor, from the specified data-value passed in
The data-value to format
The formatted cursor label string
Formats a label for the axis from the specified data-value passed in
The data-value to format
The formatted label string
The DateTimeLabelFormatter is only valid on instances of DateTimeAxis
A LabelFormatter instance to use on stock charts. Designed to be used with the and applied by default on the control
Called when the label formatted is initialized, with the parent axis instance
The parent instance
The TradeChartAxisLabelFormatter is only valid on instances of CategoryDateTimeAxis
Called at the start of an axis render pass, before any labels are formatted for the current draw operation
Formats a label for the cursor, from the specified data-value passed in
The data-value to format
The formatted cursor label string
Formats a label for the axis from the specified data-value passed in
The data-value to format
The formatted label string
Provides
Defines the Text DependencyProperty
Defines the TextAlignment DependencyProperty
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Gets or sets the text of the tick label
The text.
Gets or sets the text alignment of the tick label
The text alignment.
Provides a Linear DateTime Axis, capable of rendering DateTime ticks
Defines the SubDayTextFormatting DependencyProperty
Initializes a new instance of the class.
Calculates the zoom-to-fit Y-Range of the axis, accounting for the data that
is in the viewport and applying any GrowBy margin
Struct containing data for the current render pass
The VisibleRange of the axis
Gets the Maximum Range of the axis, which is equal to the DataRange including any GrowBy factor applied
Asserts the type passed in is supported by the current axis implementation
Calcuates the delta's for use in this render pass
Called internally to arrange and measure the axis, before a render pass
Performs a fast measure of the axis, using tick size, single label size showing the maximum value formatted
The size of the axis
Measures the size required to draw the longest tick label on the axis
Overridden by derived types, called internal to calculate MinorTicks, MajorTicks before Axis drawing
Asserts the is of the correct type for this axis
The range to assert
Clones this instance.
Checks whether is of valid type for this axis
Gets or sets the minor delta.
The minor delta.
Gets or sets the major delta.
The major delta.
Gets the DataRange (full extents of the data) of the Axis
The data range.
Gets or sets the major delta.
The major delta.
Gets or sets the minor delta.
The minor delta.
Gets or sets the Text Formatting String used for Axis Tick Labels when the range of the axis is sub-day
The text formatting.
Provides a Numeric Linear Axis, capable of rendering double, floating point, integer types
Defines the ScientificNotation DependencyProperty
Initializes a new instance of the class.
Calcuates the delta's for use in this render pass
Measures the size required to draw the longest tick label on the axis
Overridden by derived types, called internal to calculate MinorTicks, MajorTicks before Axis drawing
Gets the aligned VisibleRange of the axis, with optional ZoomToFit flag.
If ZoomToFit is true, it will return the DataRange plus any GrowBy applied to the axis
Struct containing data for the current render pass
The VisibleRange of the axis
Gets the Maximum Range of the axis, which is equal to the DataRange including any GrowBy factor applied
Asserts the type passed in is supported by the current axis implementation
Asserts the is of the correct type for this axis
The range to assert
Clones this instance.
Checks whether is of valid type for this axis
Gets or sets the major delta.
The major delta.
Gets or sets the minor delta.
The minor delta.
Gets the DataRange (full extents of the data) of the Axis
The data range.
Gets or sets used number format
Provides two instances to draw horizontal and vertical gridlines behind the
Defines the interface to the , a canvas control which displays grid lines behind the
Clears the grid lines in a specific direction
The to clear in, e.g. clears the X-Axis gridlines
Adds a line to the panel in the specific
The to clear in, e.g. adds an X-Axis gridline
The line to add
Generates and adds a element to the . Applies the direction and style to the line as
well as Id so they may be re-used (pooled)
The line Id
The direction, X or Y
The style to apply to the line
The instance, which has been added to the
Removes all instances after the specified index. This method is used when re-drawing the
when the number of lines has reduced from one redraw to the next.
The direction to clear, X or Y
The index to remove after (inclusive)
Gets the width of the panel in pixels
Gets the height of the panel in pixels
Gets the thickness of any border applied to the panel
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Clears the grid lines in a specific direction
The to clear in, e.g. clears the X-Axis gridlines
Adds a line to the panel in the specific
The to clear in, e.g. adds an X-Axis gridline
The line to add
Generates and adds a element to the . Applies the direction and style to the line as
well as Id so they may be re-used (pooled)
The line Id
The direction, X or Y
The style to apply to the line
The instance, which has been added to the
Removes all instances after the specified index. This method is used when re-drawing the
when the number of lines has reduced from one redraw to the next.
The direction to clear, X or Y
The index to remove after (inclusive)
Sets the event aggregator instance used throughout SciChart
The event aggregator instance.
Gets the width of the panel in pixels
Gets the height of the panel in pixels
Defines constants for X or Y direction, used by to specify creation of X or Y grid line
Refers to the X-Axis Direction
Refers to the Y-Axis Direction
Refers to both X and Y Axis Direction
Defines constants for Pan or Zoom actions, used by to specify required action
Refers to pan action
Refers to zoom action
Defines constants for scientific or engineering notation on . For instance,
using None gives default tick labels, whereas using Normalized gives a scientific notation with superscript
Default tick labelling, e.g. 10000
Normalized (Scientific) tick labelling, e.g. 1x10^4 with superscript
Engineering tick labelling, e.g. 1E+4 without superscript
Defines constants for behavior of the ZoomPanModifier.
- ClipMode.None means you can pan right off the edge of the data into uncharted space.
- ClipMode.StretchAtExtents causes a zooming (stretch) action when you reach the edge of the data.
- ClipAtExtents forces the panning operation to stop suddenly at the extents of the data
ClipMode.None means you can pan right off the edge of the data into uncharted space.
ClipMode.StretchAtExtents causes a zooming (stretch) action when you reach the edge of the data.
ClipAtMin forces the panning operation to stop suddenly at the minimum of the data, but expand at the maximum
ClipAtMax forces the panning operation to stop suddenly at the maximum of the data, but expand at the minimum
ClipAtExtents forces the panning operation to stop suddenly at the extents of the data
Defines Enumeration Constants for modes of operation of the
Abosolute Scale mode: the dragging scales the YAxis VisibleRange property directly. This may only be used when YAxis.AutoRange=false
Relative mode: the dragging scales the YAxis VisibleRange indirectly, via the GrowBy property. This may be used when YAxis.AutoRange=true
Pan mode: the dragging pans the YAxis VisibleRange, allowing a vertical scroll. This may only be used with YAxis.AutoRange=false
Defines the base interface to the Canvas that instances interact with
Clears all children off the
Captures the mouse on the canvas
Releases the mouse capture on the canvas
Gets the width of the
Gets the height of the
Gets or sets whether UIElements added to the ModifierSurface should clip to bounds or not
Gets the collection of UIElement children drawn on the canvas
Defines the ChartModifierSurface, which acts as an overlay on top of the for drawing annotations,
Defines the ClipToBounds DependencyProperty
Initializes a new instance of the class.
Clears all children off the
Translates the point relative to the other element
The input point relative to this
The other to use when transforming the point
The transformed Point
Returns true if the Point is within the bounds of the current element
The point to test, translated relative to RootGrid
true if the Point is within the bounds
Gets the bounds of the current element relative to another element
The relative to.
Gets or sets whether UIElements added to the ModifierSurface should clip to bounds or not
Gets the collection of UIElement children drawn on the canvas over the top of the
Event arguments for the Range slider RangeSelectionChanged event
sets the range start and range stop for the event args
The new range start set
The new range stop set
sets the range start and range stop for the event args
sets the range for the event args
Event Args used by the event
Initializes a new instance of the class.
The old range.
The new range.
Gets the old before the operation
Gets the new before the operation
Defines the interface to a , which is the high-performance viewport for SciChart
Clears the viewport
Gets a struct to begin drawing
Causes the to invalidate and push updates to the WPF or Silverlight Rendering pipeline
Recreates the WriteableBitmap used by the Viewport
Returns True if the contains the instance
the instance
Adds the instance to the
Removes the from the
Clears all on the
Creates an instance to perform drawing operations. Note this is only valid for the current render pass
Gets or sets the instance
Gets the Actual Width of the
Sets the Actual Width of the
Returns True if the size has changed and the viewport needs resizing
Returns true if the size is valid for drawing
Defines the interface to the Maingrid, a root grid which hosts the
Defines the Maingrid, a root grid which hosts the
Initializes a new instance of the class.
Translates the point relative to the other hittestable element
The point.
The relative to.
Returns true if the Point is within the bounds of the current HitTestable element
The point to test
true if the Point is within the bounds
Gets the bounds of the current HitTestable element relative to another HitTestable element
The relative to.
Occurs when the middle mouse button is pressed while the mouse pointer is over a .
Occurs when the middle mouse button is released while the mouse pointer is over a . However, this event will only be raised if a caller marks the preceding event as handled; see Remarks.
Provides a high-performance viewport for instances to be drawn
Initializes a new instance of the class.
Causes the to invalidate and push updates to the WPF or Silverlight Rendering pipeline
Recreates the WriteableBitmap used by the Viewport
Clears the viewport
Returns True if the contains the instance
the instance
true if the specified renderable series contains series; otherwise, false.
Adds the instance to the
The renderable series.
Removes the from the
The renderable series.
Clears all on the
Creates an instance to perform drawing operations. Note this is only valid for the current render pass
Gets a struct to begin drawing
Gets or sets the instance
The services.
Returns True if the size has changed and the viewport needs resizing
Returns true if the size is valid for drawing
Defines the interface to the , which contains a single viewport
for rendering multiple , X and Y instances, and a data source
Removes all DataSeries from the SciChart
Zooms the chart to the extents of the data, plus any X or Y Grow By fraction set on the X and Y Axes
Sets a Cursor on the SciChartSurface
The new Cursor
Zooms the chart to the extents of the data in the Y-Direction, accounting for the current data in view in the X-direction
Preparations for a render pass, called internally, returns the viewport size
Returns true if the Point is within the bounds of the current HitTestable element
The point to test
true if the Point is within the bounds
Gets the bounds of the current HitTestable element relative to another HitTestable element
The relative to.
Translates the point relative to the other hittestable element
The point.
The relative to.
Zooms to extents with the specified animation duration
The duration of animation when zooming to extents
Equivalent of calling YAxis.GetMaximumRange() however returns the max range only for that axis (by the data-series on it)
Event raised at the end of a single render pass
Gets or sets the DataSeries that this SciChartSurface binds to
Gets or sets the current ChartModifier, which alters the behaviour of the chart
Gets the ModifierSurface, which is used to draw primitives for the Chart ModifiersC:\Andrew Sandbox\SciChart\trunk\src\SciChart\Abt.Controls.SciChart\Properties\AssemblyInfo.cs
Gets the which provides renderable annotations over the
Gets or sets the XAxis control on the SciChartSurface
Gets or sets the primary YAxis control on the SciChartSurface (default side=Right)
Gets the collection of Y-Axis that this SciChartSurface measures against
Gets the GridLinesPanel where gridlines are drawn
Gets the collection of RenderableSeries that this SciChartSurface draws.
The IndexOf RenderableSeries maps 1:1 to index of DataSeries in the dataset.
If a RenderableSeries.IsEnabled=false, then this series is skipped when evaluating the series to draw
Gets the collection of RenderableSeries that are selected.
The renderable series.
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets the Root Grid that hosts the SciChart RenderSurface, GridLinesPanel, X-Axis and Y-Axes (Left and right)
Gets or sets the current ViewportManager, which alters the behaviour of the viewport (X,Y range) when the chart is rendered
Gets the Annotation Canvas over the chart
Gets the Annotation Canvas under the chart
Gets the Adorner Layer over the chart
Gets the number of license days remaining
The SeriesSource property allows data-binding to a collection of instances,
for pairing of with
Gets the which this draws on
Provides a Legend control to display series color and name
Defines the LegendData Dependency property
Defines the ShowVisibilityCheckboxes DependencyProperty
Initializes a new instance of the class.
Gets or sets the which provides SeriesInfo property
Gets or sets whether a column of checkboxes bound to the Visibility of series is shown
A slider that provides the a range
Provides the NonSelectedRangeColor for non selected range
Provides the SeriesColor for IRenderableSeries
Provides the AreaColor for FastMountainRenderableSeries
Provides the DataSeriesIndex for IRenderableSeries
Provides the ParentSurface which this overview control is associated with
Selected range of the range slider
Defines the SelectedRangePoint DependencyProperty, used internally for animations
The min value of the selected range of the range slider
The max value of the selected range of the range slider
Default constructor
Raises the event
The containing the event data
Overide to get the visuals from the control template
Asynchronously requests that the element redraws itself plus children.
Will be ignored if the element is ISuspendable and currently IsSuspended (within a SuspendUpdates/ResumeUpdates call)
Animates the SelectedRange property from its current start position to the destination over the specified duration.
Use this to get a smooth animated effect from one position to the next
Event raised whenever the selected range is changed
Returns the instance that this Overview control hosts.
Gets or sets the color of the non selected range.
The color of the non selected range.
Gets or sets the SeriesColor.
The color of the series.
Gets or sets the Area Color for the . The mountain chart outline is specified by
Gets or sets the DataSeriesIndex used to draw the background chart
Selected range of the range slider
Gets or sets the ParentSurface which this overview control is bound to
The max value of the selected range of the range slider
The min value of the selected range of the range slider
Provides information on an axis hit test operation, see for more information
Gets or sets the current Axis Title
Gets or sets the current Axis alignment
Gets or sets the DataValue at the axis hit test point
Gets or sets a Formatted data value using the Axis.FormatText method
Gets or sets the current orientation, X, or Y
Gets or sets a Cursor Formatted data value, using the Axis.FormatText method
Defines the Base class for all RenderableSeries within SciChart
Defines the interface to all RenderableSeries within SciChart
Defines the base interface for an object that can be drawn
Called when the instance is drawn
The used for drawing
Contains arguments and parameters for this render pass
Gets or sets the width of the in pixels
Gets or sets the height of the in pixels
Performs a hit-test at the specific mouse point (X,Y coordinate on the parent ),
returning a struct with the results
The mouse point on the parent
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or
A struct with the results
Event raised whenever IsSelected property changed
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets or sets whether the series is visible when drawn
Gets or sets whether this series uses AntiAliasing when drawn
Gets or sets the used when drawing this series
-
None: Do not use resampling when redrawing a series
MinMax: Resample by taking the min-max of oversampled data. This results in the most visually accurate resampling, with the most performant rendering
-
Mid: Resample by taking the median point of oversampled data
-
Max: Resample by taking the maximum point of oversampled data
-
Min: Resample by taking the minimum point of oversampled data
Gets or sets the DataSeries associated with this series
Gets or sets the XAxis that this is associated with
Gets or sets the SeriesColor.
This is used by each series type in different ways. For instance:
-
and uses the SeriesColor to draw the line series
-
uses the SeriesColor to draw the line over the filled area
-
uses the SeriesColor to draw the first line of the pair
-
uses this property to draw the outline of the columns
-
and all ignore this property
Gets or sets style for selected series
Gets or sets value, indicates whether this is selected
Gets a cached Framework Element which is used as a Rollover Marker.
This is generated from a ControlTemplate in xaml via the DependencyProperty
Gets or sets the ID of the Y-Axis which this renderable series is measured against
Gets or sets the RenderPassData instance used for this render pass
The render data.
Gets or sets the Index to the which this renderable series draws its data from
Gets or Sets an optional instance, which may be used to override specific data-point colors during rendering.
For more details, see the documentation
Gets or sets the StrokeThickness in pixels for this series
Defines the StrokeThickness DependencyProperty
Defines the IsSelected DependencyProperty
Defines the DataSeriesIndex DependencyProperty
Defines the DataSeries DependencyProperty
Defines the IsVisible DependencyProperty
Defines the SeriesColor DependencyProperty
Defines the SelectedSelectedSeriesStyle DependencyProperty
Defines the ResamplingMode DependencyProperty
Defines the AntiAliasing DependencyProperty
Defines the PointMarkerTemplate DependencyProperty
Defines the RolloverMarkerTemplate DependencyProperty
Defines the AxisAlignment DependencyProperty
Defines the PaletteProvider DependencyProperty
Initializes a new instance of the class.
Raises the which causes the parent to invalidate
Called when the dependency property changes. Allows derived types to do caching
Used internally by the renderer. Asserts that the input data-type is of the correct format for the current
The type of the series point.
Type of the data series.
Called when the instance is drawn
The used for drawing
The current render pass data
Gets the width of data-points, used to compute column and OHLC bar widths
The current x coordinate calculator.
The current being rendered.
The width fraction from 0.0 to 1.0, where 0.0 is infinitey small, 0.5 takes up half the available width and 1.0 means a data-point is the full width between points
widthFraction should be between 0.0 and 1.0 inclusive;widthFraction
Performs a hit-test at the specific mouse point (X,Y coordinate on the parent ),
returning a struct with the results
The mouse point on the parent
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or
A struct with the results
Called when resampling mode changes
Interpolation function called by when the inpolate flag is true
Mouse point
Non-interpolated
Intepolated
Called by to get the nearest (non-interpolated) to the mouse point
The mouse point
The result
When called, invalidates the parent
The DependencyObject that raised the event.
The instance containing the event data.
Returns new instance of , which was created from the
Creates a RolloverMarker from the RolloverMarkerTemplate property
Event raised whenever IsSelected property changed
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets or sets whether the series is visible when drawn
Gets or sets the StrokeThickness of the line.
Note that increasing stroke thickness from 1 will have a detrimental effect on performance
Gets or sets the resampling resolution. The default is 2, which results in Nyquist resampling. Lower values are not permitted. Higher values result in potentially more visually accurate rendering, but at the expense of performance
The resampling resolution.
Gets or Sets an optional instance, which may be used to override specific data-point colors during rendering.
For more details, see the documentation
Gets a cached Framework Element which is used as a Rollover Marker.
This is generated from a ControlTemplate in xaml via the DependencyProperty
Gets or sets the PointMarker ControlTemplate, which defines the point-marker Visual to be rendered on each datapoint of the series
The ControlTemplate is used to template the visuals only for a blank control, creating a new instance per .
the resulting FrameworkElement is cached to bitmap and drawn on each redraw of the series, so any triggers, mouse interactions on the ControlTemplate will be lost
Gets or sets the RolloverMarker ControlTemplate, which defines the Visual to be rendered on the series when the is enabled and the user moves the mouse.
The ControlTemplate is used to template the visuals only for a blank control, creating a new instance per
Gets or sets the ID of the Y-Axis which this renderable series is measured against
Gets or sets whether this series uses AntiAliasing when drawn
true if anti aliasing is enabled; otherwise, false.
Gets or sets the used when drawing this series
The resampling mode.
Gets or sets the SeriesColor.
The color of the series.
Gets or sets a style for selected series.
The style of the selected series.
Gets or sets the IsSelectedProperty.
The color of the selected series.
Gets or sets the DataSeries associated with this series
The data series.
Gets or sets the Index to the which this renderable series draws its data from
Gets or sets the RenderPassData instance used for this render pass
The render data.
Gets or sets the XAxis that this is associated with
The X axis.
Gets or sets the width of the element.
The width.
The width of the element, in device-independent units (1/96th inch per unit). The default value is . This value must be equal to or greater than 0.0. See Remarks for upper bound information.
Gets or sets the suggested height of the element.
The height.
The height of the element, in device-independent units (1/96th inch per unit). The default value is . This value must be equal to or greater than 0.0. See Remarks for upper bound information.
Gets a value indicating whether this is valid for drawing.
Defines a Custom Renderable Series - override Draw() to define what is drawn to the screen at render time
Draws the series using the and the passed in
The render context. This is a graphics object which has methods to draw lines, quads and polygons to the screen
The render pass data. Contains a resampled , the of points on the screen
and the current YAxis and XAxis to convert data-points to screen points
A raster RenderableSeries type which displays two lines and shaded bands between them, where band-colors depend on whether one line is greater than the other
For usage, bind to an and set the , ,
and properties
Defines the IsDigitalLine DependencyProperty
Defines the Series1Color DependencyProperty
Defines the BandUpColor DependencyProperty
Defines the BandDownColor DependencyProperty
Initializes a new instance of the class.
Performs a hit-test at the specific mouse point (X,Y coordinate on the parent ),
returning a struct with the results
The mouse point on the parent
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or
A struct with the results
Gets or sets a value indicating whether this line series is a digital (step) line
Gets or sets the SeriesColor of the Y1 line. For the Y0 line, use SeriesColor
Gets or sets the Color of the shaded area when Y1 is less than Y0
Gets or sets the Color of the shaded area when Y1 is greater than Y0
Gets or sets the RolloverMarker for one of the series
Provides Impulse series rendering, which draws a vertical line from zero to with an optional point-marker at the end of the line
Initializes a new instance of the class.
Called when the dependency property changes. Allows derived types to do caching
Performs a hit-test at the specific mouse point (X,Y coordinate on the parent ),
returning a struct with the results
The mouse point on the parent
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or
A struct with the results
Base class for custom Palette Providers, which may be used to override bar, candle or OHLC colors for individual points during rendering
Defines the interface to a PaletteProvider. By implementing this interface, you can override colors on a by setting or binding to the property.
On each point, the GetColor or OverrideColor methods will be called, allowing you the chance to return a custom color for that point.
When called for an X,Y point, override the color on the attached .
Return null to keep the default series color
Return a value to override the series color
The source
The X-value of the data-point
The Y-value of the data-point
The overriden color. Return null to keep the default
When called for an OHLC point, override the color on the attached .
Return null to keep the default series color
Return a value to override the series color
The source
The x value.
The open value.
The high value.
The low value.
The close value.
When called for an X,Y point, override the color on the attached .
Return null to keep the default series color
Return a value to override the series color
The source
The X-value of the data-point
The Y-value of the data-point
The overriden color. Return null to keep the default
When called for an OHLC point, override the color on the attached .
Return null to keep the default series color
Return a value to override the series color
The source
The x value.
The open value.
The high value.
The low value.
The close value.
Provides Fast Candlestick series rendering, however makes the assumption that all X-Data is evenly spaced. Gaps in the data are collapsed
In order to render data as a , the input
must have OHLC data appended via the Append method
Defines the UpWickColor DependencyProperty
Defines the DownWickColor DependencyProperty
Defines the UpBodyColor DependencyProperty
Defines the DownBodyColor DependencyProperty
Defines the DataPointWidth DependencyProperty
Initializes a new instance of the class.
Called when resampling mode changes
Performs a hit-test at the specific mouse point (X,Y coordinate on the parent ),
returning a struct with the results
The mouse point on the parent
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or
A struct with the results
Gets or sets the DataPointWidth, a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy
Gets or sets the Color used for wicks and outlines on up-candles (close > open)
Gets or sets the Color used for wicks and outlines on down-candles (close < open)
Gets or sets the Color used for candle body on up-candles (close > open)
Gets or sets the Color used for candle body on down-candles (close < open)
Provides Fast Column (Bar) series rendering
Defines the FillColor DependencyProperty
Defines the DataPointWidth DependencyProperty
Defines the UniformWidth DependencyProperty
Initializes a new instance of the class.
Performs a hit-test at the specific mouse point (X,Y coordinate on the parent ),
returning a struct with the results
The mouse point on the parent
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or
A struct with the results
Called when the dependency property changes. Allows derived types to do caching
Gets or sets the Fill Color for columns. The column outline is specified by
Gets or sets the DataPointWidth, a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy
Gets or sets the DataPointWidth, a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy
Enumeration Constants to define how double.NaN is treated in the
double.NaN gaps are treated as closed lines
double.NaN gaps are rendered as gaps
Provides Fast Line series rendering
Defines the IsDigitalLine DependencyProperty
Defines the DrawNanAs DependencyProperty
Initializes a new instance of the class.
Called when the dependency property changes. Allows derived types to do caching
Gets or sets a value indicating whether this line series is a digital (step) line
Gets or sets a value indicating how this Line series will treat double.NaN. See for available options
Provides Fast Mountain (Area) series rendering, however makes the assumption that all X-Data is evenly spaced. Gaps in the data are collapsed
Defines the IsDigitalLine DependencyProperty
Defines the AreaColor DependencyProperty
Initializes a new instance of the class.
Performs a hit-test at the specific mouse point (X,Y coordinate on the parent ),
returning a struct with the results
The mouse point on the parent
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or
A struct with the results
Called when the dependency property changes. Allows derived types to do caching
Gets or sets the Area Color for the . The mountain chart outline is specified by
Gets or sets a value indicating whether this mountain series has a digital (step) line
Provides Fast Candlestick series rendering, however makes the assumption that all X-Data is evenly spaced. Gaps in the data are collapsed
In order to render data as a , the input
must have OHLC data appended via the Append method
Defines the UpWickColor DependencyProperty
Defines the DownWickColor DependencyProperty
Defines the DataPointWidth DependencyProperty
Initializes a new instance of the class.
Called when the resampling mode changes
Performs a hit-test at the specific mouse point (X,Y coordinate on the parent ),
returning a struct with the results
The mouse point on the parent
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or
A struct with the results
Gets or sets the DataPointWidth, a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy
Gets or sets the Color used for wicks and outlines on up-candles (close > open)
Gets or sets the Color used for wicks and outlines on down-candles (close < open)
Provides information on a series hit test operation, see for more information
Provides information about the type of that was hit tested
Gets or sets a point snapped to the X-Y value of the series
Gets or sets a point snapped to the X-Y1 series
Gets or sets the X Value at the hit-test site
Gets or sets the Y-Value at the hit-test site
Gets or sets the Y1-Value at the hit-test site
Gets or sets the Open-Value at the hit-test site
Gets or sets the High-Value at the hit-test site
Gets or sets the Low-Value at the hit-test site
Gets or sets the Close-Value at the hit-test site
Gets or sets the DataSeriesIndex a the hit-test site
Gets or sets whether the HitTest operation was a hit or not
Defined as the input point being within a small distance of the output hittest point
Gets or sets whether the input point is between first and last series point or not
Provides a high performance chart surface with a single viewport
for rendering multiple , X and Y instances,
and a data source
Defines the ClipUnderlayAnnotations DependencyProperty
Defines the ClipOverlayAnnotations DepedencyProperty
Defines the ClipModifierSurface DependencyProperty
Defines the DataSet DependencyProperty
Defines the ZoomExtentsCommand DependencyProperty
Defines the XAxis DependencyProperty
Defines the YAxis DependencyProperty
Defines the YAxes DependencyProperty
Defines the Annotations DependencyProperty
Defines the AutoRangeOnStartup DependencyProperty
Defines the ChartModifier DependencyProperty
Defines the GridLinesPanelStyle DependencyProperty
Defines the RenderSurfaceStyle DependencyProperty
Defines the RenderableSeries DependencyProperty
Defines the SelectedRenderableSeries DependencyProperty
Defines the ChartTitle DependencyProperty
Defines the ViewportManager DependencyProperty
Defines the SeriesSource DependencyProperty
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Zooms to extents with the specified animation duration
The duration of animation when zooming to extents
Zooms the chart to the extents of the data, plus any X or Y Grow By fraction set on the X and Y Axes
Zooms the chart to the extents of the data in the Y-Direction, accounting for the current data in view in the X-direction
Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued
The disposable Update Suspender
Resumes updates on the target, intended to be called by IUpdateSuspender
Called by IUpdateSuspender each time a target suspender is disposed. When the final
target suspender has been disposed, ResumeUpdates is called
Removes all DataSeries from the SciChart
Sets a Cursor on the SciChartSurface
The new Cursor
Asynchronously requests that the element redraws itself plus children.
Will be ignored if the element is ISuspendable and currently IsSuspended (within a SuspendUpdates/ResumeUpdates call)
Manually applies a license key, in case automatic discovery fails
The license key string
Translates the point relative to the other hittestable element
The point.
The relative to.
Returns true if the Point is within the bounds of the current HitTestable element
The point to test
true if the Point is within the bounds
Gets the bounds of the current HitTestable element relative to another HitTestable element
The relative to.
Preparations for a render pass, called internally, returns the viewport size
The required Viewport Size
Equivalent of calling YAxis.GetMaximumRange() however returns the max range only for that axis (by the data-series on it)
Conditionally redraws or zooms to extents depending on the status of the XAxis, YAxis Visible Range.
Called by property changed handlers typically during the startup sequence
Performs autoranging for each axis with invalid visible range if is True
Gets the TemplateChild by the specified name and casts to type , asserting that the result is not null
The Type of the templated part
Name of the templated part.
The template part instance
Unable to Apply the Control Template. Child is missing or of the wrong type
Forces initialization of the SciChartSurface in the case it is being used to render off-screen (on server)
Internal Ctor used for tests
Event raised at the end of a single render pass
Returns whether the IsDirty and requires redrawing on the next render pass
Gets the number of license days remaining
Gets the Root Grid that hosts the SciChart RenderSurface, GridLinesPanel, X-Axis and Y-Axes (Left and right)
Gets the which provides access to services throughout SciChart.
ServiceContainers are created one per instance,
and shared between peripheral components such as , , instances.
For a full list of available services, see the remarks on
Gets a value indicating whether updates for the target are currently suspended
Gets or sets the RenderPriority
Gets or sets whether annotations over the chart should clip to bounds or not. Default value is True
Gets or sets whether annotations under the chart should clip to bounds or not. Default value is true
Gets or sets a value whether to clip the ChartModifierSurface property to bounds. Fefault false
Gets the collection of RenderableSeries that this SciChartSurface draws.
The renderable series.
Gets the collection of RenderableSeries that are selected.
The renderable series.
Gets or sets an optional Chart Title, displayed above the chart surface
Gets or sets a value indicating whether SciChart will attempt to perform a one-time AutoRange on startup
Gets or sets the zoom extents command, which when invoked, causes the SciChartSurface to zoom to extents
The zoom extents command.
Gets or sets the DataSeries that this SciChartSurface binds to
The data set.
Gets or sets the XAxis control on the SciChartSurface
The X axis.
Gets or sets the primary YAxis control on the SciChartSurface (default side=Right)
Gets the collection of Y-Axis that this SciChartSurface measures against
Gets the which provides renderable annotations over the
Gets or sets the ViewportManager instance on the chart, which handles behavior of the viewport on render
The renderable series.
Gets the Annotation Canvas over the chart
Gets the Annotation Canvas under the chart
Gets the Adorner Layer over the chart
Gets the ModifierSurface, which is used to draw primitives for the Chart Modifiers
Gets or sets the current ChartModifier, which alters the behaviour of the chart
The chart modifier.
Gets the GridLinesPanel where gridlines are drawn
Gets or sets the GridLinesPanel style.
The grid lines panel style.
Gets or sets the RenderSurface style.
The render surface style.
The SeriesSource property allows data-binding to a collection of instances,
for pairing of with
Enumeration constants to define the render priority for series rendering on the
Renders immediately on data update, as opposed to waiting for the CompositionTarget.Rendering event
SciChart renders whenever there is new data and the CompositionTarget.Rendering event has fired.
This is the default option
SciChart renders whenever there is new data and the CompositionTarget.Rendering event has fired,
but with a lower priority than input (mouse) events
Never redraws automatically. You must manually call InvalidateElement() or ZoomExtents() on the SciChartSurface in order to get it to redraw
Defines the interface to , the data used in a single render pass by derived types
Gets the integer indices of the X-Data array that are currently in range.
The indices to the X-Data that are currently in range
If the input X-data is 0...100 in steps of 1, the VisibleRange is 10, 30 then the PointRange will be 10, 30
Gets the current point series.
Gets the current Y coordinate calculator.
Gets the current X coordinate calculator.
Provides data used in a single render pass by derived types
Initializes a new instance of the class.
The integer indices to the X-data array that are currently in range.
The current X Coordinate Calculator
The current Y Coordinate Calculator
The resampled PointSeries to draw
Gets the current Y coordinate calculator.
Gets the current X coordinate calculator.
Gets the current point series.
Gets the integer indices of the X-Data array that are currently in range.
The indices to the X-Data that are currently in range
If the input X-data is 0...100 in steps of 1, the VisibleRange is 10, 30 then the PointRange will be 10, 30
Placeholder class for an empty control. Should be styled via control template
Placeholder class for a PointMarker. Should be styled via control template
Creates a new instance of
When overridden in a derived class, is invoked whenever application code or internal processes call .
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the -derived class.
The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.
The size that this element determines it needs during layout, based on its calculations of child element sizes.
When overridden in a derived class, positions child elements and determines a size for a derived class.
The final area within the parent that this element should use to arrange itself and its children.
The actual size used.
Provides Scatter series rendering via the property.
does not support resampling and so ignores the property
Provides a high performance Stock Chart control surface with a viewport.
Templated to inclue a as XAxis and as YAxis.
The SciStockChart can have an data source, or use the new MVVM API (see the property)
Defines the DrawMajorGridLines DependencyProperty
Defines the DrawMinorGridLines DependencyProperty
Defines the MinorsPerMajor DependencyProperty
Defines the XAxisTextFormatting DependencyProperty
Defines the YAxisTextFormatting DependencyProperty
Defines the DrawXLabels DependencyProperty
Defines the IsCursorEnabled DependencyProperty
Defines the IsPanEnabled DependencyProperty
Defines the IsRubberBandZoomEnabled DependencyProperty
Defines the BarTimeFrame DependencyProperty
Defines the XAxisVisibleRange DependencyProperty
Defines the IsXAxisVisible DependencyProperty
Initializes a new instance of the class.
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Zooms the chart to the extents of the data, plus any X or Y Grow By fraction set on the X and Y Axes
Gets or sets a value indicating whether the X axis is visible.
Gets or sets a value indicating whether to draw major gridlines on both X and Y axes
Gets or sets a value indicating whether to draw minor gridlines on both X and Y axes
Gets or sets the number of minor gridlines to draw between major gridlines
Gets or sets the XAxis TextFormatting string. This is a string format, e.g. 'dd MMM yyyy' would yield '01 MAR 2012'.
For more information, see the property
Gets or sets the YAxis TextFormatting string. This is a string format, e.g. '0.00' would yield 1.23, or 0.23
For more information, see the TextFormatting property
Gets or sets whether to draw X-Axis Labels or not
Gets or sets whether the CursorModifier is enabled or not
Gets or sets whether the Pan modifier is enabled
Gets or sets whether the RubberBandXyZoom is enabled
Gets or sets the BarTimeFrame, this is the time in seconds for each bar on the
Gets or sets the XAxis.VisibleRange. The control uses a , which requires an .
For more information, see the VisibleRange property
An ItemsControl which allows grouping of multiple instances to create a multi-paned chart
Defines the VerticalChartGroup DependencyProperty
Defines the IsTabbed DependencyProperty
Initializes a new instance of the class.
Sets the vertical chart group dependency Property
The element.
The named group
Gets the vertical chart group depedency property
The element.
Determines if the specified item is (or is eligible to be) its own container.
The item to check.
true if the item is (or is eligible to be) its own container; otherwise, false.
Creates or identifies the element that is used to display the given item.
The element that is used to display the given item.
Called when the property changes.
Old value of the property.
New value of the property.
When overridden in a derived class, is invoked whenever application code or internal processes call .
Gets or sets value, indicates whether panes are tabbed or not
Gets a value, indicates, whether container has tabbed panes
Occurs when a property changes. Part of the implementation
Defines the interface to an , a disposable class which allows nested suspend/resume operations on an target
Gets a value indicating whether updates for this instance are currently suspended
Gets or sets a value indicating whether the target will resume when the IUpdateSuspender is disposed. Default is True