Skip to content

📠 Change Log

10.0.0-beta1

2025-11-21

  • 🆕 New Features

    • Support thousands separators and custom decimal collapse.
    • Support displaying future time on the x-axis.
    • Support dragging the y-axis on mobile devices.
    • Support creating multiple metrics with the same name on the same window.
    • Rewrote the axis module; custom y-axis supports setting the range.
    • Add zoomAnchor to the options method of the chart method init(dom, options).
    • New instance methods setZoomAnchor(anchor), getZoomAnchor(), setDataLoader(loader), setSymbol(symbol), getSymbol(), setPeriod(period), getPeriod(), resetData(), setThousandsSeparator(thousandsSeparator) , getThousandsSeparator() , setDecimalFold(decimalFold) , getDecimalFold() , getIndicators() and getOverlays() .
    • Add style configurations: candle.priceMark.last.extendTexts, candle.tooltip.title, candle.tooltip.legend, indicator.tooltip.title, indicator.tooltip.legend, crosshair.horizontal.features, candle.bar.compareRule, indicator.ohlc.compareRule, and candle.priceMark.last.compareRule.
    • Add onIndicatorTooltipFeatureClick and onCrosshairFeatureClick to the type parameter in the instance methods subscribeAction and unsubscribeAction.
  • 👉 Changes

    • In the chart method init(dcs, options), the position sub-item of options.layout has been changed to order, options.thousandsSeparator has been changed to the object { sign, format }, options.decimalFoldThreshold has been changed to options.decimalFold, options.customApi has been changed to options.formatter, and the parameter of formatDate has been changed to an object.
    • In the instance methods setCustomApi and getCustomApi have been changed to getFormatter, the return value of getBarSpace() has been changed to an object, the return value of createIndicator has been changed to return the indicator ID, and the input parameter paneId of overlayIndicator has been merged into the input parameter indicator.
    • The return value of the custom metric createTooltipDataSource method has been changed from values to legends, and icons to features.
    • The style configurations candle.tooltip.icons and indicator.tooltip.icons have been changed to indicator.tooltip.features.
  • 💄 Optimizations

    • Optimized the figure element in the overlay template to ignore event types, ensuring the event name matches the event name in overlay.
    • Optimized the execution of metric calculation tasks.
    • Optimized the triggering of scroll events on mobile devices.
  • 🗑 Deprecated

    • The following chart methods have been removed: utils.drawArc(ctx, arc, styles), utils.drawCircle(ctx, circle, styles), utils.drawLine(ctx, line, styles), utils.drawPolygon(ctx, polygon, styles), utils.drawRect(ctx, rect, styles), utils.drawText(ctx, text, styles), utils.drawRectText(ctx, rectText, styles). Please use getFigureClass(name) instead.
    • The following instance method has been removed: setPriceVolumePrecision(pricePrecision, volumePrecision). Please use setPrecision(precision) instead.
    • In the instance API, remove setLoadMoreData, applyNewData, and updateData. Replace them with setDataLoader. Remove clearData, setPrecision, and getPrecision.
    • In the instance method, remove getIndicatorByPaneId(paneId, name). Replace it with getIndicators(filter).
    • In the instance method, remove getOverlayById(id). Replace it with getOverlays(filter).
    • In the instance methods subscribeAction and unsubscribeAction, remove the parameter onTooltipIconClick. Replace it with onCandleTooltipFeatureClick and onIndicatorTooltipFeatureClick.
    • The style configuration removes yAxis.position, yAxis.type, yAxis.inside, and yAxis.inside. Please use the properties in the axis section of the window configuration instead. For details, see the chart API [init(dcs, options)](/api/chart/init#parameters), the instance APIs [createIndicator(value, isStack, paneOptions)](/api/instance/createIndicator#parameters), and [setPaneOptions(options)](/api/instance/setPaneOptions#parameters).
    • In style configuration, remove candle.tooltip.defaultValue and replace candle.tooltip.custom with candle.tooltip.legend. Also remove candle.tooltip.text, indicator.tooltip.showName, and indicator.tooltip.showParams; use indicator.tooltip.title instead. Remove indicator.tooltip.defaultValue and replace it with indicator.tooltip.legend. Also remove indicator.tooltip.text and overlay.rectText.
    • In built-in basic graphics, remove rectText and replace it with text.

9.x

Go to https://v9.klinecharts.com to check the change log for 9.x.

8.x

Go to https://v8.klinecharts.com to check the change log for 9.x.

7.x

Go to Github to check the change log for 7.x.

6.x

Go to Github to check the change log for 6.x.

5.x

Go to Github to view the 5.x release notes.

4.x

Go to Github to view the 4.x release notes.