📄️ Zooming and panning (ViewXY)
Zooming and panning are configurable and can be performed by left or right mouse button. Zooming can be also performed with mouse wheel. Zooming and panning could be performed on touch screen as well.
📄️ Dispose pattern
When a chart has been created in code, and is no longer needed, chart.Dispose() should be called (first remove chart from collection it was added). It frees the chart and all its objects, such as series, markers and palette steps from the memory.
📄️ Sharing objects between other objects
LightningChart object model is tree-based. Every class has its parent object and a list of child objects. This tree-model allows child object to notify the parent object of its changes, allowing the parent to respond to it. Respectively, the parent notifies its parent and so on until the root node, LightningChart itself, is reached, which then knows how to refresh accordingly.
📄️ Axis class properties
Properties described here applicable all XY and 3D axes, unless specified otherwise.
📄️ LegendBoxXY properties
Starting from v.8, ViewXY supports multiple legend boxes in the same graph. Insert these legend boxes in ViewXY.LegendBoxes collection.
📄️ Scale breaks (ViewXY)
Starting from version 8, X axes support ScaleBreaks. ScaleBreaks allow excluding specific X ranges, e.g. inactive trading hours/dates or machinery off-production hours. All the series, that have been assigned to the specified X axis, are clipped, including axis and labels themselves.
📄️ Automatic Y fit
Use AutoYFit property to control the automatic Y axis adjustment. Automatic Y fit can be used to adjust the Y axis ranges to show all the data in the chart in visible X axis range. It is intended especially for real-time monitoring purposes. The fit is applied in time intervals, use UpdateInterval to set the interval in milliseconds. MarginPercents can be used to define if any empty space should be left between the series and the graph borders. By enabling Through, the fitting analysis is made for all data, but may cause some overhead in performance critical systems. By disabling it, only a small piece of latest data is used for fitting routine and may cause improper behavior in certain applications.
📄️ Export and printing
There are many ways to export and print chart.