Releases: klinecharts/KLineChart
Releases · klinecharts/KLineChart
Version 7.3.3
🐞 Fix the inaccurate calculation of the coordinate point parameters of the annotation callback method.
💄 Optimize the y-axis display.
Version 7.3.2
👉 The default style is changed to be suitable for light theme.
🐞 Fix the problem of technicalIndicator.tooltip.showType: rect
.
Version 7.3.1
💄 Optimize the display of yAxis.type:log
.
Version 7.3.0
- 🆕 Add api
scrollByDistance
,scrollToRealTime
,scrollToPosition
,zoomAtCoordinate
andzoomAtPosition
. - 🆕 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
andsetOffsetRightSpace
able to refresh in real time.
Version 7.2.0
- 🆕 Add style configuration
technicalIndicator.tooltip.showType
. - 🆕 Api
subscribeAction
adds the new typepane_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
- 🆕 Add annotation feature
createAnnotation
is used to add annotationsremoveAnnotation
is used to delete annotations- Add
annotation
configuration for styles
- 🆕 Add api,
getGraphicMark
,getWidth
,getHeight
,convertToPixel
andconvertFromPixel
. - 🆕 Add
onMouseEnter
andonMouseLeave
events to graphic markers. - 🆕
suscribeAction
adds the new typecrosshair
. - 🆕 Custom indicator technical calculation parameters support decimals.
- 💪 Enhanced
unsubscribeAction
to cancel events in batches. - 💪 Enhanced
addCustomTechnicalIndicator
andaddCustomGraphicMark
, which can be added in batches.
Version 7.0.2
- 🛠 Rewrite technical indicator calculation
EMV
,ROC
,WR
,CR
,PVT
,DMI
,MTM
,PSY
,VR
,RSI
,OBV
,EMA
,MACD
,SMA
,TRIX
,CCI
。
Version 7.0.1
- 🆕 Add lock for graphic markers.
- 💄
getTechnicalIndicatorByPaneId
is added to return calculation results. - 💄 The
DIFF
of the technical indicatorMACD
is changed toDIF
. - 💄 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
- 🆕 New features
- Add
removeGraphicMark
,setGraphicMarkOptions
, andcreateTechnicalIndicator
to the chart instance methods. - Chart instance methods
subscribeDrawAction
andunsubscribeDrawAction
are changed tosubscribeAction
andunsubscribeAction
, and new typeszoom
andscroll
are added. - Add
getDistance
,getRotatePoint
,checkPointOnArc
, andgetRayLine
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
andpolygon
.
- Add
- 💪 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.
- Chart instance method
- 💄 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 tocreateTecchnicalIndicator
. - The chart instance method
getTechnicalIndicatorInfo
is changed togetTechnicalIndicatorByName
. - The chart instance method
getTechnicalIndicatorType
is changed togetTechnicalIndicatorByPaneId
. - The graphics mark assist method
checkPointOnSegmentLine
is changed tocheckPointOnSegment
. - Hot key zoom in is changed to
shift
++
. - Hot key zoom out is changed to
shift
+-
.
- The chart instance method
- 🐞 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.
- Fix the problem that the built-in technical indicator
- 🗑 Delete
- Delete the chart instance methods
createPane
,removePane
,removeAllGraphicMark
.
- Delete the chart instance methods
Version 6.1.0
- 🆕 Add
extension.addTechnicalIndicator
andextension.addGraphicMark
to the chart api. - 🆕 Each item of the technical indicator
plots
addstitle
. - 🆕 Add
styles
for technical indicators. - 🆕 Add api
overrideTechnicalIndicator
, replace the apissetTechnicalIndicatorParams
andsetTechnicalIndicatorPrecision
. - 🆕 Add api
addCustomGraphicMark
to add custom chart mark. - 🆕 Add api
removePane
to remove the window. - 🆕 Add configuration
graphicMark.polygon
和graphicMark.arc
. - 👉 Api
getTechnicalIndicatorParams
is changed togetTechnicalIndicatorInfo
. - 👉 Api
addGraphicMark
is changed tocreateGraphicMark
. - 💄 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.