Change Log
8.3.3
2022-02-21
- 🐞 Fix the problem that the shape attribute lock does not take effect.
- 💄 Optimize the display of technical indicator names.
8.3.2
2022-01-31
- 🐞 Fix the problem that the technical indicator prompts are displayed incorrectly.
8.3.1
2022-01-18
- 🐞 Fix
createShape
attributemode
does not take effect.
8.3.0
2022-01-16
- 🆕 Export some basic chart methods.
- 🆕 Technical indicator template calculation supports asynchronous.
- 🆕 Add method
createTooltipDataSource
for technical template. - 🆕 Add callback parameter
paneId
for chart action typecrosshair
. - 🐞 Fix the problem that the independent style
line.colors
of technical indicators does not take effect. - 🐞 Fix the problem of drawing error when the shape type is
polygon
. - 🐞 Fix shape
mode
setting not taking effect. - 🐞 Fix style configuration
candle.tooltip.showType
andtechnicalIndicator.tooltip.showType
for 'rect' chart error. - 🐞 Fix wrong typescript declaration.
8.2.0
2022-01-10
- 🆕 Add instance methods
createHtml
andremoveHtml
. - 🆕 Instance methods
subscribeAction
andunsubscribeAction
add typetooltip
. - 🆕 Technical indicator template add attribute
shortName
. - 🆕 Technical indicator template attribute
plot.color
supportsline
. - 🆕 Technical indicator template attribute
styles
supportsmargin
. - 💄 Optimize mobile scroll event response.
8.1.1
2021-12-19
- 🐞 Fix the problem that the style technicalIndicator.tooltip.defaultValue does not take effect.
- 🐞 Fix the problem that dragging on the axis may cause the chart to display abnormally.
- 💄 Optimize shape,
onPressedMove
event.
8.1.0
2021-11-30
- 🆕 Style configuration adds
tag.mark.offset
,tag.mark.borderColor
,tag.mark.borderSize
,tag.text.borderColor
,tag.text.borderSize
. - 🐞 Fix the data loading page refresh problem.
8.0.0
2021-10-29
- 🆕 New features
- Added
getDataSpace
andgetBarSpace
. createTechnicalIndicator
supports overwriting built-in attributes when creating.overrideTechnicalIndicator
supports overriding indicator properties on a certain window.getTechnicalIndicatorByPaneId
supports obtaining individual technical indicator information.- Shapes, annotations, and labels can be created on any window.
- Shapes support overall drag, support weak magnet and strong magnet mode, support custom data.
- Added
- 👉 Change
extension.addTechnicalIndicator
changed toextension.addTechnicalIndicatorTemplate
.extension.addGraphicMark
changed toextension.addShapeTemplate
.- Chart instance
createGraphicMark
is changed tocreateShape
, and the parameters are merged.addCustomGraphicMark
changed toaddShapeTemplate
.getGraphicMark
changed togetShape
.removeGraphicMark
changed toremoveShape
.setGraphicMarkOptions
changed tosetShapeOptions
.addCustomTechnialIndicator
changed toaddTechnicalIndicatorTemplate
.getTechnicalIndicatorByName
changed togetTechnicalIndicatorTemplate
.- Added parameter
paneId
inremoveAnnotation
. - Added parameter
paneId
toremoveTag
. scrollToPosition
changed toscrollToDataIndex
.zoomAtPosition
changed tozoomAtDataIndex
.getConvertPictureUrl
parametersincludeTooltip
andincludeGraphicMark
are merged intoincludeOverlay
.subscribeAction
andunsubscribeAction
, remove thedrawCandle
anddrawTechnicalIndicator
types.convertToPixel
andconvertFromPixel
, the input parameters are changed to{ timestamp, dataIndex, value }
and{ paneId, absoluteYAxis }
.
- Shape
checkMousePointOn
is changed tocheckEventCoordinateOnShape
, and the parameter is changed toobject
.- The
createShapeDataSource
parameter is changed toobject
. performMouseMoveForDrawing
is changed toperformEventMoveForDrawing
, and the parameter is changed toobject
.performMousePressedMove
is changed toperformEventPressedMove
, and the parameter is changed toobject
.- The
drawExtend
parameter is changed toobject
.
- Technical indicators
- The property
calcParamsAllowDecimal
is merged intocalcParams
. - The attribute
baseValue
is merged intoplots
. - Property
plots
,color
callback parameters are changed to{ prev, current, next }
. - The
calcTechnicalIndicator
parameter is changed toobject
. - The
render
parameter is changed toobject
.
- The property
- Style configuration
candle.tooltip.rect.fillColor
changed tocandle.tooltip.rect.backgroundColor
.candle.area.fillColor
changed tocandle.area.backgroundColor
.annotation.symbol.position
changed toannotation.position
.annotation.symbol.offset
changed toannotation.offset
.
- Shape assistance API
getRotatePoint
changed togetRotateCoordinate
.getLinearYFromPoints
changed togetLinearYFromCoordinates
.checkPointOnStraightLine
changed tocheckCoordinateOnStraightLine
.checkPointOnRayLine
changed tocheckCoordinateOnRayLine
.checkPointOnSegment
changed tocheckCoordinateOnSegment
.checkPointOnArc
changed tocheckCoordinateOnArc
.checkPointInCircle
changed tocheckCoordinateInCircle
.checkPointOnCircle
changed tocheckCoordinateOnCircle
.checkPointInTriangle
changed tocheckCoordinateInTriangle
.checkPointInDiamond
changed to. checkCoordinateInDiamond
.checkPointInRect
is changed to. checkCoordinateInRect
.
- 💄 optimization
- Optimize the rendering level.
- Optimize data storage of technical indicators.
- Optimize the response to mouse events of shapes.
- Optimize the drawing efficiency of shapes.
- 🐞 Bug fix
- Fixed the problem that the y-axis does not refresh when calling
setPaneOptions
.
- Fixed the problem that the y-axis does not refresh when calling
8.0.0-alpha7
2021-10-22
- 🆕 The technical indicators are added back to the attribute
series
. - 💄 Optimize data storage of technical indicators.
8.0.0-alpha6
2021-10-08
- 🐞 Fix the problem that all
shape
cannot be removed. - 🐞 Fix the problem of incorrect acquisition of technical indicators.
8.0.0-alpha5
2021-09-23
- 🐞 Fix the typescript declaration problem.
8.0.0-alpha4
2021-09-13
- 🐞 Fix the problem that loading more does not take effect.
- 🐞 Fix the problem that the time zone setting does not take effect.
8.0.0-alpha3
2021-09-13
- 🐞 Fix the problem of incorrect display of area chart.
- 🐞 Fix the problem that the latest price line of area chart is not displayed.
8.0.0-alpha2
2021-09-10
- 🐞 Fix the problem that the custom rendering callback parameters of the technical indicator template are not correct.
- 💄 Optimize the rendering level.
8.0.0-alpha1
2021-09-07
- 🆕 New features
- Added
getDataSpace
andgetBarSpace
. createTechnicalIndicator
supports overwriting built-in attributes when creating.overrideTechnicalIndicator
supports overriding indicator properties on a certain window.getTechnicalIndicatorByPaneId
supports obtaining individual technical indicator information.- Shapes, annotations, and labels can be created on any window.
- Shapes support overall drag, support weak magnet and strong magnet mode, support custom data.
- Added
- 👉 Change
extension.addTechnicalIndicator
changed toextension.addTechnicalIndicatorTemplate
.extension.addGraphicMark
changed toextension.addShapeTemplate
.- Chart instance
createGraphicMark
is changed tocreateShape
, and the parameters are merged.addCustomGraphicMark
changed toaddShapeTemplate
.getGraphicMark
changed togetShape
.removeGraphicMark
changed toremoveShape
.setGraphicMarkOptions
changed tosetShapeOptions
.addCustomTechnialIndicator
changed toaddTechnicalIndicatorTemplate
.getTechnicalIndicatorByName
changed togetTechnicalIndicatorTemplate
.- Added parameter
paneId
inremoveAnnotation
. - Added parameter
paneId
toremoveTag
. scrollToPosition
changed toscrollToDataIndex
.zoomAtPosition
changed tozoomAtDataIndex
.getConvertPictureUrl
parametersincludeTooltip
andincludeGraphicMark
are merged intoincludeOverlay
.subscribeAction
andunsubscribeAction
, remove thedrawCandle
anddrawTechnicalIndicator
types.convertToPixel
andconvertFromPixel
, the input parameters are changed to{ timestamp, dataIndex, value }
and{ paneId, absoluteYAxis }
.
- Shape
checkMousePointOn
is changed tocheckEventCoordinateOnShape
, and the parameter is changed toobject
.- The
createShapeDataSource
parameter is changed toobject
. performMouseMoveForDrawing
is changed toperformEventMoveForDrawing
, and the parameter is changed toobject
.performMousePressedMove
is changed toperformEventPressedMove
, and the parameter is changed toobject
.- The
drawExtend
parameter is changed toobject
.
- Technical indicators
- The property
calcParamsAllowDecimal
is merged intocalcParams
. - The attribute
baseValue
is merged intoplots
. - Property
plots
,color
callback parameters are changed to{ prev, current, next }
. - The
calcTechnicalIndicator
parameter is changed toobject
. - The
render
parameter is changed toobject
.
- The property
- Style configuration
candle.tooltip.rect.fillColor
changed tocandle.tooltip.rect.backgroundColor
.candle.area.fillColor
changed tocandle.area.backgroundColor
.annotation.symbol.position
changed toannotation.position
.annotation.symbol.offset
changed toannotation.offset
.
- Shape assistance API
getRotatePoint
changed togetRotateCoordinate
.getLinearYFromPoints
changed togetLinearYFromCoordinates
.checkPointOnStraightLine
changed tocheckCoordinateOnStraightLine
.checkPointOnRayLine
changed tocheckCoordinateOnRayLine
.checkPointOnSegment
changed tocheckCoordinateOnSegment
.checkPointOnArc
changed tocheckCoordinateOnArc
.checkPointInCircle
changed tocheckCoordinateInCircle
.checkPointOnCircle
changed tocheckCoordinateOnCircle
.checkPointInTriangle
changed tocheckCoordinateInTriangle
.checkPointInDiamond
changed to. checkCoordinateInDiamond
.checkPointInRect
is changed to. checkCoordinateInRect
.
- 💄 optimization
- Optimize the response to mouse events of shapes.
- Optimize the drawing efficiency of shapes.
- 🐞 Bug fix
- Fixed the problem that the y-axis does not refresh when calling
setPaneOptions
.
- Fixed the problem that the y-axis does not refresh when calling
7.5.0
2021-06-16
- 🆕 Add tag, new api
createTag
andremoveTag
. - 🐞 Fix the problem that the
onRemove
method does not trigger when deleting all graphic marks. - 🐞 Fix the problem of incorrect return of
getConvertPictureUrl
. - 💄 Combine
overlay
andtooltip
. - 💄 Optimize the y-axis display when there is no data.
- 💄 Optimize the interaction of the cross cursor on the mobile.
7.3.3
2021-06-03
- 🐞 Fix the inaccurate calculation of the coordinate point parameters of the annotation callback method.
- 💄 Optimize the y-axis display.
7.3.2
2021-06-01
- 👉 The default style is changed to be suitable for light theme.
- 🐞 Fix the problem of
technicalIndicator.tooltip.showType: rect
.
7.3.1
2021-05-31
- 💄 Optimize the display of
yAxis.type:log
.
7.3.0
2021-05-28
- 🆕 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.
7.2.0
2021-05-20
❤️️ 520
- 🆕 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.
7.1.0
2021-04-26
- 🆕 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.
7.0.2
2021-04-07
- 🛠 Rewrite technical indicator calculation
EMV
,ROC
,WR
,CR
,PVT
,DMI
,MTM
,PSY
,VR
,RSI
,OBV
,EMA
,MACD
,SMA
,TRIX
,CCI
。
7.0.1
2021-03-29
- 🆕 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.
7.0.0
2021-02-25
- 🆕 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 tocreateTechnicalIndicator
. - 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
6.1.0
2021-01-06
- 🆕 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.
6.0.5
2020-12-28
- 🆕 Add configuration
candle.margin
,candle.tooltip.defaultValue
,technicalIndicator.margin
,technicalIndicator.tooltip.defaultValue
andseparator.activeBackgroundColor
. - 💄 Optimize drag and drop to adjust chart display.
- 🐞 Fix the problem of custom colors in
candle.tooltip.values
.
6.0.2
2020-12-17
- 💄 Optimize the time display of the x-axis cross cursor.
- 💄 Optimize technical indicator
plot
type isbar
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.
6.0.1
2020-12-06
- 👉 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.
6.0.0
2020-11-29
- 🎨 New style configuration
- 👉 All
display
is changed toshow
. - 👉
candelStick
is changed tocandle
. - 👉
candleStick.bar.style
is changed tocandle.type
. - 👉
realTime
is changed tocandle.area
. - 👉
floatLayer.prompt.candleStick
is changed tocandle.tooltip
. - 👉
floatLayer.prompt.technicalIndicator
is changed totechnicalIndicator.tooltip
. - 👉
floatLayer.crossHair
is changed tocrosshair
.
- 👉 All
- 🔧 New API
- 👉
createTechnicalIndicator
is changed tocreatePane
. - 👉
setPrecision
is changed tosetPriceVolumePrecision
. - 💪
setTechnicalIndicatorType
andremoveTechnicalIndicator
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.
5.7.0
2020-11-13
- 🛠 Refactor marking graphics module.
- 🆕 Configuration item
realTime.timeLine.areaFillColor
supports gradient. - 🆕 Add
dataIndex
in the callback parameterdata
of thesubscribeDrawAction
method. - 🆕 Add api
setZoomEnabled
andisZoomEnabled
,setScrollEnabled
andisScrollEnabled
. - 💄 Optimize the chart display of the y-axis value very small.
5.6.0
2020-08-29
- 🆕 Add
render
property for custom technical indicators. - 🆕 Custom indicator api
calcTechnicalIndicator
, add parameterplots
. - 🆕 Add
xAxis.height
andyAxis.width
to configuration items. - 🆕 Add api
subscribeDrawAction
andunsubscribeDrawAction
for drawing monitoring and cancellation. - 🆕 Add api
getTimezone
. - 👉 Api
getTechnicalIndicatorParamOptions
changed togetTechnicalIndicatorParams
。 - 👉 The built-in indicator text prompt shows that
xxxMa
is changed tomaXxx
. - 🗑 Remove the configuration item
floatLayer.prompt.technicalIndicator.point
.
5.5.1
2020-08-16
- 💄 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 toxAxis.tickText.paddingTop
andxAxis.tickText.paddingBottom
. - 👉
yAxis.tickText.margin
changed toyAxis.tickText.paddingLeft
andyAxis.tickText.paddingRight
.
5.5.0
2020-07-26
- 🆕 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 toyAxis.inside
. - 👉 The default font family is changed from
Arial
toHelvetica Neue
. - 👉 The custom technical indicator attribute
isPriceTechnicalIndicator
becomesseries
, and the value is changed toprice
,volume
andnormal
. - 🗑 Remove the x-axis
minHeight
andmaxHeight
configuration, change to height adaptive. - 🗑 Remove the y-axis
minWidth
andmaxWidth
configuration, change to width adaptive.
5.3.0
2020-05-26
- 🛠 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 tocreateTechnicalIndicator
. - 🗑 Remove the technical indicators and draw ohlc.
5.2.2
2020-05-11
- 🐞 Solve the problem that some browsers can't render the chart without
Intl
.
5.2.1
2020-05-09
- 🐞 Fix the problem that the prompt text of
showType: 'rect'
is not displayed when the main image is a time-sharing image. - 🐞 Fix the problem that the x-axis does not display time when there is only one data.
- 🐞 Fix the problem that the chart cannot be refreshed accurately when the data changes.
- 💄 Optimize x-axis split calculation.
- 💄 Optimized the display of
VOL
technical indicators. - 🆕 The third parameter is added in the
addTechnicalIndicator
method to set whether the technical indicator graph can be dragged to adjust the height.
5.2.0
2020-04-25
- 🐞 Fix the problem that the
setTimezone
method cannot take effect in real time. - 🐞 Fix the problem that the entire chart will be exceeded when adjusting the height of the technical indicator chart.
- 💄 Optimize keyboard events
shift + ↑
andshift + ↓
sensitivity. - 💄 Optimize the width of the default candlestick.
- 💄 Optimize the mouse style when the chart is dragged and scrolled.
- 🆕 The
getConvertPictureUrl
method adds a new parameter to set the background color of the picture. - 🆕 New method
setLeftMinVisibleBarCount
is used to set the minimum number of bars visible on the left. - 🆕 New method
setRightMinVisibleBarCount
is used to set the minimum number of bars visible on the right. - 🆕 Added font style attributes in style configuration.
- 🆕 Added the final value display configuration of technical indicators.
- 🆕 Added technical indicator
EMA
.
5.1.1
2020-04-10
- 🐞 Fix the issue of invalid method call of removeTechnicalIndicator.
- 🐞 Fix the problem that the chart cannot fill the root container in some specific cases.
- 💄 Optimize the minimum width of the candlestick.
5.1.0
2020-03-27
- 🐞 Fix the problem that
setStyleOptions
method is called and cannot take effect in real time. - 🐞 Fix the problem that the text displayed by the cross cursor is incorrect when the configuration setting
{yAxis: {position: 'left'}}
. - 💄 Optimized drag to adjust the height sensitivity of the technical indicator graph.
- 🆕 The style configuration adds the current technical indicator value indication point display configuration.
- 🆕 The style configuration adds a percentage y-axis configuration.
5.0.0
2020-03-25
- 🛠 The whole chart is refactored, and the new APIs are convenient for expanding functions.
- 🐞 Fix the mobile terminal zoom event response problem.
- 💄 Optimize scrolling and zoom fluency.
- 🆕 The style configuration adds no change color attribute
noChangeColor
. - 🆕 New method
setTimezone
is used to set the chart time zone. - 🆕 New method
setPrecision
is used to set price and quantity precision. - 🆕 The number of technical indicator charts is not limited, and can be added by the method
addTechnicalIndicator
. - 🆕 The technical indicator chart can be adjusted in height by dragging.
4.1.0
2020-01-19
- 🐞 Fix the display problem when the maximum and minimum values of the y-axis are all 0.
- 💄 Optimize the default configuration of dashed line parameters and time-sharing line colors.
- 💄 Optimized the problem that the chart will scroll up and down when scrolling on individual wheels.
- 💄 Optimize indicator calculation and call logic to reduce useless method calls.
4.0.0
2019-12-30
- 🐞 Fix the problem of
merge
method that cannot merge data correctly. - 💄 Optimize the height of the default technical indicator graph.
- 🆕 New method
loadMore
is used to load historical data in sections. - 🆕 Added keyboard shortcuts
shift + ←
,shift + →
,shift + ↑
,shift + ↓
for zooming and scrolling. - 🆕 Added the function of setting technical index calculation parameters.
- 🆕 Added technical indicator
SAR
.
3.0.0
2019-12-16
- 🆕 Support technical indicators.
- 🆕 Support custom styles.
- 🆕 Support mobile devices.