Skip to content

Releases: klinecharts/KLineChart

Version 6.0.5

28 Dec 13:56
Compare
Choose a tag to compare
  • 🆕 Add configuration candle.margin, candle.tooltip.defaultValue, technicalIndicator.margin, technicalIndicator.tooltip.defaultValue and separator.activeBackgroundColor.
  • 💄 Optimize drag and drop to adjust chart display.
  • 🐞 Fix the problem of custom colors in candle.tooltip.values.

Version 6.0.2

17 Dec 07:01
Compare
Choose a tag to compare
  • 💄 Optimize the time display of the x-axis cross cursor.
  • 💄 Optimize technical indicator plot type is bar aligned display.
  • 💄 Optimize the display of the highest and lowest prices of candlestick charts.
  • 🐞 Fix the problem that the cross cursor on the mobile terminal needs to be clicked twice for the first time to disappear.

Version 6.0.1

06 Dec 08:27
Compare
Choose a tag to compare
  • 👉 The minimum drawing pixel of a single data is changed to 1.
  • 💄 Optimize the y-axis display of the secondary fill empty data.
  • 💄 Optimize the calculation of some built-in technical indicators.
  • 🐞 Fix the problem that the same data may cause the y-axis scale to not be calculated.

Version 6.0.0

29 Nov 10:46
Compare
Choose a tag to compare
  • 🎨 New style configuration
    • 👉 All display is changed to show.
    • 👉 candleStick is changed to candle.
    • 👉 candleStick.bar.style is changed to candle.type.
    • 👉 realTime is changed to candle.area.
    • 👉 floatLayer.prompt.candleStick is changed to candle.tooltip.
    • 👉 floatLayer.prompt.technicalIndicator is changed to technicalIndicator.tooltip.
    • 👉 floatLayer.crossHair is changed to crosshair.
  • 🔧 New API
    • 👉 createTechnicalIndicator is changed to createPane.
    • 👉 setPrecision is changed to setPriceVolumePrecision.
    • 💪 setTechnicalIndicatorType and removeTechnicalIndicator added new parameters and enhanced functions.
    • 🆕 Add getTechnicalIndicatorType.
    • 🗑 Remove setCandleStickChartType.
    • 🗑 Remove setCandleStickTechnicalIndicatorType.
  • 🆕 The main picture and the picture support the setting of multiple technical indicator types.
  • 💄 Optimize initialization method init error parameter prompt.
  • 🐞 Fix the problem that the gap between the name and value of the technical indicator prompt is incorrect.

Version 5.7.0

13 Nov 12:43
Compare
Choose a tag to compare
  • 🛠 Refactor marking graphics module.
  • 🆕 Configuration item realTime.timeLine.areaFillColor supports gradient.
  • 🆕 Add dataIndex in the callback parameter data of the subscribeDrawAction method.
  • 🆕 Add api setZoomEnabled and isZoomEnabled, setScrollEnabled and isScrollEnabled.
  • 💄 Optimize the chart display of the y-axis value very small.

Version 5.6.0

29 Aug 15:33
Compare
Choose a tag to compare
  • 🆕 Add render property for custom technical indicators.
  • 🆕 Custom indicator api calcTechnicalIndicator, add parameter plots.
  • 🆕 Add xAxis.height and yAxis.width to configuration items.
  • 🆕 Add api subscribeDrawAction and unsubscribeDrawAction for drawing monitoring and cancellation.
  • 🆕 Add api getTimezone.
  • 👉 Api getTechnicalIndicatorParamOptions changed to getTechnicalIndicatorParams
  • 👉 The built-in indicator text prompt shows that xxxMa is changed to maXxx.
  • 🗑 Remove the configuration item floatLayer.prompt.technicalIndicator.point.

Version 5.5.1

16 Aug 08:41
Compare
Choose a tag to compare
  • 💄 When there is no data, the y-axis is displayed.
  • 💄 Optimize the default main chart technical indicator type, the default chart is simpler.
  • 💄 Optimize performance and reduce useless calculations.
  • 🐞 Fix the problem that the y-axis cannot be displayed and displayed incorrectly when switching the chart type and the newly added secondary chart indicator.
  • 🐞 Fix the problem that cannot be merged correctly when configuration is a method.
  • 👉 xAxis.tickText.margin changed to xAxis.tickText.paddingTop and xAxis.tickText.paddingBottom.
  • 👉 yAxis.tickText.margin changed to yAxis.tickText.paddingLeft and yAxis.tickText.paddingRight.

Version 5.5.0

26 Jul 09:16
Compare
Choose a tag to compare
  • 🆕 Add back the technical indicator ohlc display.
  • 🆕 Add text weight configuration.
  • 🆕 A new shouldFormatBigNumber property is added to the custom technical indicators, which is used to inform the chart whether larger numbers need to be formatted.
  • 🆕 New api setTechnicalIndicatorPrecision.
  • 💄 Optimize the data display after moving the mouse over the chart, and display the last data instead.
  • 💄 Optimize the starting position of chart drawing when loading new data.
  • 💄 Optimize the internal dom element level to reduce nesting.
  • 💄 Optimize the prompt text display of VOL.
  • 🐞 Fix the problem that illegal technical indicator calculation parameters may cause the chart to crash.
  • 👉 The style configuration yAxis.tickText.position is changed to yAxis.inside.
  • 👉 The default font family is changed from Arial to Helvetica Neue.
  • 👉 The custom technical indicator attribute isPriceTechnicalIndicator becomes series, and the value is changed to price, volume and normal.
  • 🗑 Remove the x-axis minHeight and maxHeight configuration, change to height adaptive.
  • 🗑 Remove the y-axis minWidth and maxWidth configuration, change to width adaptive.

Version 5.3.0

25 May 17:02
Compare
Choose a tag to compare
  • 🛠 Refactoring technical indicator module.
  • 💄 The optimization method formatDate is called frequently and the resource occupation is too high.
  • 💄 Optimized to load more trigger mechanisms, instead of zooming, scrolling will trigger.
  • 💄 Optimize the Y axis to calculate the maximum and minimum values.
  • 🆕 The new method addCustomTechnicalIndicator is used to add custom technical indicators to the chart.
  • 👉 The method addTechnicalIndicator was changed to createTechnicalIndicator.
  • 🗑 Remove the technical indicators and draw ohlc.

Version 5.2.2

10 May 16:30
Compare
Choose a tag to compare

About

Emergency version, fix important issues.

Fixed

  • Fixed the problem that it cannot be rendered on some browsers.