LightningChart Python v2.2

Released: Apr 7, 2026

Actualizaciones en v2.2

Características

  • Cursor
    • 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.
      • 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.
  • 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.”
  • Getter Methods
    • 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.