LightningChart JS Logo

LightningChart Python 1.2 is out now!

Introducing new product features and reworked user interactions.

Product features

This update brings a range of enhancements focused on user experience, visual polish, and performance. Highlights include reworked user interactions, improved visual quality with rounded corners and refined cursor styles, better axis tick layouts, and enhanced text contrast.

We’ve also introduced a new real-time scrolling axis mode, HTML text rendering, and smarter theme scaling. Heatmap and surface series have been improved, alongside general performance and quality-of-life upgrades.

Bar Chart Axis Configuration

We have enhanced the configuration options for tick labels on both the value axis and the category axis in bar charts.

LightningChart-Python-1.2-Stacked-BarCharts

Parallel Coordinate Chart dashboard and solid Coloring

The Parallel Coordinate chart can now be added to dashboards. We have also added a new method to set a solid color fill for all the series.

LightningChart-Python-Parallel-Coordinate-Chart
# Dynamic Coloring
chart1.set_lut(
    axis_key='Variable B',
    interpolate=True,
    steps=[
        {'value': 80, 'color': ('red')},  # Red
        {'value': 100, 'color': ('yellow')},  # Yellow
        {'value': 112, 'color': (0, 255, 0)},  # Green
    ],
)

# Solid Coloring
series1.set_color("#d228a7")
series2.set_color("#87a535")
series3.set_color("#3693a3")

Funnel & Pyramid Charts label positioning

Added a new LabelsInside parameter to Pyramid and Funnel charts, allowing labels to be positioned inside the chart segments.

LightningChart-Python-Labels

Other changes

  • Zoom Band Chart Axis Interaction Control
    Introduced the set_stop_axis_on_interaction method for Zoom Band Charts (ZBC). This allows developers to specify whether interacting with the ZBC should stop updates to connected axes, enabling more precise control over chart synchronization behavior.
  • Axis Scroll Strategy and Margin Configuration
    The set_scroll_strategy method now supports both progressive (default) and regressive scrolling behaviors by setting its value to False. Additionally, the new set_scroll_margins method allows precise control over the automatic spacing between axis edges and series, improving layout flexibility and visual balance.
  • Simplified Color Assignment
    Colors can now be specified more easily using standard CSS color names, RGB tuples, or hex strings directly, without requiring the use of lc.Color(). This streamlines styling and improves developer productivity when customizing chart visuals.
  • Unified Mouse Interaction Configuration
    Several legacy mouse interaction methods have been removed. Developers should now use the new set_user_interactions method to configure, tweak, or override the default set of built-in user interactions. This method provides a centralized way to manage interactions, many of which are optional or mutually exclusive, offering greater flexibility and control over user experience.
  • HTML Text Rendering Option for Charts
    A new html_text_rendering parameter is now available when creating charts. This allows developers to choose between WebGL-based and HTML-based text rendering, offering greater flexibility in balancing performance and text clarity depending on the rendering context.
  • Theme Scaling for Chart Elements
    A new theme_scale parameter is now available during chart creation. This feature allows automatic scaling of font sizes, tick lengths, element paddings, and other visual components to ensure consistent and visually balanced chart layouts across different display contexts.

LightningChart Python

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.