@pipsend/charts 2.3.14 → 2.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pipsend-charts.development.mjs +17 -10
- package/dist/pipsend-charts.production.mjs +2 -2
- package/dist/pipsend-charts.standalone.development.js +17 -10
- package/dist/pipsend-charts.standalone.development.mjs +17 -10
- package/dist/pipsend-charts.standalone.production.js +2 -2
- package/dist/pipsend-charts.standalone.production.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
|
-
* Pipsend Charts v2.3.
|
|
3
|
+
* Pipsend Charts v2.3.15
|
|
4
4
|
* Copyright (c) 2026 Pipsend
|
|
5
5
|
* Licensed under MIT License
|
|
6
6
|
* Built on TradingView Lightweight Charts™ (Apache 2.0)
|
|
@@ -14291,6 +14291,9 @@ function calculateShapeHeight(barSpacing) {
|
|
|
14291
14291
|
function shapeMargin(barSpacing) {
|
|
14292
14292
|
return Math.max(size(barSpacing, 0.1), 3 /* Constants.MinShapeMargin */);
|
|
14293
14293
|
}
|
|
14294
|
+
function barGap(barSpacing) {
|
|
14295
|
+
return Math.max(shapeMargin(barSpacing), 10 /* Constants.MinBarGap */);
|
|
14296
|
+
}
|
|
14294
14297
|
function calculateAdjustedMargin(margin, hasSide, hasInBar) {
|
|
14295
14298
|
if (hasSide) {
|
|
14296
14299
|
return margin;
|
|
@@ -14917,17 +14920,18 @@ class SeriesMarkersPaneView {
|
|
|
14917
14920
|
}
|
|
14918
14921
|
let prevTimeIndex = NaN;
|
|
14919
14922
|
const shapeMargin$1 = shapeMargin(timeScale.options().barSpacing);
|
|
14923
|
+
const barGap$1 = barGap(timeScale.options().barSpacing);
|
|
14920
14924
|
const offsets = {
|
|
14921
|
-
_internal_aboveBar:
|
|
14922
|
-
_internal_belowBar:
|
|
14925
|
+
_internal_aboveBar: barGap$1,
|
|
14926
|
+
_internal_belowBar: barGap$1,
|
|
14923
14927
|
};
|
|
14924
14928
|
this._private__data._internal_visibleRange = visibleTimedValues(this._private__data._internal_items, visibleBarsRange, true);
|
|
14925
14929
|
for (let index = this._private__data._internal_visibleRange.from; index < this._private__data._internal_visibleRange.to; index++) {
|
|
14926
14930
|
const marker = seriesMarkers[index];
|
|
14927
14931
|
if (marker.time !== prevTimeIndex) {
|
|
14928
14932
|
// new bar, reset stack counter
|
|
14929
|
-
offsets._internal_aboveBar =
|
|
14930
|
-
offsets._internal_belowBar =
|
|
14933
|
+
offsets._internal_aboveBar = barGap$1;
|
|
14934
|
+
offsets._internal_belowBar = barGap$1;
|
|
14931
14935
|
prevTimeIndex = marker.time;
|
|
14932
14936
|
}
|
|
14933
14937
|
const rendererItem = this._private__data._internal_items[index];
|
|
@@ -15044,7 +15048,7 @@ class SeriesMarkersPrimitive {
|
|
|
15044
15048
|
this._private__cachedBarSpacing = barSpacing;
|
|
15045
15049
|
if (this._private__markers.length > 0) {
|
|
15046
15050
|
const shapeMargin$1 = shapeMargin(barSpacing);
|
|
15047
|
-
const marginValue = calculateShapeHeight(barSpacing) * 1.5 + shapeMargin$1
|
|
15051
|
+
const marginValue = calculateShapeHeight(barSpacing) * 1.5 + shapeMargin$1 + barGap(barSpacing);
|
|
15048
15052
|
const positions = this._private__getMarkerPositions();
|
|
15049
15053
|
this._private__autoScaleMargins = {
|
|
15050
15054
|
above: calculateAdjustedMargin(marginValue, positions.aboveBar, positions.inBar),
|
|
@@ -17547,10 +17551,13 @@ function applyHeikinAshi(series, chart, options = {}) {
|
|
|
17547
17551
|
const blankSource = (blank) => {
|
|
17548
17552
|
if (blank && restoreSourcePaint === null) {
|
|
17549
17553
|
restoreSourcePaint = hideSeriesPaint(series);
|
|
17554
|
+
// Under the blank source, so what hangs off it draws over the candles.
|
|
17555
|
+
haSeries.setSeriesOrder(series.seriesOrder());
|
|
17550
17556
|
}
|
|
17551
17557
|
else if (!blank && restoreSourcePaint !== null) {
|
|
17552
17558
|
restoreSourcePaint();
|
|
17553
17559
|
restoreSourcePaint = null;
|
|
17560
|
+
haSeries.setSeriesOrder(series.seriesOrder() + 1);
|
|
17554
17561
|
}
|
|
17555
17562
|
};
|
|
17556
17563
|
const runtime = bindIndicator({
|
|
@@ -17579,8 +17586,9 @@ function applyHeikinAshi(series, chart, options = {}) {
|
|
|
17579
17586
|
blankSource(current.hideSource === true);
|
|
17580
17587
|
},
|
|
17581
17588
|
});
|
|
17582
|
-
|
|
17583
|
-
|
|
17589
|
+
// Returned as a literal: a local annotation would let the property renamer mangle `series`.
|
|
17590
|
+
return {
|
|
17591
|
+
series: haSeries,
|
|
17584
17592
|
options: runtime.options,
|
|
17585
17593
|
applyOptions: runtime.applyOptions,
|
|
17586
17594
|
recalculate: runtime.recalculate,
|
|
@@ -17596,7 +17604,6 @@ function applyHeikinAshi(series, chart, options = {}) {
|
|
|
17596
17604
|
}
|
|
17597
17605
|
},
|
|
17598
17606
|
};
|
|
17599
|
-
return handle;
|
|
17600
17607
|
}
|
|
17601
17608
|
|
|
17602
17609
|
/**
|
|
@@ -31045,7 +31052,7 @@ const customSeriesDefaultOptions = {
|
|
|
31045
31052
|
* Returns the current version as a string. For example `'1.0.0'`.
|
|
31046
31053
|
*/
|
|
31047
31054
|
function version() {
|
|
31048
|
-
return "2.3.
|
|
31055
|
+
return "2.3.15";
|
|
31049
31056
|
}
|
|
31050
31057
|
|
|
31051
31058
|
export { areaSeries as AreaSeries, ArrowTool, barSeries as BarSeries, baselineSeries as BaselineSeries, BrushTool, candlestickSeries as CandlestickSeries, CircleTool, ColorType, CrossLineTool, CrosshairMode, DEFAULT_SESSIONS, DraggablePriceLine, DrawingToolsManager, EXTENDED_FIBONACCI_RATIOS, FibonacciCalculator, FibonacciExtensionTool, FibonacciFanTool, FibonacciTool, GanttTool, histogramSeries as HistogramSeries, HorizontalLineTool, InteractiveLineManager, LastPriceAnimationMode, lineSeries as LineSeries, LineStyle, LineType, MismatchDirection, ParallelChannelTool, PitchforkTool, PolygonTool, PositionCalculator, PositionLine, PositionMarkersManager, PositionTool, PriceLineSource, PriceScaleMode, RectangleTool, RulerCalculator, RulerTool, STANDARD_FIBONACCI_RATIOS, TextTool, TickMarkType, TrackingModeExitMode, TradingSessionsIndicator, TrendLineTool, VerticalLineTool, VolumeProfileIndicator, applyADX, applyATR, applyBollingerBands, applyCCI, applyDonchianChannels, applyEMA, applyHeikinAshi, applyIchimoku, applyKeltnerChannels, applyMACD, applyMFI, applyOBV, applyParabolicSAR, applyPivotPoints, applyRSI, applySMA, applyStochastic, applySuperTrend, applyVWAP, applyVolume, applyWMA, applyWilliamsR, calculateHeikinAshi, calculatePipConfig, coordinateFromTime, createArrowTool, createBrushTool, createChart, createChartEx, createCircleTool, createCrossLineTool, createFibonacciExtensionTool, createFibonacciFanTool, createFibonacciTool, createGanttTool, createHorizontalLineTool, createImageWatermark, createInteractiveLineManager, createOptionsChart, createParallelChannelTool, createPitchforkTool, createPolygonTool, createPositionLine, createPositionMarkers, createPositionTool, createRectangleTool, createRulerTool, createSeriesMarkers, createTextTool, createTextWatermark, createTradingLine, createTradingSessionsIndicator, createTrendLineTool, createUpDownMarkers, createVerticalLineTool, createVolumeProfileIndicator, createYieldCurveChart, customSeriesDefaultOptions, defaultHorzScaleBehavior, getPipConfig, hideSeriesPaint, isBusinessDay, isUTCTimestamp, setSeriesVolumes, setVolumeProfileData, timeFromCoordinate, version };
|