Skip to content

Releases: klinecharts/KLineChart

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.polygonๅ’ŒgraphicMark.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.

Version 6.0.5

28 Dec 13:56
Compare
Choose a tag to compare
  • ๐Ÿ†• Add configuration candle.margin, candle.tooltip.defaultValue, technicalIndicator.margin, technicalIndicator.tooltip.defaultValue and separator.activeBackgroundColor.
  • ๐Ÿ’„ Optimize drag and drop to adjust chart display.
  • ๐Ÿž Fix the problem of custom colors in candle.tooltip.values.

Version 6.0.2

17 Dec 07:01
Compare
Choose a tag to compare
  • ๐Ÿ’„ Optimize the time display of the x-axis cross cursor.
  • ๐Ÿ’„ Optimize technical indicator plot type is bar 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

06 Dec 08:27
Compare
Choose a tag to compare
  • ๐Ÿ‘‰ 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

29 Nov 10:46
Compare
Choose a tag to compare
  • ๐ŸŽจ New style configuration
    • ๐Ÿ‘‰ All display is changed to show.
    • ๐Ÿ‘‰ candleStick is changed to candle.
    • ๐Ÿ‘‰ candleStick.bar.style is changed to candle.type.
    • ๐Ÿ‘‰ realTime is changed to candle.area.
    • ๐Ÿ‘‰ floatLayer.prompt.candleStick is changed to candle.tooltip.
    • ๐Ÿ‘‰ floatLayer.prompt.technicalIndicator is changed to technicalIndicator.tooltip.
    • ๐Ÿ‘‰ floatLayer.crossHair is changed to crosshair.
  • ๐Ÿ”ง New API
    • ๐Ÿ‘‰ createTechnicalIndicator is changed to createPane.
    • ๐Ÿ‘‰ setPrecision is changed to setPriceVolumePrecision.
    • ๐Ÿ’ช setTechnicalIndicatorType and removeTechnicalIndicator 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

13 Nov 12:43
Compare
Choose a tag to compare
  • ๐Ÿ›  Refactor marking graphics module.
  • ๐Ÿ†• Configuration item realTime.timeLine.areaFillColor supports gradient.
  • ๐Ÿ†• Add dataIndex in the callback parameter data of the subscribeDrawAction method.
  • ๐Ÿ†• Add api setZoomEnabled and isZoomEnabled, setScrollEnabled and isScrollEnabled.
  • ๐Ÿ’„ Optimize the chart display of the y-axis value very small.

Version 5.6.0

29 Aug 15:33
Compare
Choose a tag to compare
  • ๐Ÿ†• Add render property for custom technical indicators.
  • ๐Ÿ†• Custom indicator api calcTechnicalIndicator, add parameter plots.
  • ๐Ÿ†• Add xAxis.height and yAxis.width to configuration items.
  • ๐Ÿ†• Add api subscribeDrawAction and unsubscribeDrawAction for drawing monitoring and cancellation.
  • ๐Ÿ†• Add api getTimezone.
  • ๐Ÿ‘‰ Api getTechnicalIndicatorParamOptions changed to getTechnicalIndicatorParamsใ€‚
  • ๐Ÿ‘‰ The built-in indicator text prompt shows that xxxMa is changed to maXxx.
  • ๐Ÿ—‘ Remove the configuration item floatLayer.prompt.technicalIndicator.point.

Version 5.5.1

16 Aug 08:41
Compare
Choose a tag to compare
  • ๐Ÿ’„ 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 to xAxis.tickText.paddingTop and xAxis.tickText.paddingBottom.
  • ๐Ÿ‘‰ yAxis.tickText.margin changed to yAxis.tickText.paddingLeft and yAxis.tickText.paddingRight.

Version 5.5.0

26 Jul 09:16
Compare
Choose a tag to compare
  • ๐Ÿ†• 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 to yAxis.inside.
  • ๐Ÿ‘‰ The default font family is changed from Arial to Helvetica Neue.
  • ๐Ÿ‘‰ The custom technical indicator attribute isPriceTechnicalIndicator becomes series, and the value is changed to price, volume and normal.
  • ๐Ÿ—‘ Remove the x-axis minHeight and maxHeight configuration, change to height adaptive.
  • ๐Ÿ—‘ Remove the y-axis minWidth and maxWidth configuration, change to width adaptive.