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.
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.
# 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.
Other changes
- Zoom Band Chart Axis Interaction Control
Introduced theset_stop_axis_on_interactionmethod 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
Theset_scroll_strategymethod now supports both progressive (default) and regressive scrolling behaviors by setting its value toFalse. Additionally, the newset_scroll_marginsmethod 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 oflc.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 newset_user_interactionsmethod 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 newhtml_text_renderingparameter 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 newtheme_scaleparameter 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.
See more news
Which JavaScript Chart Library Do AI Coding Agents Actually Recommend, and Does It Matter?
In this article Why AI coding agents have strong library preferences What the defaults actually are (and the data behind them) When the defaults work fine When they quietly fail you What to do instead: giving your agent better information The keyword angle nobody is...
How to Set Up LightningChart JS in Cursor and Claude Code Using MCP, in Under 5 Minutes
A step-by-step guide to installing the LightningChart JS MCP server so your AI coding agent stops hallucinating chart APIs and starts writing production-ready code from the first prompt. AI coding agents are good at writing chart code. They are less good at writing...
The LightningChart JS Agent Skill: Give Any AI Coding Agent Accurate Charting Knowledge in 60 Seconds
An agent skill is a folder of instructions your AI coding tool picks up automatically. This one teaches any compatible agent how to use LightningChart JS correctly, before it writes a single line of chart code. Agent skills are a relatively new concept and the...
Why AI Coding Agents Get Data Visualization Wrong, and What to Do About It
AI coding assistants are getting good at most parts of application development. Data visualization is one of the areas where they still have a consistent, predictable failure mode. This article explains the mechanics of why it happens and the practical fix. I spent a...
