LightningChart Methods |
The LightningChart type exposes the following members.
| Name | Description | |
|---|---|---|
| AddHandler(RoutedEvent, Delegate) | Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. (Inherited from UIElement.) | |
| AddHandler(RoutedEvent, Delegate, Boolean) | Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route. (Inherited from UIElement.) | |
| AddToEventRoute | Adds handlers to the specified EventRoute for the current UIElement event handler collection. (Inherited from UIElement.) | |
| ApplyAnimationClock(DependencyProperty, AnimationClock) | Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation. (Inherited from UIElement.) | |
| ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) | Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation. (Inherited from UIElement.) | |
| ApplyTemplate | Builds the current template's visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call. (Inherited from FrameworkElement.) | |
| Arrange | Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update. (Inherited from UIElement.) | |
| BeginAnimation(DependencyProperty, AnimationTimeline) | Starts an animation for a specified animated property on this element. (Inherited from UIElement.) | |
| BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) | Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation. (Inherited from UIElement.) | |
| BeginInit | Starts the initialization process for this element. (Inherited from FrameworkElement.) | |
| BeginStoryboard(Storyboard) | Begins the sequence of actions that are contained in the provided storyboard. (Inherited from FrameworkElement.) | |
| BeginStoryboard(Storyboard, HandoffBehavior) | Begins the sequence of actions contained in the provided storyboard, with options specified for what should happen if the property is already animated. (Inherited from FrameworkElement.) | |
| BeginStoryboard(Storyboard, HandoffBehavior, Boolean) | Begins the sequence of actions contained in the provided storyboard, with specified state for control of the animation after it is started. (Inherited from FrameworkElement.) | |
| BeginUpdate |
Begin update. Disables control repaints when a property is changed.
Handy when updating status of many properties or updating series points.
| |
| BringIntoView | Attempts to bring this element into view, within any scrollable regions it is contained within. (Inherited from FrameworkElement.) | |
| BringIntoView(Rect) | Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within. (Inherited from FrameworkElement.) | |
| CalculatePixelAlignmentOffset |
Alignment offset in pixels (Not in DIP).
| |
| CaptureMouse | Attempts to force capture of the mouse to this element. (Inherited from UIElement.) | |
| CaptureStylus | Attempts to force capture of the stylus to this element. (Inherited from UIElement.) | |
| CaptureToBitmap |
Get chart as bitmap.
| |
| CaptureToByteArray |
Get the last frame rendered by the chart as byte array containing just pixel data four bytes per pixel.
To get the image data with headers, like in bpm or png format, use SaveToStream method | |
| CaptureTouch | Attempts to force capture of a touch to this element. (Inherited from UIElement.) | |
| ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.) | |
| ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.) | |
| CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.) | |
| CopyToClipboard |
Copy the chart to clipboard bitmap image.
| |
| CopyToClipboard(ClipboardImageFormat) |
Copy the chart to clipboard image by given format.
| |
| CopyToClipboard(ClipboardImageFormat, BitmapAntialiasOptions) |
Copy the chart to clipboard image.
| |
| CopyToClipboard(Int32, Int32) |
Copy the chart to clipboard bitmap image.
| |
| CopyToClipboard(ClipboardImageFormat, Int32, Int32, Boolean) |
Copy the chart to clipboard image by given format.
| |
| CopyToClipboard(ClipboardImageFormat, BitmapAntialiasOptions, Int32, Int32, Boolean) |
Copy the chart to clipboard image.
| |
| CopyToClipboardAsEmf |
Copy chart to clipboard as emf.
| |
| Dispose |
Clean up any resources being used.
| |
| EnableObjectTreeTimer |
Enables/disables internal timer which keeps control of the object tree when the chart is being manipulated by property grid,
like in Visual Studio forms designer.
| |
| EndInit | Indicates that the initialization process for the element is complete. (Inherited from FrameworkElement.) | |
| EndUpdate |
End update. Enables control repainting, and refreshes the control.
| |
| EngineInitResultsToString |
Used to convert GetLastEngineInitResults to string to help reporting of it's contents.
| |
| Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.) | |
| FindCommonVisualAncestor | Returns the common ancestor of two visual objects. (Inherited from Visual.) | |
| FindName | Finds an element that has the provided identifier name. (Inherited from FrameworkElement.) | |
| FindResource | Searches for a resource with the specified key, and throws an exception if the requested resource is not found. (Inherited from FrameworkElement.) | |
| Focus | Attempts to set focus to this element. (Inherited from UIElement.) | |
| FullRepaint |
Destroy all buffered draw data and repaint the chart
This is slower than Refresh(), but thorough.
| |
| GetActiveUserInteractiveDeviceOverObject |
Get the chart object that is activated by mouse.
Note that this information is not correct if we do not have proper device set.
| |
| GetAnimationBaseValue | Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation. (Inherited from UIElement.) | |
| GetBeginUpdateCount |
Get effectively used BeginUpdate/EndUpdate counter. Use for debugging, if seems that chart does not render.
The value must be 0 in order for the chart to render. If value is larger, some BeginUpdate call has not been closed by matching EndUpdate call. This indicates total value. Use GetBeginUpdateCountPublic to see difference of public - user called - BeginUpdate / EndUpdate methods. | |
| GetBeginUpdateCountPublic |
Get public BeginUpdate/EndUpdate counter. Use for debugging, if seems that chart does not render.
Must be zero after EndUpdate(), if one wants chart to render.
| |
| GetBindingExpression | Returns the BindingExpression that represents the binding on the specified property. (Inherited from FrameworkElement.) | |
| GetHashCode | Gets a hash code for this DependencyObject. (Inherited from DependencyObject.) | |
| GetLastEngineInitResults |
returns a list of EngineInitResult objects of which each defines a tried engine, if its initialization was successful or not and the
reasons why its initialization failed.
This method is intended for debugging purposes. The information applies to the last time the engine was tried to be initialized. The list is recreated each time engine initialization is tried and the old information is lost. | |
| GetLastOutputStreamFormat |
Getter of the pixel format of the last written data to the OutputStream.
| |
| GetLastOutputStreamSize |
Getter of the image size of the last image written to OutputStream as pixels (not DIP's).
| |
| GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.) | |
| GetParentWindow |
Get parent window handle (HWND).
Needed when using the control from other systems than .NET.
| |
| GetRenderDeviceInfo |
Get render device information. Gives information about your graphics adapter.
Tells if there is something that prevents the control to run at optimal performance.
| |
| GetThemeAuroras |
Get Predefined theme Auroras
| |
| GetThemeBrushedMetal |
Get Predefined theme Brushed metal
| |
| GetThemeMagma |
Get predefined theme magma.
| |
| GetThemePaper |
Get Predefined theme Paper
| |
| GetThemeRedCarbon |
Get Predefined theme Red carbon
| |
| GetThemeTurquoiseHexagon |
Get predefined theme TurgouiseHexagon.
| |
| GetThemeWorldCyberSpace |
Get Predefined theme Wolrd cyber space
| |
| GetTotalChartCount |
Gets total count of chart instances in application context.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) | |
| GetVersion |
Version and revision.
| |
| HighqualityFontConflictCheck |
Checks if high quality font and transparency background is used with DX11
and gives warning of this conflict combination.
| |
| InitializeRenderingDevice |
Tries to force the engine initialization in a synchronous fashion. Should have
no use in WinForms.
This method allows user to force the rendering device initialization.
Note! Do not force during chart events callbacks, except at AfterRendering event! Causes chart to malfunction, if engine is changed during event handler.
| |
| InputHitTest | Returns the input element within the current element that is at the specified coordinates, relative to the current element's origin. (Inherited from UIElement.) | |
| InvalidateArrange | Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout. (Inherited from UIElement.) | |
| InvalidateMeasure | Invalidates the measurement state (layout) for the element. (Inherited from UIElement.) | |
| InvalidateProperty | Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.) | |
| InvalidateVisual | Invalidates the rendering of the element, and forces a complete new layout pass. OnRender(DrawingContext) is called after the layout cycle is completed. (Inherited from UIElement.) | |
| Invert |
Opposite color
| |
| IsAncestorOf | Determines whether the visual object is an ancestor of the descendant visual object. (Inherited from Visual.) | |
| IsDescendantOf | Determines whether the visual object is a descendant of the ancestor visual object. (Inherited from Visual.) | |
| IsHardwareRenderingSupported |
Check if hardware rendering is supported.
| |
| IsHardwareRenderingSupported(Boolean, Boolean, DeviceTypeFlags) |
Check if hardware rendering is supported.
| |
| IsPixelAlignmentOK |
Check pixel alignment.
This is quite costly operation. It's faster just to update the value.
| |
| IsPositionOver |
Finds out if the given coordinate is over the chart control with pixels.
| |
| IsUsingHardwareRendering |
Check if chart is using hardware rendering.
| |
| Measure | Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update. (Inherited from UIElement.) | |
| MeasureText |
Measure text with given font [in DIP units]
| |
| MoveFocus | Moves the keyboard focus away from this element and to another element in a provided traversal direction. (Inherited from FrameworkElement.) | |
| OnApplyTemplate | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate. (Inherited from FrameworkElement.) | |
| PixelAlignmentOffset |
Getter of the currently used pixel alignment offset.
Call UpdatePixelAlignment to update / recalculate this value.
| |
| PointFromScreen | Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. (Inherited from Visual.) | |
| PointToScreen | Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. (Inherited from Visual.) | |
| PredictFocus | Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus. (Inherited from FrameworkElement.) | |
Print chart to default printer with default settings using raster output. No header nor footer.
| ||
| Print(ImageType, Boolean, Boolean, Boolean, String, String, Boolean, Thickness) |
Print chart to default printer with given settings.
| |
| PrintPreview |
Print preview of chart.
| |
| PrintPreview(String, String, Boolean) |
Print preview of chart.
| |
| PrintWithPageSetup |
Show page setup dialog and print if ok clicked and allowed.
| |
| PrintWithPrinterSelection |
Show printer selection dialog and print if allowed.
| |
| RaiseEvent | Raises a specific routed event. The RoutedEvent to be raised is identified within the RoutedEventArgs instance that is provided (as the RoutedEvent property of that event data). (Inherited from UIElement.) | |
| ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) | |
| RegisterName | Provides an accessor that simplifies access to the NameScope registration method. (Inherited from FrameworkElement.) | |
| ReleaseAllTouchCaptures | Releases all captured touch devices from this element. (Inherited from UIElement.) | |
| ReleaseMouseCapture | Releases the mouse capture, if this element held the capture. (Inherited from UIElement.) | |
| ReleaseStylusCapture | Releases the stylus device capture, if this element held the capture. (Inherited from UIElement.) | |
| ReleaseTouchCapture | Attempts to release the specified touch device from this element. (Inherited from UIElement.) | |
| RemoveHandler | Removes the specified routed event handler from this element. (Inherited from UIElement.) | |
| ResetBeginUpdateCount |
Reset BeginUpdate/EndUpdate counter. Usually not required to call.
| |
| ResetPageSettings |
Reset page settings.
| |
| RTK |
Read Trader Key
| |
| SaveToFile(String) |
Save the chart into a image file with no extra anti-aliasing applied.
| |
| SaveToFile(String, BitmapAntialiasOptions) |
Save the chart into a image file by using given anti-aliasing options.
| |
| SaveToFile(String, Int32, Int32, Boolean) |
Save to file as given size.
| |
| SaveToFile(String, BitmapAntialiasOptions, Int32, Int32, Boolean) |
Save the chart into a image file by using given anti-aliasing options.
| |
| SaveToStream(Stream) |
Save the chart into stream in bitmap format.
| |
| SaveToStream(Stream, TargetImageFormat) |
Save the chart into stream in given format and anti-aliasing options.
| |
| SaveToStream(Stream, TargetImageFormat, BitmapAntialiasOptions) |
Save the chart into stream in given format and anti-aliasing options.
Note that the stream's position is at the end. In order to read it to some other variable, rewind it first using seek. | |
| SaveToStream(Stream, Int32, Int32) |
Save the chart into stream in given size.
| |
| SaveToStream(Stream, TargetImageFormat, Int32, Int32, Boolean) |
Save the chart into stream in given format and anti-aliasing options.
| |
| SaveToStream(Stream, TargetImageFormat, BitmapAntialiasOptions, Int32, Int32, Boolean) |
Save the chart into stream in given format and anti-aliasing options.
| |
| SetBinding(DependencyProperty, String) | Attaches a binding to this element, based on the provided source property name as a path qualification to the data source. (Inherited from FrameworkElement.) | |
| SetBinding(DependencyProperty, BindingBase) | Attaches a binding to this element, based on the provided binding object. (Inherited from FrameworkElement.) | |
| SetCurrentValue | Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.) | |
| SetDeploymentKey |
Set Deployment Key
| |
| SetParentWindow |
Set parent window handle (HWND).
Needed when using the control from other systems than .NET.
Parent window handle. | |
| SetResourceReference | Searches for a resource with the specified name and sets up a resource reference to it for the specified property. (Inherited from FrameworkElement.) | |
| SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.) | |
| SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.) | |
| ToString |
Convert class description to string
(Overrides ControlToString.) | |
| TransformToAncestor(Visual) | Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object. (Inherited from Visual.) | |
| TransformToAncestor(Visual3D) | Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object. (Inherited from Visual.) | |
| TransformToDescendant | Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. (Inherited from Visual.) | |
| TransformToVisual | Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. (Inherited from Visual.) | |
| TranslatePoint | Translates a point relative to this element to coordinates that are relative to the specified element. (Inherited from UIElement.) | |
| TryFindResource | Searches for a resource with the specified key, and returns that resource if found. (Inherited from FrameworkElement.) | |
| TweakDisablePresent |
Disable DirectX present calls, but let the rendering routines run otherwise
| |
| TweakEnablePresent |
Enable DirectX present calls again
| |
| UnregisterName | Simplifies access to the NameScope de-registration method. (Inherited from FrameworkElement.) | |
| UpdateCustomTheme |
Update custom themes.
| |
| UpdateDefaultStyle | Reapplies the default style to the current FrameworkElement. (Inherited from FrameworkElement.) | |
| UpdateLayout | Ensures that all visual child elements of this element are properly updated for layout. (Inherited from UIElement.) | |
| UpdatePixelAlignment |
Forces update of WPF pixel alignment.
Calling this should not be required normally.
|
| Name | Description | |
|---|---|---|
| GatherApplicationInformation |
Gathers various information from the current chart for debugging purposes as a string by calling GatherApplicationInformation(ChartToolsGatherDataOptions, LightningChart, String, String)
Optionally saves the output to a text file if file path and file name are specified.
Gathered data (if ChartToolsGatherDataOptions is set to All): system information, chart information,
list of running processes, DxDiag output, installed Windows hotfixes.
(Defined by ExtensionsClass.) |