Skip to content

Releases: klinecharts/KLineChart

Version 9.0.0-alpha1

09 Jan 15:13
Compare
Choose a tag to compare
  • 🛠 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.
    • Style Configuration
      • Add candle.priceMark.last.text.borderStyle, indicator.lastValueMark.text.borderStyle, crosshair.horizontal. text.borderStyle, crosshair.vertical.text.borderStyle.
  • 👉 Change
    • API
      • Chart method extension.addTechnicalIndicatorTemplate is changed to registerIndicator.
      • Chart method extension.addShapeTemplate is changed to registerOverlay.
      • Instance method setStyleOptions is changed to setStyles.
      • Instance method getStyleOptions is changed to getStyles.
      • Instance method setPaneOptions(options), options add new attribute gap.
      • Instance method setOffsetRightSpace is changed to setOffsetRightDistance.
      • Instance method createTechnicalIndicator is changed to createIndicator
      • Instance method overlayTechnicalIndicator is changed to overrideIndicator.
      • Instance method getTechnicalIndicatorByPaneId is changed to getIndicatorByPaneId.
      • Instance method removeTechnicalIndicator is changed to removeIndicator.
    • Style Configuration
      • All line.style options are changed to solid and dashed.
      • All dashValue is changed to dashedValue.
      • xAxis.height is changed to xAxis.size, xAxis.tickeText.paddingTop is changed to xAxis.tickeText.marinStart, and xAxis.tickeText.paddingBottom is changed to xAxis.tickeText.marinEnd.
      • yAxis.height is changed to yAxis.size, yAxis.tickeText.paddingTop is changed to yAxis.tickeText.marinStart, and yAxis.tickeText.paddingBottom is changed to yAxis.tickeText.marinEnd.
      • technicalIndicator.bar is changed to indicator.bars, technicalIndicator.line is changed to indicator.linestechnicalIndicator.circle is changed to indicator.circles
    • Custom Extension
      • The technical indicator attribute calcParams has been changed to support any type.
      • The technical indicator attribute plots is changed to figures.
      • The technical indicator attribute regeneratePlots is changed to' regeneratefigures'.
      • The technical indicator attribute calcTechnicalIndicator is changed to calc.
      • The technical indicator attribute render is changed to 'draw'.
  • 🗑 Abandonment
    • API
      • Delete instance methods getWidth, getHeight, and use getSize instead.
      • Delete instance methods createShape, createAnnotation, createTag, and use createOverlay instead.
      • Delete instance methods removeShape, removeAnnotation, removeTag. Use removeOverlay instead.
      • Delete the instance method setShapeOptions and use overrideOverlay instead.
      • Delete instance methods createHtml, removeHtml, addTechnicalIndicatorTemplate, getTechnicalIndicatorTemplate, addShapeTemplate.
    • Style Configuration
      • Delete shape, annotation, tag and use overlay instead.
      • Delete candle.margintechnicalIndicator.margin
    • Custom Extension
      • The related attributes are no longer saved in the technical indicator template.
      • Delete Shape and use Overlay instead.

Version 8.6.3

29 Oct 14:31
Compare
Choose a tag to compare
  • 💄 Optimize the display of high and low prices.

Version 8.6.2

18 Sep 15:33
Compare
Choose a tag to compare
  • 🐞 Fix scrollToXxx related bugs.
  • 💄 Optimize id generation rules.
  • 💄 Optimize logarithmic coordinate display.

Version 8.6.1

18 Jul 17:37
Compare
Choose a tag to compare
  • 🐞 Fix overrideTechnicalIndicator bug.
  • 🐞 Fix unsubscribeAction bug.
  • 🐞 Fix the problem that the chart style may be wrong.
  • 💄 Optimize typescript declarations.
  • 🔧 Rewrite packaging script.

Version 8.6.0

27 Jun 17:18
Compare
Choose a tag to compare
  • 🆕 Api setShapeOptions add points parameter.
  • 🆕 Add minHeight for pane.
  • 🆕 When the technical indicator template plot.type is line, add the property isDashed and segment.
  • 🆕 Add inertial scrolling on mobile.
  • 🆕 Add new attribute extendData for technical indicators.
  • 🐞 Fix shape text style not working.
  • 🐞 Fix built-in line drawing model priceLine display problem.
  • 💄 Optimize tooltip to display automatic line wrapping.

Version 8.5.0

28 May 16:39
Compare
Choose a tag to compare
  • 🆕 Instance api add getDom, scrollToTimestamp and zoomAtTimestamp.
  • 🆕 Style configuration add yAxis.reverse.
  • 🐞 Fix typescript reference issue.

Version 8.3.6

23 Mar 14:23
Compare
Choose a tag to compare
  • 🐞 Fix shape issues on the mobile.

Version 8.3.5

17 Mar 13:35
Compare
Choose a tag to compare
  • 🐞 Fix the issue that indicator stacking may not refresh in real time.
  • 💄 Indicator parameters can be set to negative values.

Version 8.3.3

21 Feb 12:42
Compare
Choose a tag to compare
  • 🐞 Fix the problem that the shape attribute lock does not take effect.
  • 💄 Optimize the display of technical indicator names.

Version 8.3.2

31 Jan 06:18
Compare
Choose a tag to compare
  • 🐞 Fix the problem that the technical indicator prompts are displayed incorrectly.