LightningChart .NET v.12.5.1 is out now!
Improved LegendBox and PrintPreview. Added new properties for ViewXY.
New Features
In this release, we focused on improving current features, including LegendBox and PrintPreview, adding new properties to ViewXY, improving .NET Trader’s behavior, and more.
LegendBox
We are introducing a refined LegendBox rendering that harmonizes all XY, 3D, Polar, Pie3D, and Smith views. We have added new features for LegendBox, including the new VerticalTitlesGap property to control the minimum gap between titles. Furthermore, LegendBox now supports titles with multiple lines, and the mouse events over the LegendBox have more detailed information.
Below is an example of LegendBoxes with multiple line titles, and a normal versus a reduced vertical gap.
Printing and PrintPreview
Now in WinForms, the PrintPreview dialog is available in several languages, including English, German, and Finnish. We have also slightly changed the printing dialogue UI, and users can now control which items to show and which default values are set. Below is an example of the improved PrintPreview dialog window:
ViewXY: new AutoPadding property
We are introducing the new AutoPadding property for ViewXY, which is the padding for PXs that controls edges, such as outer edges or the rim of a chart, which encloses ViewXY margins.
AutoPadding can be used when Margins are auto-adjusted (AxisLayout.AutoAdjustMargins is enabled). Chart objects like Annotations and LegendBoxes can be placed in the padded area. AutoPadding is a padding structure in WinForms and a thickness structure in WPF. Below is a simple ViewXY.AutoPadding example where the padded area is pseudo-colored differently (in grey) for clarity (with Annotation help).
Other improvements
- Improved .NET Trader behavior: Band’s border now has an inner, outer, and none BorderType property
- Added support for 24-bit and 32-bit WAV audio files
- Improved handling of D3DImage failure
For a complete list of changes, check the official changelog.
Get started with LightningChart .NET v.12.5.1
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...
