Skip to content

Releases: klinecharts/KLineChart

Version 10.0.0-alpha2

19 Dec 18:21
Compare
Choose a tag to compare
  • 🆕 The x-axis supports displaying future time.
  • 🐞 Fix the issue that subscribeAction type is ActionType.OnCandleBarClick and it does not work.

Version 10.0.0-alpha1

01 Dec 19:45
Compare
Choose a tag to compare
  • 🆕 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() and setLoadMoreDataCallback(cb) .
  • 👉 Changes
    • Chart api init(dcs, options), position in options.layout child changed to order , formatDate(dateTimeFormat, timestamp, format, type) in options.customApi changed to formatDate(timestamp, format, type) , options.thousandsSeparator changed to object { sign, format } , options.decimalFoldThreshold changed to options.decimalFold .
    • Instance api applyNewData(dataList, more, callback) changed to applyNewData(dataList, more) .
    • Instance api updateData(data, callback) changed to updateData(data) .
    • Instance api getBarSpace() return value changed to object.
    • The return value of the custom indicator createTooltipDataSource method values is changed to legends .
  • 🗑 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 use getFigureClass(name) instead.
    • Remove instance api setPriceVolumePrecision(pricePrecision, volumePrecision), please use setPrecision(precision) instead.
    • Remove instance api applyMoreData(dataList, more, callback), setLoadDataCallback(cb) and loadMore(cb), please use setLoadMoreDataCallback(cb) instead.
    • Remove instance api getIndicatorByPaneId(paneId, name), please use getIndicators(filter) instead.
    • Remove instance api getOverlayById(id), please use getOverlays(filter) instead.
    • Remove style configuration yAxis.position , yAxis.type , yAxis.inside and yAxis.inside , please use the properties in the window configuration axis 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 use text instead.

Version 9.8.10

05 Jun 16:34
Compare
Choose a tag to compare
  • 🐞 Fix the issue of blurry drawing of basic graphics rect, line.
  • 🐞 Fix the inaccurate zooming issue of instance methods zoomAtCoordinate, zoomAtDataIndex and zoomAtTimestamp.
  • 🐞 Fix the issue of possible error in x-axis zooming.
  • 💄 Optimize the instance method subscribeAction. When type is 'onScroll' and 'onZoom', the callback method adds a new parameter.
  • 💄 Optimize the sub-item attrs in the indicator attribute figures. Add callback parameter data.

Version 9.8.9

27 May 17:18
Compare
Choose a tag to compare
  • 🐞 Fix style configuration yAxis.type: 'percentage' error.
  • 🐞 Fix declaration issue in typescript.

Version 9.8.8

13 May 17:30
Compare
Choose a tag to compare
  • 🐞 Fixed the problem that the style configuration candle.tooltip.custom cannot be overridden when it is an array.
  • 🐞 Fixed the issue of inaccurate decimal folding.
  • 💄 Optimize the parameter precision in the overlay callback method.

Version 9.8.7

10 May 01:56
Compare
Choose a tag to compare
  • 🐞 Fix the issue of unsynchronized price and volume precision in indicator precision.

Version 9.8.6

06 May 16:48
Compare
Choose a tag to compare
  • 🐞 Fix an issue that chart API registerIndicator and registerOverlay parameters extendData cannot take effect.
  • 🐞 Fix an issue of incorrect decimal folding when specifying . as the thousandth character.
  • 🐞 Fix an issue where overlays may not be moved after being created.

Version 9.8.5

13 Apr 16:03
Compare
Choose a tag to compare
  • 💄 Optimize the default right offset distance of the chart.
  • 🐞 Fix area chart display issue.
  • 🐞 Fix occasional blank spaces in chart.

Version 9.8.3

11 Apr 16:53
Compare
Choose a tag to compare
  • 💄 Optimize styles by adding offsetLeft, offsetTop, offsetRight and offsetBottom to candle.tooltip and indicator.tooltip.
  • 💄 Optimize figure and support array for attrs.
  • 💄 Optimize y-axis render.
  • 💄 Optimize default display, change the default candle width to 8.
  • 🐞 Fix applyMoreData add duplicate data issue. @cryptotooltop

Version 9.8.2

25 Mar 17:25
Compare
Choose a tag to compare
  • 💄 Optimize the display of the area chart.
  • 💄 Optimize smooth line drawing.
  • 🐞 Fix the overlay and drawing it to future time may not be an issue.