LightningChart JS Trader v4.0
Released: Nov 27, 2025
v4.0 での更新項目
機能
- Latest price labels:
- Added built-in labels that indicate the latest close and latest indicator values.
- The built-in labels consist of the actual label on top of the price axis (Y-axis) and a horizontal line across the chart.
- Users can decide whether to show both the label and the line, only one of them, or hide the entire label.
- Drawing tool events:
- Added several pointer-related events to all drawing tools, including PointerDown, PointerUp, PointerEnter, and PointerLeave.
- These allow the addition of more custom interaction to the chart.
- The default drawing tool menus can now be disabled in case the user wants to create custom menus.
- Real-time improvements:
- Zooming and panning features work as intended even in real-time applications. Previously, the zooming level would often reset whenever new data was added to the chart.
- The chart now has a built-in feature to drop old data points that can be switched on and off via the enableDataPointLimit() method.
- setDataPointLimit() can be used to set the maximum number of data points allowed before the old ones are dropped.
- Automatic data sorting:
- Added automatic data sorting, and the chart can now organize data on its own. You can add data in any order, and the chart will automatically reorder all points based on their datetime values to ensure correct visual representation.
- Exposing the Internal Chart:
- Added getInternalChart() method, giving developers direct access to the underlying LightningChart instance used to render the TradingChart.
- You can use the full range of LightningChart JS features beyond what the TradingChart API exposes, offering much greater flexibility for customization.
- Splitter line colors:
- Added a method to modify the colors of the splitter lines (lines separating the main chart and indicators).
- getDataPointArray() method:
- Added getDataPointArray() method to get the current dataset as an array of DataPoints.
- The returned array is directly compatible with setData() method, allowing the dataset to be later added to the chart with ease.
- Zooming sensitivity:
- Added a method and respective UI control to change the sensitivity of wheel zooming in case the default zooming speed feels too fast.
- Added a method for all drawing tools to get their current position on the chart.
- Added a method to hide the indicator settings and remove buttons.
不具合の修正
- Fixed the X-axis flickering issue.
- Fixed the X-axis labels to make them more accurate (fewer long gaps between the labels).
- Fixed several drawing tool-related issues where the tools were drawn incorrectly.
- Fixed issue so that data cursor now works correctly with packed data.
- Fixed issue so that restoring default settings correctly restores all chart and color settings and resets the chart type.