Release Notes
Stay up to date with new features, API updates, performance enhancements, and bug fixes added to the Backtestx Charts library and wrappers.
v1.0.2 Release (September 26, 2026)
🚀 TradingView Lightweight Charts Parity & Core Upgrades
Backtestx Charts v1.0.2 brings full architectural and API parity with official TradingView Lightweight Charts (v4/v5). This release unlocks advanced multi-series rendering, mathematical scale transformations, interactive marker overlays, custom price lines, and programmatic viewport controls.
📊 Multi-Series Rendering Engine
- Candlestick Series:
chart.addCandlestickSeries(options)with full customization of up/down body colors, border visibility, wick colors, and support for Hollow and Heikin-Ashi candle types. - Area Series:
chart.addAreaSeries(options)featuring vertical gradient fills (topColortobottomColor), custom stroke widths, and line colors. - Line Series:
chart.addLineSeries(options)supporting Line Styles (Solid, Dotted, Dashed, LargeDashed) and Line Types (Simple, WithSteps, Curved). - Bar Series:
chart.addBarSeries(options)high-performance traditional OHLC bars with open/close ticks. - Baseline Series:
chart.addBaselineSeries(options)with base value thresholds, split line colors, and independent positive/negative area fills. - Histogram Series:
chart.addHistogramSeries(options)for volume analysis and indicators with per-bar dynamic color support.
📐 Advanced Price Scale Modes (PriceScaleMode)
- Logarithmic Scale (
PriceScaleMode.Logarithmic): Logarithmic mathematical transform (log10) for analyzing wide price swings and exponential assets. - Percentage Scale (
PriceScaleMode.Percentage): Dynamic percent change calculations relative to the first visible bar price. - Indexed to 100 (
PriceScaleMode.IndexedTo100): Normalizes series prices relative to 100 for multi-asset benchmarking. - Inverted Scale (
invertScale: true): Fully inverts price coordinate mappings and scale labels. - Scale Margins: Configurable
topMarginandbottomMarginpercentage margins.
⏱️ Time Scale Navigation & Coordinate Conversions
chart.timeScale().fitContent(): Fits all dataset bars into the visible canvas viewport automatically.chart.timeScale().scrollToPosition(offset, animated)&scrollToRealTime(): Smooth programmatic timeline scrolling.chart.timeScale().setVisibleRange({ from, to })&setVisibleLogicalRange({ from, to }).- Coordinate converters:
timeToCoordinate(),coordinateToTime(),logicalToCoordinate(), andcoordinateToLogical().
🎯 Interactive Crosshair & Event Subscriptions
- Magnet Crosshair Mode (
CrosshairMode.Magnet): Automatically snaps cursor price coordinates and badges to the nearest bar's Open, High, Low, or Close value. - Event Bus Subscriptions: Added
subscribeCrosshairMove(cb),subscribeClick(cb),subscribeVisibleTimeRangeChange(cb), andsubscribeVisibleLogicalRangeChange(cb).
🏷️ Series Markers & Custom Price Lines
- Series Markers:
series.setMarkers(markers)allows annotating charts with buy/sell arrows (arrowUp,arrowDown), shapes (circle,square), and text labels positionedaboveBar,belowBar, orinBar. - Custom Price Lines:
series.createPriceLine(options)renders arbitrary horizontal price levels with custom titles, colors, line styles, and price axis badges.
🐛 Bug Fixes & Stability
- Time Scale Scope Fix: Resolved a ReferenceError during time scale grid rendering by correcting the settings reference scope.
- Global API Standard: Exported standard
window.createChart(container, options)factory method adhering to standard TradingView Lightweight Charts initialization patterns.
v1.0.1 Release (August 4, 2026)
🐛 Bug Fixes
- Price Scale Rendering Fix: Resolved an issue where zooming or panning the chart caused candlesticks and other chart elements to override and visually bleed into the right-side price scale. The price scale now remains cleanly segregated and readable at all zoom levels.
🚀 New Features
Comprehensive Chart Settings
We are introducing a fully-featured, persistent Chart Settings modal to give you complete control over your chart's appearance and behavior! All of your custom preferences and the light/dark theme toggle are now automatically saved to your local storage and persist between page reloads.
Settings Tabs Include:
- Symbol: Independently customize colors for candlestick Bodies, Borders, and Wicks. Intelligently applies only the relevant color options depending on the active chart type (e.g., Area charts only show the necessary color pickers).
- Status Line: Toggle the visibility of the symbol title on the top-left status line.
- Scales and Lines: Customize the time scale formatting on the X-axis. Choose between 12-hour or 24-hour time formats, and set your preferred date format (e.g., yyyy-mm-dd, dd-mm-yyyy).
- Canvas: Change the chart background to a solid color or a gradient. Customize grid lines: choose between Solid, Dashed, or None, and select your preferred grid color.
Additional Enhancements
- Defaults Reset: Added a convenient "Defaults" button in the bottom-left corner of the Settings popup. One click immediately clears your custom overrides and restores the chart settings to their default factory state.
v1.0.0 Release (June 12, 2026)
We are proud to announce the initial release of Backtestx Charts v1.0.0! This version builds on a high-performance HTML5 Canvas core, offering advanced indicators, custom drawing tools, and mobile library packaging out of the box.
Core Engine Features
- Drawing Toolbar: Integrated interactive drawing system supporting Trend Lines, Fibonacci Retracements, Horizontal Lines, rectangles, and custom Buy/Sell zone indicators.
- Built-in Indicators: Performance-optimized overlays and sub-panel pane indicators including SMA, EMA, MACD, RSI, ATR, CCI, and Bollinger Bands.
- Non-Time Series Scales: Support for alternative horizontal scales including Option Strike Prices and Bond Yield Curves.
- Custom Candle Types: In-house renderers for Hollow Candlesticks, Heikin-Ashi, Line-Bar, and traditional Bar charts.
- Custom timezone & intervals: Configurable offsets and dynamic dropdown picker interface for custom tick ranges.
Mobile Package Wrappers
To support native applications, we have released official open-source packages containing native WebView containers and configuration bindings:
- BacktestxChartsIOS: Fully supports Swift Package Manager (SPM) and CocoaPods. Embeds local resources inside a WKWebView with public Swift methods.
- BacktestxChartsAndroid: Supports Gradle builds via JitPack. Extends FrameLayout to embed WebView and assets compilation.