Skip to content

Releases: klinecharts/KLineChart

Version 8.1.0

30 Nov 14:42
Compare
Choose a tag to compare
  • 🆕 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.

Version 8.0.0

29 Oct 12:05
Compare
Choose a tag to compare
  • 🆕 New features
    • Added getDataSpace and getBarSpace.
    • 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.
  • 👉 Change
    • extension.addTechnicalIndicator changed to extension.addTechnicalIndicatorTemplate.
    • extension.addGraphicMark changed to extension.addShapeTemplate.
    • Chart instance
      • createGraphicMark is changed to createShape, and the parameters are merged.
      • addCustomGraphicMark changed to addShapeTemplate.
      • getGraphicMark changed to getShape.
      • removeGraphicMark changed to removeShape.
      • setGraphicMarkOptions changed to setShapeOptions.
      • addCustomTechnialIndicator changed to addTechnicalIndicatorTemplate.
      • getTechnicalIndicatorByName changed to getTechnicalIndicatorTemplate.
      • Added parameter paneId in removeAnnotation.
      • Added parameter paneId to removeTag.
      • scrollToPosition changed to scrollToDataIndex.
      • zoomAtPosition changed to zoomAtDataIndex.
      • getConvertPictureUrl parameters includeTooltip and includeGraphicMark are merged into includeOverlay.
      • subscribeAction and unsubscribeAction, remove the drawCandle and drawTechnicalIndicator types.
      • convertToPixel and convertFromPixel, the input parameters are changed to { timestamp, dataIndex, value } and { paneId, absoluteYAxis }.
    • Shape
      • checkMousePointOn is changed to checkEventCoordinateOnShape, and the parameter is changed to object.
      • The createShapeDataSource parameter is changed to object.
      • performMouseMoveForDrawing is changed to performEventMoveForDrawing, and the parameter is changed to object.
      • performMousePressedMove is changed to performEventPressedMove, and the parameter is changed to object.
      • The drawExtend parameter is changed to object.
    • Technical indicators
      • The property calcParamsAllowDecimal is merged into calcParams.
      • The attribute baseValue is merged into plots.
      • Property plots, color callback parameters are changed to { prev, current, next }.
      • The calcTechnicalIndicator parameter is changed to object.
      • The render parameter is changed to object.
    • Style configuration
      • candle.tooltip.rect.fillColor changed to candle.tooltip.rect.backgroundColor.
      • candle.area.fillColor changed to candle.area.backgroundColor.
      • annotation.symbol.position changed to annotation.position.
      • annotation.symbol.offset changed to annotation.offset.
    • Shape assistance API
      • getRotatePoint changed to getRotateCoordinate.
      • getLinearYFromPoints changed to getLinearYFromCoordinates.
      • checkPointOnStraightLine changed to checkCoordinateOnStraightLine.
      • checkPointOnRayLine changed to checkCoordinateOnRayLine.
      • checkPointOnSegment changed to checkCoordinateOnSegment.
      • checkPointOnArc changed to checkCoordinateOnArc.
      • checkPointInCircle changed to checkCoordinateInCircle.
      • checkPointOnCircle changed to checkCoordinateOnCircle.
      • checkPointInTriangle changed to checkCoordinateInTriangle.
      • 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.

Version 8.0.0-alpha7

22 Oct 13:45
Compare
Choose a tag to compare
  • 🆕 The technical indicators are added back to the attribute series.
  • 💄 Optimize data storage of technical indicators.

Version 8.0.0-alpha6

08 Oct 14:37
Compare
Choose a tag to compare
  • 🐞 Fix the problem that all shape cannot be removed.
  • 🐞 Fix the problem of incorrect acquisition of technical indicators.

Version 8.0.0-alpha5

23 Sep 11:51
Compare
Choose a tag to compare
  • 🐞 Fix the typescript declaration problem.

Version 8.0.0-alpha4

13 Sep 13:51
Compare
Choose a tag to compare
  • 🐞 Fix the problem that loading more does not take effect.
  • 🐞 Fix the problem that the time zone setting does not take effect.

