LightningChart JS Trader v3.1
Released: Jun 12, 2025
v3.1 中的更新
特性
- NPM registry
- Now available for download from the public NPM registry.
- A valid license key (trial or purchased) is still required to use the library.
- Older versions will not be published on NPM.
- Transparent Chart
- You can now set the chart to use a transparent background, making it easier to match the application’s background.
- Mountain Gradient
- The Mountain chart type can now be colored using a gradient fill.
- The coloring is based on the current line color and the enableMountainGradient() method can be used to switch the gradient on and off.
- Time Range Methods
- Added methods to get the exact time range on the chart (getTimeRange), and the current selected time range option (getTimeRangeSelection).
- Added zoomToRange to allow users to zoom to specific time ranges in code.
- HTML Text Rendering
- Trading chart now uses HTML text rendering by default instead of WebGL texts used before.
- HTML texts are generally more visually appealing but may cause small decrease in performance especially when using large datasets. Therefore, it is still possible to switch back to WebGL text. This is done when creating the trading chart.
- Menu Options;
- Added the menuOptions() which contain methods to hide various settings from the menus.
- This can be useful if the end-users should not have access to all chart related settings.
- This affects only general settings and color settings menus and the main toolbar is unaffected.
- Clear Everything Method
- Introduced an event, onClearEverything, which triggers when the chart is cleared.
- This happens either via pressing the “Clear Everything” button in the UI or by calling clearEverything() in code.
修補程式
- Fixed an issue with the space bar not closing menus anymore when typing in the input fields.
- The menus work better now when the chart height is small.
- Color pickers now appear next to the color button instead of the top-left corner. However, note that Firefox browser has still some issues with this. Furthermore, the default color in the color pickers now matches the current color in all cases.
- Improved the accuracy of the data cursor.
- The Zoomband chart height is now based on the main chart’s height, allowing it to scale better.