Skip to content

Releases: klinecharts/KLineChart

Version 7.3.3

03 Jun 11:53
Compare
Choose a tag to compare

🐞 Fix the inaccurate calculation of the coordinate point parameters of the annotation callback method.
💄 Optimize the y-axis display.

Version 7.3.2

01 Jun 02:13
Compare
Choose a tag to compare

👉 The default style is changed to be suitable for light theme.
🐞 Fix the problem of technicalIndicator.tooltip.showType: rect.

Version 7.3.1

31 May 09:50
Compare
Choose a tag to compare

💄 Optimize the display of yAxis.type:log.

Version 7.3.0

28 May 05:46
Compare
Choose a tag to compare
  • 🆕 Add api scrollByDistance, scrollToRealTime, scrollToPosition, zoomAtCoordinate and zoomAtPosition.
  • 🆕 Add api setPaneOptions for setting windows.
  • 🆕 Add logarithmic coordinates for the axis, yAxis.type: log.
  • 🆕 Add style configuration, candle.priceMark.last.text.borderRadius, technicalIndicator.lastValueMark.text.borderRadius,
    crosshair.horizontal.text.borderRadius, crosshair.vertical.text.borderRadius.
  • 🆕 Add touchpad scrolling support.
  • 💪 Api createTechnicalIndicator, window parameters can take effect in real time.
  • 💪 Api setDataSpace and setOffsetRightSpace able to refresh in real time.

Version 7.2.0

20 May 13:14
Compare
Choose a tag to compare
  • 🆕 Add style configuration technicalIndicator.tooltip.showType.
  • 🆕 Api subscribeAction adds the new type pane_drag.
  • 💄 Optimize window drag height adjustment rules.
  • 🐞 Fix area chart display problem.
  • 🐞 Fix the problem of incorrect callback parameters for annotation custom markers.

Version 7.1.0

26 Apr 09:45
Compare
Choose a tag to compare
  • 🆕 Add annotation feature
    • createAnnotation is used to add annotations
    • removeAnnotation is used to delete annotations
    • Add annotation configuration for styles
  • 🆕 Add api, getGraphicMark, getWidth, getHeight, convertToPixel and convertFromPixel.
  • 🆕 Add onMouseEnter and onMouseLeave events to graphic markers.
  • 🆕 suscribeAction adds the new type crosshair.
  • 🆕 Custom indicator technical calculation parameters support decimals.
  • 💪 Enhanced unsubscribeAction to cancel events in batches.
  • 💪 Enhanced addCustomTechnicalIndicator and addCustomGraphicMark, which can be added in batches.

Version 7.0.2

07 Apr 09:39
Compare
Choose a tag to compare
  • 🛠 Rewrite technical indicator calculation EMV, ROC, WR, CR, PVT, DMI, MTM, PSY, VR, RSI, OBV, EMA, MACD, SMA, TRIX, CCI

Version 7.0.1

29 Mar 12:30
Compare
Choose a tag to compare
  • 🆕 Add lock for graphic markers.
  • 💄 getTechnicalIndicatorByPaneId is added to return calculation results.
  • 💄 The DIFF of the technical indicator MACD is changed to DIF.
  • 💄 Adjust the display of tooltip.
  • 🐞 Fix the problem of incorrect display of the technical indicator RSI after adjusting the parameters.
  • 🐞 Fix the problem of incorrect calculation of the technical indicator VR. The default calculation parameters are changed to [26, 6].
  • 🐞 Fix the display problem of the cross cursor on the mobile.

Version 7.0.0

25 Feb 11:48
Compare
Choose a tag to compare
  • 🆕 New features
    • Add removeGraphicMark, setGraphicMarkOptions, and createTechnicalIndicator to the chart instance methods.
    • Chart instance methods subscribeDrawAction and unsubscribeDrawAction are changed to subscribeAction and unsubscribeAction, and new types zoom and scroll are added.
    • Add getDistance, getRotatePoint, checkPointOnArc, and getRayLine to the graphics mark auxiliary methods.
    • When creating technical indicators, if it is a new window, you can customize the window id.
    • Built-in technical indicator BOLL, new calculation parameters.
    • When creating a graphic mark, you can customize the id and add event callbacks: onDrawStart, onDrawing, onDrawEnd, onClick, onRightClick, onPressedMove, onRemove.
    • Customize graphic markers, and add batch drawing of conntinuous_line and polygon.
  • 💪 Function enhancement
    • Chart instance method removeTechnicalIndicator, when there is no technical indicator in the window, the window will be automatically removed.
    • The data source volume is no longer an unnecessary field.
    • Customized graphic marking method checkPointOn added parameter key.
  • 💄 Optimize
    • Optimize the sensitivity of checking whether the mouse point is on the drawing module.
    • Optimize the rendering of graphic markers.
    • Optimize the mouse operation of graphic marking.
    • Optimize the display of the cross cursor.
    • Optimize the calculation of technical indicators when data is updated.
  • 👉 Change
    • The chart instance method setTechnicalIndicatorType is changed to createTecchnicalIndicator.
    • The chart instance method getTechnicalIndicatorInfo is changed to getTechnicalIndicatorByName.
    • The chart instance method getTechnicalIndicatorType is changed to getTechnicalIndicatorByPaneId.
    • The graphics mark assist method checkPointOnSegmentLine is changed to checkPointOnSegment.
    • Hot key zoom in is changed to shift + +.
    • Hot key zoom out is changed to shift + -.
  • 🐞 Bug fix
    • Fix the problem that the built-in technical indicator VOL, volume prompt does not display.
    • Fix the problem of determining the graphic mark point.
    • Fix the problem that an error may be reported when the comparison type of custom graphics is line.
    • Fix the problem of adding graphic marks and technical indicators globally, which may report errors.
  • 🗑 Delete
    • Delete the chart instance methods createPane, removePane, removeAllGraphicMark.

Version 6.1.0

06 Jan 12:43
Compare
Choose a tag to compare
  • 🆕 Add extension.addTechnicalIndicator and extension.addGraphicMark to the chart api.
  • 🆕 Each item of the technical indicator plots adds title.
  • 🆕 Add styles for technical indicators.
  • 🆕 Add api overrideTechnicalIndicator, replace the apis setTechnicalIndicatorParams and setTechnicalIndicatorPrecision.
  • 🆕 Add api addCustomGraphicMark to add custom chart mark.
  • 🆕 Add api removePane to remove the window.
  • 🆕 Add configuration graphicMark.polygongraphicMark.arc.
  • 👉 Api getTechnicalIndicatorParams is changed to getTechnicalIndicatorInfo.
  • 👉 Api addGraphicMark is changed to createGraphicMark.
  • 💄 Optimize the display of tooltip.
  • 🐞 Fix method dispose call may report an error problem.
  • 🐞 Fix the problem that the prototype extension may not be compatible with other plugins.
  • 🐞 Fix typescript reference problem.