LightningChart Methods |
The LightningChart type exposes the following members.
| Name | Description | |
|---|---|---|
| BeginInvoke(Delegate) | Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. (Inherited from Control.) | |
| BeginInvoke(Delegate, Object) | Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on. (Inherited from Control.) | |
| BeginUpdate |
Begin update. Disables control repaints when a property is changed.
Handy when updating status of many properties or updating series points.
| |
| BringToFront | Brings the control to the front of the z-order. (Inherited from Control.) | |
| 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 | |
| CloseGestureInfoHandle |
Close gesture info handle.
| |
| Contains | Retrieves a value indicating whether the specified control is a child of the control. (Inherited from Control.) | |
| 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.
| |
| CreateControl | Forces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from Control.) | |
| CreateGraphics | Creates the Graphics for the control. (Inherited from Control.) | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
| DoDragDrop | Begins a drag-and-drop operation. (Inherited from Control.) | |
| DrawToBitmap | Supports rendering to the specified bitmap. (Inherited from Control.) | |
| 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.
| |
| EndInvoke | Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed. (Inherited from Control.) | |
| 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 the specified object is equal to the current object. (Inherited from Object.) | |
| FindForm | Retrieves the form that the control is on. (Inherited from Control.) | |
| Focus | Sets input focus to the control. (Inherited from Control.) | |
| 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.
| |
| 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.
| |
| GetChildAtPoint(Point) | Retrieves the child control that is located at the specified coordinates. (Inherited from Control.) | |
| GetChildAtPoint(Point, GetChildAtPointSkip) | Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. (Inherited from Control.) | |
| GetContainerControl | Returns the next ContainerControl up the control's chain of parent controls. (Inherited from Control.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| 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).
| |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetNextControl | Retrieves the next control forward or back in the tab order of child controls. (Inherited from Control.) | |
| GetParentWindow |
Get parent window handle (HWND).
Needed when using the control from other systems than .NET.
| |
| GetPreferredSize | Retrieves the size of a rectangular area into which a control can be fitted. (Inherited from Control.) | |
| 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.) | |
| GetVersion |
Version and revision.
| |
| Hide | Conceals the control from the user. (Inherited from Control.) | |
| HighqualityFontConflictCheck |
Checks if high quality font and transparency background is used with DX11
and gives warning of this conflict combination.
| |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| 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.
| |
| Invalidate | Invalidates the entire surface of the control and causes the control to be redrawn. (Inherited from Control.) | |
| Invalidate(Boolean) | Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | |
| Invalidate(Rectangle) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from Control.) | |
| Invalidate(Region) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from Control.) | |
| Invalidate(Rectangle, Boolean) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | |
| Invalidate(Region, Boolean) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | |
| Invert |
Opposite color
| |
| Invoke(Delegate) | Executes the specified delegate on the thread that owns the control's underlying window handle. (Inherited from Control.) | |
| Invoke(Delegate, Object) | Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments. (Inherited from Control.) | |
| IsHardwareRenderingSupported |
Check if hardware rendering is supported.
| |
| IsHardwareRenderingSupported(DeviceTypeFlags) |
Check if hardware rendering is supported.
| |
| IsPositionOver |
Finds out if the given coordinate is over the chart control with pixels.
| |
| IsUsingHardwareRendering |
Check if chart is using hardware rendering.
| |
| MeasureText |
Measure text with given font in pixels.
| |
| PerformAutoScale | Performs scaling of the container control and its children. (Inherited from ContainerControl.) | |
| PerformLayout | Forces the control to apply layout logic to all its child controls. (Inherited from Control.) | |
| PerformLayout(Control, String) | Forces the control to apply layout logic to all its child controls. (Inherited from Control.) | |
| PointToClient | Computes the location of the specified screen point into client coordinates. (Inherited from Control.) | |
| PointToScreen | Computes the location of the specified client point into screen coordinates. (Inherited from Control.) | |
| PreProcessControlMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.) | |
| PreProcessMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.) | |
Print chart to default printer with default settings using raster output. No header nor footer.
| ||
| Print(ImageType, Boolean, Boolean, Boolean, String, String, Boolean, Padding) |
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.
| |
| RectangleToClient | Computes the size and location of the specified screen rectangle in client coordinates. (Inherited from Control.) | |
| RectangleToScreen | Computes the size and location of the specified client rectangle in screen coordinates. (Inherited from Control.) | |
| Refresh |
Refresh the control, does not free the buffered draw data, so it's faster than FullRepaint()
(Overrides ControlRefresh.) | |
| ResetBeginUpdateCount |
Reset BeginUpdate/EndUpdate counter. Usually not required to call.
| |
| ResetPageSettings |
Reset page settings.
| |
| ResetText | Resets the Text property to its default value. (Inherited from Control.) | |
| ResumeLayout | Resumes usual layout logic. (Inherited from Control.) | |
| ResumeLayout(Boolean) | Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. (Inherited from Control.) | |
| 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.
| |
| Scale | Scales the control and all child controls by the specified scaling factor. (Inherited from Control.) | |
| ScrollControlIntoView | Scrolls the specified child control into view on an auto-scroll enabled control. (Inherited from ScrollableControl.) | |
| Select | Activates the control. (Inherited from Control.) | |
| SelectNextControl | Activates the next control. (Inherited from Control.) | |
| SendToBack | Sends the control to the back of the z-order. (Inherited from Control.) | |
| SetAutoScrollMargin | Sets the size of the auto-scroll margins. (Inherited from ScrollableControl.) | |
| SetBounds(Int32, Int32, Int32, Int32) | Sets the bounds of the control to the specified location and size. (Inherited from Control.) | |
| SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) | Sets the specified bounds of the control to the specified location and size. (Inherited from Control.) | |
| SetDeploymentKey |
Set Deployment Key
| |
| SetParentWindow |
Set parent window handle (HWND).
Needed when using the control from other systems than .NET.
Parent window handle. | |
| Show | Displays the control to the user. (Inherited from Control.) | |
| ShowPropertiesEditor |
Show properties editor window.
| |
| ShowPropertiesEditor(Int32, Int32) |
Show properties editor dialog in specific location.
| |
| SuspendLayout | Temporarily suspends the layout logic for the control. (Inherited from Control.) | |
| ToString |
Convert class description to string
(Overrides ComponentToString.) | |
| TweakDisablePresent |
Disable DirectX present calls, but let the rendering routines run otherwise
| |
| TweakEnablePresent |
Enable DirectX present calls again
| |
| Update | Causes the control to redraw the invalidated regions within its client area. (Inherited from Control.) | |
| UpdateCustomTheme |
Update custom themes.
| |
| UpdatePixelAlignment |
Forces update of WPF pixel alignment.
Calling this should not be required normally.
| |
| Validate | Verifies the value of the control losing focus by causing the Validating and Validated events to occur, in that order. (Inherited from ContainerControl.) | |
| Validate(Boolean) | Verifies the value of the control that is losing focus; conditionally dependent on whether automatic validation is turned on. (Inherited from ContainerControl.) | |
| ValidateChildren | (Inherited from UserControl.) | |
| ValidateChildren(ValidationConstraints) | (Inherited from UserControl.) |
| 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.) |