đ Change Log â
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.