Releases: klinecharts/KLineChart
Releases · klinecharts/KLineChart
Version 6.0.5
- 🆕 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
.
Version 6.0.2
- 💄 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.
Version 6.0.1
- 👉 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
- 🎨 New style configuration
- 👉 All
display
is changed toshow
. - 👉
candleStick
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.
Version 5.7.0
- 🛠 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.
Version 5.6.0
- 🆕 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
.
Version 5.5.1
- 💄 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
.
Version 5.5.0
- 🆕 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.
Version 5.3.0
- 🛠 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.
Version 5.2.2
About
Emergency version, fix important issues.
Fixed
- Fixed the problem that it cannot be rendered on some browsers.