📠 Change Log
10.0.0-alpha5
2025-03-09
- 👉 Style configuration
candle.tooltip.icons
changed tocandle.tooltip.features
,indicator.tooltip.icons
changed toindicator.tooltip.features
. - 👉
icons
in the return value of thecreateTooltipDataSource
method in the indicator changed tofeatures
. - 👉 The instance api
subscribeAction
andunsubscribeAction
input parameteronTooltipIconClick
changed toonCandleTooltipFeatureClick
, and the indicator event is replaced byindicator.onClick
. - 🐞 Fixed the problem that scrolling cannot be performed in certain situations on mobile terminals.
- 💄 Optimize the display of overlay event response.
10.0.0-alpha4
2025-02-23
- 🐞 Fix the issue that the parameter
more.backward
ofapplyNewData
instance method is incorrect. - 🐞 Fix the issue that a single piece of data causes a chart error.
10.0.0-alpha3
2025-02-19
- 👉 The return value of the instance api
createIndicator
is changed to return the indicator id. - 👉 The input parameter
paneId
of the instance apioverlayIndicator
is merged into the input parameterindicator
. - 👉 The return value of the instance api
getIndicators
is changed to return an array. - 👉 The return value of the instance api
getOverlays
is changed to return an array. - 🆕 The style configuration adds
candle.bar.compareRule
,indicator.ohlc.compareRule
andcandle.priceMark.last.compareRule
. - 🆕 Supports dragging the y-axis on mobile devices.
- 🆕 Supports creating multiple indicators with the same name on the same window.
- 💄 Optimize
figure
inoverlay
template to ignore event type, and the event name is consistent with the event name inoverlay
. - 🐞 Fix the problem that the indicator custom prompt information may be wrong.
- 🐞 Fix the problem that the overlay being drawn may not be deleted correctly.
- 🐞 Fix the problem that the api
createOverlay
may not be created correctly whenpoints
is specified. - 🐞 Fix the problem that the api
executeAction
may cause thesubscribeAction
to trigger infinitely.
10.0.0-alpha2
2024-12-20
- 🆕 The x-axis supports displaying future time.
- 🐞 Fix the issue that
subscribeAction
type isActionType.OnCandleBarClick
and it does not work.
10.0.0-alpha1
2024-12-01
- 🆕 New features
- Support thousand separators and custom decimal folding.
- Rewrite the axis module, and customize the y-axis to support setting ranges.
- Add instance methods
setPrecision(precision)
,getPrecision()
,setThousandsSeparator(thousandsSeparator)
,getThousandsSeparator()
,setDecimalFold(decimalFold)
,getDecimalFold()
andsetLoadMoreDataCallback(cb)
.
- 👉 Changes
- Chart api
init(dcs, options)
,position
inoptions.layout
child changed toorder
,formatDate(dateTimeFormat, timestamp, format, type)
inoptions.customApi
changed toformatDate(timestamp, format, type)
,options.thousandsSeparator
changed to object{ sign, format }
,options.decimalFoldThreshold
changed tooptions.decimalFold
. - Instance api
applyNewData(dataList, more, callback)
changed toapplyNewData(dataList, more)
. - Instance api
updateData(data, callback)
changed toupdateData(data)
. - Instance api
getBarSpace()
return value changed to object. - The return value of the custom indicator
createTooltipDataSource
methodvalues
is changed tolegends
.
- Chart api
- 🗑 Deprecated
- Remove chart api
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 usegetFigureClass(name)
instead. - Remove instance api
setPriceVolumePrecision(pricePrecision, volumePrecision)
, please usesetPrecision(precision)
instead. - Remove instance api
applyMoreData(dataList, more, callback)
,setLoadDataCallback(cb)
andloadMore(cb)
, please usesetLoadMoreDataCallback(cb)
instead. - Remove instance api
getIndicatorByPaneId(paneId, name)
, please usegetIndicators(filter)
instead. - Remove instance api
getOverlayById(id)
, please usegetOverlays(filter)
instead. - Remove style configuration
yAxis.position
,yAxis.type
,yAxis.inside
andyAxis.inside
, please use the properties in the window configurationaxis
instead. For details, refer to the chart API init(dcs, options), the instance API createIndicator(value, isStack, paneOptions) and setPaneOptions(options). - Remove
overlay.rectText
from style configuration. - Remove
rectText
from built-in basic graphics, please usetext
instead.
- Remove chart api
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.