Releases: klinecharts/KLineChart
Releases · klinecharts/KLineChart
Version 9.0.0-alpha7
- 💄 Optimize chart event processing.
- 🐞 Fix the problem that the
overlay
click event does not trigger.
Version 9.0.0-alpha6
- 🆕 I18n supports incremental register.
- 💄 Optimize some typescript input parameters.
- 🐞 Fix the problem that switching from dark theme to light theme does not work.
- 🐞 Fix the y-axis scaling roll problem.
- 🐞 Fix the problem of covering deletion and chart refresh.
Version 9.0.0-alpha5
- 🆕 The instance methods
createIndicator
andoverrideIndicator
add a successful callback. - 🆕 Styles
indicator.lines
andoverlay.line
addsmooth
. - 💄 Trigger conditions of optimization indicator calculation method.
- 💄 Optimize the style
overlay
.
Version 9.0.0-alpha4
- 🐞 Fix the problem of creating main chart indicators without updating.
- 🐞 Fix the problem of removing overlays.
- 💄 Optimize the built-in overlays.
Version 9.0.0-alpha3
- 🆕 Add instance api
getVisibleRange
. - 🐞 Fix the problem of reverse y-axis vertical scaling.
Version 9.0.0-alpha2
- 🆕
Overlay
supports grouping. - 🐞 Fix the problem of tooltip display when there is no data.
Version 9.0.0-alpha1
- 🛠 Typescript refactoring.
- 🆕 New features
- Add Y axis direction zoom and scroll.
- API
- New chart methods
registerFigure
,getSupportFigures
,getFigureClass
,rigiderOverlay
,getSupportOverlays
,registerLocale
,getSupportLocales
,registerStyles
are added. - New instance methods,
getSize
,setLocale
,getLocal
,setCustomApi
,createOverlay
,getOverlayById
,overrideOverlay
,removeOverlay
.
- New chart methods
- Style Configuration
- Add
candle.priceMark.last.text.borderStyle
,indicator.lastValueMark.text.borderStyle
,crosshair.horizontal. text.borderStyle
,crosshair.vertical.text.borderStyle
.
- Add
- 👉 Change
- API
- Chart method
extension.addTechnicalIndicatorTemplate
is changed toregisterIndicator
. - Chart method
extension.addShapeTemplate
is changed toregisterOverlay
. - Instance method
setStyleOptions
is changed tosetStyles
. - Instance method
getStyleOptions
is changed togetStyles
. - Instance method
setPaneOptions(options)
,options
add new attributegap
. - Instance method
setOffsetRightSpace
is changed tosetOffsetRightDistance
. - Instance method
createTechnicalIndicator
is changed tocreateIndicator
- Instance method
overlayTechnicalIndicator
is changed tooverrideIndicator
. - Instance method
getTechnicalIndicatorByPaneId
is changed togetIndicatorByPaneId
. - Instance method
removeTechnicalIndicator
is changed toremoveIndicator
.
- Chart method
- Style Configuration
- All
line.style
options are changed tosolid
anddashed
. - All
dashValue
is changed todashedValue
. xAxis.height
is changed toxAxis.size
,xAxis.tickeText.paddingTop
is changed toxAxis.tickeText.marinStart
, andxAxis.tickeText.paddingBottom
is changed toxAxis.tickeText.marinEnd
.yAxis.height
is changed toyAxis.size
,yAxis.tickeText.paddingTop
is changed toyAxis.tickeText.marinStart
, andyAxis.tickeText.paddingBottom
is changed toyAxis.tickeText.marinEnd
.technicalIndicator.bar
is changed toindicator.bars
,technicalIndicator.line
is changed toindicator.lines
,technicalIndicator.circle
is changed toindicator.circles
- All
- Custom Extension
- The technical indicator attribute
calcParams
has been changed to support any type. - The technical indicator attribute
plots
is changed tofigures
. - The technical indicator attribute
regeneratePlots
is changed to' regeneratefigures'. - The technical indicator attribute
calcTechnicalIndicator
is changed tocalc
. - The technical indicator attribute
render
is changed to 'draw'.
- The technical indicator attribute
- API
- 🗑 Abandonment
- API
- Delete instance methods
getWidth
,getHeight
, and usegetSize
instead. - Delete instance methods
createShape
,createAnnotation
,createTag
, and usecreateOverlay
instead. - Delete instance methods
removeShape
,removeAnnotation
,removeTag
. UseremoveOverlay
instead. - Delete the instance method
setShapeOptions
and useoverrideOverlay
instead. - Delete instance methods
createHtml
,removeHtml
,addTechnicalIndicatorTemplate
,getTechnicalIndicatorTemplate
,addShapeTemplate
.
- Delete instance methods
- Style Configuration
- Delete
shape
,annotation
,tag
and useoverlay
instead. - Delete
candle.margin
,technicalIndicator.margin
。
- Delete
- Custom Extension
- The related attributes are no longer saved in the technical indicator template.
- Delete
Shape
and useOverlay
instead.
- API
Version 8.6.3
- 💄 Optimize the display of high and low prices.
Version 8.6.2
- 🐞 Fix
scrollToXxx
related bugs. - 💄 Optimize id generation rules.
- 💄 Optimize logarithmic coordinate display.
Version 8.6.1
- 🐞 Fix
overrideTechnicalIndicator
bug. - 🐞 Fix
unsubscribeAction
bug. - 🐞 Fix the problem that the chart style may be wrong.
- 💄 Optimize typescript declarations.
- 🔧 Rewrite packaging script.