@pipsend/charts 2.3.3 → 2.3.4
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 +19 -14
- package/dist/pipsend-charts.production.mjs +2 -2
- package/dist/pipsend-charts.standalone.development.js +19 -14
- package/dist/pipsend-charts.standalone.development.mjs +19 -14
- 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.4
|
|
4
4
|
* Copyright (c) 2026 Pipsend
|
|
5
5
|
* Licensed under MIT License
|
|
6
6
|
* Built on TradingView Lightweight Charts™ (Apache 2.0)
|
|
@@ -11528,7 +11528,7 @@
|
|
|
11528
11528
|
return {
|
|
11529
11529
|
_internal_time: row._internal_index,
|
|
11530
11530
|
_internal_x: NaN,
|
|
11531
|
-
...colorer._internal_barStyle(row._internal_index),
|
|
11531
|
+
...colorer._internal_barStyle(row._internal_index, { _internal_value: row }),
|
|
11532
11532
|
_internal_originalData: row._internal_data,
|
|
11533
11533
|
};
|
|
11534
11534
|
});
|
|
@@ -12846,7 +12846,9 @@
|
|
|
12846
12846
|
const colorer = this._internal__series._internal_barColorer();
|
|
12847
12847
|
this._internal__items = this._internal__series._internal_bars()._internal_rows().map((row) => {
|
|
12848
12848
|
const value = row._internal_value[3 /* PlotRowValueIndex.Close */];
|
|
12849
|
-
|
|
12849
|
+
// The row travels with the point: without it the colorer looks it up
|
|
12850
|
+
// again by index, and that lookup could fail and take the repaint down.
|
|
12851
|
+
return this._internal__createRawItem(row._internal_index, value, colorer, row);
|
|
12850
12852
|
});
|
|
12851
12853
|
}
|
|
12852
12854
|
}
|
|
@@ -13014,10 +13016,10 @@
|
|
|
13014
13016
|
super(...arguments);
|
|
13015
13017
|
this._internal__renderer = new PaneRendererLine();
|
|
13016
13018
|
}
|
|
13017
|
-
_internal__createRawItem(time, price, colorer) {
|
|
13019
|
+
_internal__createRawItem(time, price, colorer, row) {
|
|
13018
13020
|
return {
|
|
13019
13021
|
...this._internal__createRawItemBase(time, price),
|
|
13020
|
-
...colorer._internal_barStyle(time),
|
|
13022
|
+
...colorer._internal_barStyle(time, { _internal_value: row }),
|
|
13021
13023
|
};
|
|
13022
13024
|
}
|
|
13023
13025
|
_internal__prepareRendererData() {
|
|
@@ -13491,10 +13493,10 @@
|
|
|
13491
13493
|
this._private__baselineLineRenderer = new PaneRendererBaselineLine();
|
|
13492
13494
|
this._internal__renderer._internal_setRenderers([this._private__baselineAreaRenderer, this._private__baselineLineRenderer]);
|
|
13493
13495
|
}
|
|
13494
|
-
_internal__createRawItem(time, price, colorer) {
|
|
13496
|
+
_internal__createRawItem(time, price, colorer, row) {
|
|
13495
13497
|
return {
|
|
13496
13498
|
...this._internal__createRawItemBase(time, price),
|
|
13497
|
-
...colorer._internal_barStyle(time),
|
|
13499
|
+
...colorer._internal_barStyle(time, { _internal_value: row }),
|
|
13498
13500
|
};
|
|
13499
13501
|
}
|
|
13500
13502
|
_internal__prepareRendererData() {
|
|
@@ -13614,10 +13616,10 @@
|
|
|
13614
13616
|
this._private__lineRenderer = new PaneRendererLine();
|
|
13615
13617
|
this._internal__renderer._internal_setRenderers([this._private__areaRenderer, this._private__lineRenderer]);
|
|
13616
13618
|
}
|
|
13617
|
-
_internal__createRawItem(time, price, colorer) {
|
|
13619
|
+
_internal__createRawItem(time, price, colorer, row) {
|
|
13618
13620
|
return {
|
|
13619
13621
|
...this._internal__createRawItemBase(time, price),
|
|
13620
|
-
...colorer._internal_barStyle(time),
|
|
13622
|
+
...colorer._internal_barStyle(time, { _internal_value: row }),
|
|
13621
13623
|
};
|
|
13622
13624
|
}
|
|
13623
13625
|
_internal__prepareRendererData() {
|
|
@@ -13810,6 +13812,9 @@
|
|
|
13810
13812
|
}
|
|
13811
13813
|
_internal__fillRawPoints() {
|
|
13812
13814
|
const colorer = this._internal__series._internal_barColorer();
|
|
13815
|
+
// The row goes to the colorer as it is. Asking for the style by index
|
|
13816
|
+
// alone made it look the row up again, and that second lookup could come
|
|
13817
|
+
// back empty and throw, taking the whole repaint down with it.
|
|
13813
13818
|
this._internal__items = this._internal__series._internal_bars()._internal_rows().map((row) => this._internal__createRawItem(row._internal_index, row, colorer));
|
|
13814
13819
|
}
|
|
13815
13820
|
}
|
|
@@ -13822,7 +13827,7 @@
|
|
|
13822
13827
|
_internal__createRawItem(time, bar, colorer) {
|
|
13823
13828
|
return {
|
|
13824
13829
|
...this._internal__createDefaultItem(time, bar, colorer),
|
|
13825
|
-
...colorer._internal_barStyle(time),
|
|
13830
|
+
...colorer._internal_barStyle(time, { _internal_value: bar }),
|
|
13826
13831
|
};
|
|
13827
13832
|
}
|
|
13828
13833
|
_internal__prepareRendererData() {
|
|
@@ -14015,7 +14020,7 @@
|
|
|
14015
14020
|
_internal__createRawItem(time, bar, colorer) {
|
|
14016
14021
|
return {
|
|
14017
14022
|
...this._internal__createDefaultItem(time, bar, colorer),
|
|
14018
|
-
...colorer._internal_barStyle(time),
|
|
14023
|
+
...colorer._internal_barStyle(time, { _internal_value: bar }),
|
|
14019
14024
|
};
|
|
14020
14025
|
}
|
|
14021
14026
|
_internal__prepareRendererData() {
|
|
@@ -14183,10 +14188,10 @@
|
|
|
14183
14188
|
super(...arguments);
|
|
14184
14189
|
this._internal__renderer = new PaneRendererHistogram();
|
|
14185
14190
|
}
|
|
14186
|
-
_internal__createRawItem(time, price, colorer) {
|
|
14191
|
+
_internal__createRawItem(time, price, colorer, row) {
|
|
14187
14192
|
return {
|
|
14188
14193
|
...this._internal__createRawItemBase(time, price),
|
|
14189
|
-
...colorer._internal_barStyle(time),
|
|
14194
|
+
...colorer._internal_barStyle(time, { _internal_value: row }),
|
|
14190
14195
|
};
|
|
14191
14196
|
}
|
|
14192
14197
|
_internal__prepareRendererData() {
|
|
@@ -31001,7 +31006,7 @@
|
|
|
31001
31006
|
* Returns the current version as a string. For example `'1.0.0'`.
|
|
31002
31007
|
*/
|
|
31003
31008
|
function version() {
|
|
31004
|
-
return "2.3.
|
|
31009
|
+
return "2.3.4";
|
|
31005
31010
|
}
|
|
31006
31011
|
|
|
31007
31012
|
var PipsendChartsModule = /*#__PURE__*/Object.freeze({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
|
-
* Pipsend Charts v2.3.
|
|
3
|
+
* Pipsend Charts v2.3.4
|
|
4
4
|
* Copyright (c) 2026 Pipsend
|
|
5
5
|
* Licensed under MIT License
|
|
6
6
|
* Built on TradingView Lightweight Charts™ (Apache 2.0)
|
|
@@ -11525,7 +11525,7 @@ class SeriesCustomPaneView extends SeriesPaneViewBase {
|
|
|
11525
11525
|
return {
|
|
11526
11526
|
_internal_time: row._internal_index,
|
|
11527
11527
|
_internal_x: NaN,
|
|
11528
|
-
...colorer._internal_barStyle(row._internal_index),
|
|
11528
|
+
...colorer._internal_barStyle(row._internal_index, { _internal_value: row }),
|
|
11529
11529
|
_internal_originalData: row._internal_data,
|
|
11530
11530
|
};
|
|
11531
11531
|
});
|
|
@@ -12843,7 +12843,9 @@ class LinePaneViewBase extends SeriesPaneViewBase {
|
|
|
12843
12843
|
const colorer = this._internal__series._internal_barColorer();
|
|
12844
12844
|
this._internal__items = this._internal__series._internal_bars()._internal_rows().map((row) => {
|
|
12845
12845
|
const value = row._internal_value[3 /* PlotRowValueIndex.Close */];
|
|
12846
|
-
|
|
12846
|
+
// The row travels with the point: without it the colorer looks it up
|
|
12847
|
+
// again by index, and that lookup could fail and take the repaint down.
|
|
12848
|
+
return this._internal__createRawItem(row._internal_index, value, colorer, row);
|
|
12847
12849
|
});
|
|
12848
12850
|
}
|
|
12849
12851
|
}
|
|
@@ -13011,10 +13013,10 @@ class SeriesLinePaneView extends LinePaneViewBase {
|
|
|
13011
13013
|
super(...arguments);
|
|
13012
13014
|
this._internal__renderer = new PaneRendererLine();
|
|
13013
13015
|
}
|
|
13014
|
-
_internal__createRawItem(time, price, colorer) {
|
|
13016
|
+
_internal__createRawItem(time, price, colorer, row) {
|
|
13015
13017
|
return {
|
|
13016
13018
|
...this._internal__createRawItemBase(time, price),
|
|
13017
|
-
...colorer._internal_barStyle(time),
|
|
13019
|
+
...colorer._internal_barStyle(time, { _internal_value: row }),
|
|
13018
13020
|
};
|
|
13019
13021
|
}
|
|
13020
13022
|
_internal__prepareRendererData() {
|
|
@@ -13488,10 +13490,10 @@ class SeriesBaselinePaneView extends LinePaneViewBase {
|
|
|
13488
13490
|
this._private__baselineLineRenderer = new PaneRendererBaselineLine();
|
|
13489
13491
|
this._internal__renderer._internal_setRenderers([this._private__baselineAreaRenderer, this._private__baselineLineRenderer]);
|
|
13490
13492
|
}
|
|
13491
|
-
_internal__createRawItem(time, price, colorer) {
|
|
13493
|
+
_internal__createRawItem(time, price, colorer, row) {
|
|
13492
13494
|
return {
|
|
13493
13495
|
...this._internal__createRawItemBase(time, price),
|
|
13494
|
-
...colorer._internal_barStyle(time),
|
|
13496
|
+
...colorer._internal_barStyle(time, { _internal_value: row }),
|
|
13495
13497
|
};
|
|
13496
13498
|
}
|
|
13497
13499
|
_internal__prepareRendererData() {
|
|
@@ -13611,10 +13613,10 @@ class SeriesAreaPaneView extends LinePaneViewBase {
|
|
|
13611
13613
|
this._private__lineRenderer = new PaneRendererLine();
|
|
13612
13614
|
this._internal__renderer._internal_setRenderers([this._private__areaRenderer, this._private__lineRenderer]);
|
|
13613
13615
|
}
|
|
13614
|
-
_internal__createRawItem(time, price, colorer) {
|
|
13616
|
+
_internal__createRawItem(time, price, colorer, row) {
|
|
13615
13617
|
return {
|
|
13616
13618
|
...this._internal__createRawItemBase(time, price),
|
|
13617
|
-
...colorer._internal_barStyle(time),
|
|
13619
|
+
...colorer._internal_barStyle(time, { _internal_value: row }),
|
|
13618
13620
|
};
|
|
13619
13621
|
}
|
|
13620
13622
|
_internal__prepareRendererData() {
|
|
@@ -13807,6 +13809,9 @@ class BarsPaneViewBase extends SeriesPaneViewBase {
|
|
|
13807
13809
|
}
|
|
13808
13810
|
_internal__fillRawPoints() {
|
|
13809
13811
|
const colorer = this._internal__series._internal_barColorer();
|
|
13812
|
+
// The row goes to the colorer as it is. Asking for the style by index
|
|
13813
|
+
// alone made it look the row up again, and that second lookup could come
|
|
13814
|
+
// back empty and throw, taking the whole repaint down with it.
|
|
13810
13815
|
this._internal__items = this._internal__series._internal_bars()._internal_rows().map((row) => this._internal__createRawItem(row._internal_index, row, colorer));
|
|
13811
13816
|
}
|
|
13812
13817
|
}
|
|
@@ -13819,7 +13824,7 @@ class SeriesBarsPaneView extends BarsPaneViewBase {
|
|
|
13819
13824
|
_internal__createRawItem(time, bar, colorer) {
|
|
13820
13825
|
return {
|
|
13821
13826
|
...this._internal__createDefaultItem(time, bar, colorer),
|
|
13822
|
-
...colorer._internal_barStyle(time),
|
|
13827
|
+
...colorer._internal_barStyle(time, { _internal_value: bar }),
|
|
13823
13828
|
};
|
|
13824
13829
|
}
|
|
13825
13830
|
_internal__prepareRendererData() {
|
|
@@ -14012,7 +14017,7 @@ class SeriesCandlesticksPaneView extends BarsPaneViewBase {
|
|
|
14012
14017
|
_internal__createRawItem(time, bar, colorer) {
|
|
14013
14018
|
return {
|
|
14014
14019
|
...this._internal__createDefaultItem(time, bar, colorer),
|
|
14015
|
-
...colorer._internal_barStyle(time),
|
|
14020
|
+
...colorer._internal_barStyle(time, { _internal_value: bar }),
|
|
14016
14021
|
};
|
|
14017
14022
|
}
|
|
14018
14023
|
_internal__prepareRendererData() {
|
|
@@ -14180,10 +14185,10 @@ class SeriesHistogramPaneView extends LinePaneViewBase {
|
|
|
14180
14185
|
super(...arguments);
|
|
14181
14186
|
this._internal__renderer = new PaneRendererHistogram();
|
|
14182
14187
|
}
|
|
14183
|
-
_internal__createRawItem(time, price, colorer) {
|
|
14188
|
+
_internal__createRawItem(time, price, colorer, row) {
|
|
14184
14189
|
return {
|
|
14185
14190
|
...this._internal__createRawItemBase(time, price),
|
|
14186
|
-
...colorer._internal_barStyle(time),
|
|
14191
|
+
...colorer._internal_barStyle(time, { _internal_value: row }),
|
|
14187
14192
|
};
|
|
14188
14193
|
}
|
|
14189
14194
|
_internal__prepareRendererData() {
|
|
@@ -30998,7 +31003,7 @@ const customSeriesDefaultOptions = {
|
|
|
30998
31003
|
* Returns the current version as a string. For example `'1.0.0'`.
|
|
30999
31004
|
*/
|
|
31000
31005
|
function version() {
|
|
31001
|
-
return "2.3.
|
|
31006
|
+
return "2.3.4";
|
|
31002
31007
|
}
|
|
31003
31008
|
|
|
31004
31009
|
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 };
|