Version 8.0.0-alpha3

13 Sep 12:44
Compare
Choose a tag to compare
  • 🐞 Fix the problem of incorrect display of area chart.
  • 🐞 Fix the problem that the latest price line of area chart is not displayed.

Version 8.0.0-alpha2

10 Sep 02:10
Compare
Choose a tag to compare
  • 🐞 Fix the problem that the custom rendering callback parameters of the technical indicator template are not correct.
  • 💄 Optimize the rendering level.

Version 8.0.0-alpha1

07 Sep 12:49
Compare
Choose a tag to compare
  • 🆕 New features
    • Added getDataSpace and getBarSpace.
    • 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.
  • 👉 Change
    • extension.addTechnicalIndicator changed to extension.addTechnicalIndicatorTemplate.
    • extension.addGraphicMark changed to extension.addShapeTemplate.
    • Chart instance
      • createGraphicMark is changed to createShape, and the parameters are merged.
      • addCustomGraphicMark changed to addShapeTemplate.
      • getGraphicMark changed to getShape.
      • removeGraphicMark changed to removeShape.
      • setGraphicMarkOptions changed to setShapeOptions.
      • addCustomTechnialIndicator changed to addTechnicalIndicatorTemplate.
      • getTechnicalIndicatorByName changed to getTechnicalIndicatorTemplate.
      • Added parameter paneId in removeAnnotation.
      • Added parameter paneId to removeTag.
      • scrollToPosition changed to scrollToDataIndex.
      • zoomAtPosition changed to zoomAtDataIndex.
      • getConvertPictureUrl parameters includeTooltip and includeGraphicMark are merged into includeOverlay.
      • subscribeAction and unsubscribeAction, remove the drawCandle and drawTechnicalIndicator types.
      • convertToPixel and convertFromPixel, the input parameters are changed to { timestamp, dataIndex, value } and { paneId, absoluteYAxis }.
    • Shape
      • checkMousePointOn is changed to checkEventCoordinateOnShape, and the parameter is changed to object.
      • The createShapeDataSource parameter is changed to object.
      • performMouseMoveForDrawing is changed to performEventMoveForDrawing, and the parameter is changed to object.
      • performMousePressedMove is changed to performEventPressedMove, and the parameter is changed to object.
      • The drawExtend parameter is changed to object.
    • Technical indicators
      • The property calcParamsAllowDecimal is merged into calcParams.
      • The attribute baseValue is merged into plots.
      • Property plots, color callback parameters are changed to { prev, current, next }.
      • The calcTechnicalIndicator parameter is changed to object.
      • The render parameter is changed to object.
    • Style configuration
      • candle.tooltip.rect.fillColor changed to candle.tooltip.rect.backgroundColor.
      • candle.area.fillColor changed to candle.area.backgroundColor.
      • annotation.symbol.position changed to annotation.position.
      • annotation.symbol.offset changed to annotation.offset.
    • Shape assistance API
      • getRotatePoint changed to getRotateCoordinate.
      • getLinearYFromPoints changed to getLinearYFromCoordinates.
      • checkPointOnStraightLine changed to checkCoordinateOnStraightLine.
      • checkPointOnRayLine changed to checkCoordinateOnRayLine.
      • checkPointOnSegment changed to checkCoordinateOnSegment.
      • checkPointOnArc changed to checkCoordinateOnArc.
      • checkPointInCircle changed to checkCoordinateInCircle.
      • checkPointOnCircle changed to checkCoordinateOnCircle.
      • checkPointInTriangle changed to checkCoordinateInTriangle.
      • 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.

Version 7.5.0

16 Jun 11:38
Compare
Choose a tag to compare
  • 🆕 Add tag, new api createTag and removeTag.
  • 🐞 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 and tooltip.
  • 💄 Optimize the y-axis display when there is no data.
  • 💄 Optimize the interaction of the cross cursor on the mobile.