LightningChart JS Logo

LightningChart Python v 2.2 is out now!

Introducing new product features with richer UI controls for building more responsive dashboards.

New features

This release expands LightningChart Python’s interactive toolkit with richer UI controls, deeper cursor customization, and smarter data interrogation. You can now build more responsive dashboards using toggleable CheckBox and momentary ButtonBox actions, customize cursors end‑to‑end, and read back component state with new getter methods.

We also added workflow helpers like swap_axes for dynamic layouts and solve_nearest for programmatic picking. That helps you to make advanced interactions easier to build and maintain.

Cursor

LightningChart Python now supports full cursor customization. Cursor modes are now easier to understand and easier to control. You can enable/disable them, restyle them, or even replace the built-in cursor with manual cursors that you move programmatically.

We also added full styling APIs for all the cursor parts: point marker, crosshair grid lines, axis tick markers, and the result table. You can customize things like fonts, borders, gradients, auto-fit, plus margin/origin positioning.

Cursor now supports HTML-capable formatting callbacks, and you can also apply per-series overrides. This means your tooltip can show rich content like KPIs, status badges, or extra metadata that depends on the series or chart type.

Manual cursors are now first-class features. You can create multiple cursors, move them based on events, and use them for custom annotations that are independent from the hover cursor.

Pointable TextBox

Add interactive callout annotations with built-in directional pointers. PointableTextBox extends the standard TextBox with arrow/pointer functionality, perfect for highlighting specific data points, creating tooltips, or adding explanatory annotations that visually connect to chart elements.

LightningChart-Python-v-2-2-Pointable-Textbox

CheckBox

Add persistent, toggleable UI switches directly on charts and dashboards. CheckBox keeps its on/off state after click, supports text, styling, background, and pointer events, and is ideal for options like “Show grid” or “Enable cursor.”

ButtonBox

Add momentary action buttons with automatic bounce‑back behavior. ButtonBox uses the same API and styling as CheckBox, but it resets to “off” after each press. That makes it perfect for one‑shot actions like “Reset view” or “Apply filter.”

LightningChart-Python-Pointable-Checkbox

Other Improvements

There are three major improvements in this release: tick labels methods, heatmap flat array input, and better palette coloring methods. Here’s the summary:

Getter Methods

We’ve expanded the Python API with new getter methods, making it easy to read back the current state and styling at runtime. This improves debugging, lets you sync UI with external controls, and enables state-aware interactions without manual tracking.

Swap Axis

Swap two axes on the same plane (X↔X or Y↔Y) to quickly re-arrange axis placement and stacks without rebuilding the chart. This feature is useful for dynamic layouts or multi-axis dashboards.

Solve Nearest Data

Programmatically query the nearest/pointed data at a given screen coordinate, with modes like nearest, pointed, or all-series. Ideal for custom tooltips, picking, and cross-hair style interactions.

Get LightningChart Python 2.2

Ready to start with LightningChart Python data visualization library? Select from Data Scientist or Software Developer licenses, and get started developing Python projects at the best performance.