flutter_chen_kchart 4.8.0
flutter_chen_kchart: ^4.8.0 copied to clipboard
The first commercial-grade kchart in the flutter ecosystem.
4.7.1 #
- Improved: Refined the example trading UI, settings layout, period toolbar, and responsive light/dark presentation.
- Added: Example intervals for 1m, 5m, 30m, and 1w, plus a return-to-latest shortcut after browsing history.
- Fixed: Trend-angle labels no longer render a light background block in dark themes.
4.7.0 #
- Improved: MA, BOLL, volume MA, and OBV MA now use resumable rolling-window calculations with safer indicator parameter normalization.
- Fixed: BOLL/OBV/CCI calculation state, realtime gap repair and merge priority, and concurrent or disposed programmatic scale animations.
- Fixed: Invalid marker sizes and numeric values, signed compact formatting, indicator-series visibility, BOLL labels, and missing timestamp display.
4.6.0 #
- Added: Bounded drawing undo/redo, transaction merging, persistence validation, and controller history APIs.
- Improved: OHLC magnet snapping, editable endpoints, extended-line/ray geometry, viewport culling, and time-stable anchors across data updates.
- Fixed: Unselected drawings no longer intercept chart panning; selection handles, clipping, offscreen labels, edit cancellation, and malformed legacy drawings are handled correctly.
4.5.0 #
- Added: Incremental custom-indicator calculation, configurable price ticks/time zone, and explicit depth-data revision support.
- Improved: Realtime K-line, data-quality, marker, chart, depth, and drawing performance for large datasets.
- Fixed: Percentage/log axes, late realtime indicator updates, interval viewport reset, invalid market data, empty panes, amend confirmation, terminal-order dragging, and dense markers.
- Changed: Example trade-history visibility moved to Settings, and the symbol selector was removed.
4.4.0 #
- Added: Trading overlays for entry/liquidation prices, unrealized PnL, order status, grouped TP/SL lines, and independent visibility controls.
- Added: Async price amendment confirmation through
onTradingLineDragConfirm; terminal orders are non-draggable by default. - Improved: Large trade-history performance with
time -> index, visible-range, and LRU text-layout caches, plus explicit cache revision APIs. - Improved: Example trading overlays now use current K-line data and include trade-history controls, amend confirmation, and a 20,000-marker benchmark.
4.3.0 #
- Added:
tradeMarkersfor passing external buy/sell order data and renderingB/Sbadge markers inside the chart.
4.2.0 #
- Added: Date-jump support that can request the target history page before scrolling to the selected time.
4.1.0 #
- Added: Extended built-in indicator coverage with EMA, SAR, OBV, StochRSI, multi-period RSI, and multi-period WR.
- Added: Indicator configs can now override per-series colors and hide individual indicator series.
- Added: Example indicator settings panel for editing built-in indicator parameters, colors, and visible series.
- Improved: Indicator values now recalculate when
indicatorConfigsormaDayListchange, including configurable volume moving-average periods.
4.0.0 #
- Added: Data-source mode for library-managed historical loading, left-swipe pagination, realtime updates, cancellation, caching, reconnects, and data quality reporting.
- Added: Controller APIs for reload, manual history loading, latest-edge follow, visible/logical ranges, time/index jumps, fit content, coordinate conversion, and crosshair control.
- Added: Time and price axis features including manual price ranges, price-axis dragging, percentage mode, and logarithmic mode.
- Added: Multi-pane and indicator APIs with weighted pane layouts, configurable built-in indicator parameters, custom indicator registration, and custom series rendering.
- Added: Trading overlay APIs for order lines, position lines, trade markers, draggable take-profit/stop-loss lines, and line/marker tap callbacks.
- Improved: Realtime and historical data handling with gap repair, incremental indicator recalculation, safer cache isolation, and faster ordered bar lookup/merge paths.
- Improved: Rendering performance across chart painting, visible-range callbacks, trading overlays, drawing tools, text styles, candles, volume, and custom indicator rendering.
- Changed: Example K-line view now uses the data-source protocol for mock/live data, symbol switching, left-swipe pagination, realtime updates, and trading overlay demos.
3.4.0 #
- Fixed: Example release APK now declares
INTERNETpermission so live-market data works after installation. - Fixed: Example live-market history loading now uses OKX historical candles for older intraday data and keeps falling back across providers when a source returns empty results.
- Fixed: Example chart load-more requests now page from an earlier time boundary and filter duplicate rows so left-swipe history loading can continue reliably.
- Added: Example app symbol selector for quickly switching between multiple trading pairs.
3.3.0 #
- Added:
ChartStyle.candleBodyModeandCandleBodyMode.solid/hollowfor switching between solid and hollow candlesticks.
3.2.0 #
- Added: Color-blind-friendly palette support via
ChartColorVisionModeandChartThemeManager.
3.1.0 #
- Fixed: Safe handling for empty data and corrected the first valid BOLL window.
- Fixed: Mouse-wheel zoom now anchors to widget-local coordinates instead of screen coordinates.
- Fixed: Controller reattachment when
KChartWidgetrebuilds with a newKChartController. - Fixed: Drawing tool extended index conversion and KDJ overlay text conditions.
- Improved: Grid rendering loops, painter repaint checks, and high-frequency drawing allocations.
- Improved: Drawing tools now receive the real main-chart rect instead of duplicating hard-coded bounds.
- Improved: Added usable baseline implementations for several drawing tool
hitTest,getBounds, andmovepaths.
3.0.0 #
- Chore: Optimize and restructure the graphics
- Improved: Optimize the drawing tools
- Improved: Optimize drawing and plotting
- Added: Drawing Floating Toolbar Settings
- Added: Drawing lines move and reposition to the initial position
2.8.0 #
- Improved: style
2.7.0 #
- Improved: scaleSensitivity
2.6.0 #
- Added: watermark
2.5.0 #
- Fixed: Optimize gestures
2.4.0 #
- Fixed: Drawing content no longer displays outside the KChart area into indicator regions
- Improved: Drawing boundary detection and clipping for better visual consistency
2.3.0 #
- Improved: Trend angle drawing style optimization for enhanced precision
- Improved: Horizontal ray style synchronized with mainstream trading platforms
- Enhanced: Visual consistency with professional trading interfaces
2.2.0 #
- Enhanced: Drawing content now moves and scales seamlessly with chart interactions
- Improved: Synchronized drawing tool transformations with chart zoom and pan
- Added: Dynamic drawing content positioning that follows chart movements
2.1.0 #
- Fixed: KChart intelligently displays the date and time format of the selected information according to the cycle
- Changed: The kchart price tag is displayed on the right side
2.0.0 #
- Added: Professional drawing tools including Trend Line, Trend Angle, Arrow, Vertical Line, Horizontal Line, Horizontal Ray, Ray, and Cross Line
- Added: Interactive modes for drawing tools: TradingView-style crosshair selection, continuous drawing mode, magnet snapping mode, show/hide drawings, clear all drawings, and precise positioning control
- Added: Vibration feedback during interactions
- Added: Cross line label that indicates the fluctuation range
- Added: Click callback on cross line label for quick order placement
1.2.0 #
- Improved: Selection line optimization
1.1.0 #
- Improved: Gesture interaction and sensitivity response
1.0.0 #
- Added: Enhanced theme system with light/dark theme support
- Added: Improved gesture interactions with better pinch-to-zoom and scroll zoom
- Added: Theme switching functionality with ChartThemeManager
- Improved: Optimized chart styling and visual appearance
- Improved: Enhanced performance for large datasets
- Improved: Better touch responsiveness and smooth animations
- Fixed: Various UI improvements and bug fixes
0.7.1 #
- Improved: Performance optimization on the web
0.7.0 #
- Added:
xFrontPaddingparameter (padding in front, default 100) - Fixed: KChart and DepthChart onPress selection when they don't fill the whole screen
0.6.1 #
- Added:
chartColors.lineFillInsideColorconfiguration - Added:
materialInfoDialogconfig - Fixed: Duplicate crossLine and crossLine text rendering
0.6.0 #
- Breaking: Removed
bgColorAPI (usechartColors.bgColorinstead) - Added: TradeLine support
- Fixed: Data handling when
changeorradioproperties are missing
0.5.0 #
- Fixed: Vertical text alignment and nullable amount support
- Fixed: NowPrice text painting position
- Added: Click to show detailed data functionality
- Added: View display area boundary value drawing
- Added: Always show the current price
0.4.1 #
- Fixed: NPE bug resolution
0.4.0 #
- Changed: Marker values display direction from right to left
- Changed: UI when gridlines are hidden
- Improved: Real-time prices display
- Added: More configuration options
0.3.2 #
- Added: Show or hide grid functionality
- Changed: Multi-language implementation (please migrate to the new way)
- Changed: KDJ period from 14 to 9
0.3.1 #
- Added: More customizable colors
0.3.0 #
- Breaking: Null safety migration
- Added: Line under Touch Dialog
0.2.1 #
- Fixed: UI issues related to zooming
0.2.0 #
- Added: Real-time price display
- Breaking: Customizable UI for KChartWidget (chartStyle and chartColors must be specified)
0.1.4 #
- Added: onSecondaryTap functionality
- Changed: K-line drawing logic
0.1.3 #
- Added: CCI indicator support
0.1.2 #
- Added: Hidden Volume feature
0.1.1 #
- Added: Initial release