openalgo-charts 2.3.2 → 2.4.0
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/README.md +37 -23
- package/dist/index.d.ts +208 -7
- package/dist/indicators/index.d.ts +79 -2
- package/dist/openalgo-charts.indicators.mjs +1 -1
- package/dist/openalgo-charts.indicators.mjs.map +1 -1
- package/dist/openalgo-charts.mjs +1 -1
- package/dist/openalgo-charts.mjs.map +1 -1
- package/dist/openalgo-charts.standalone.js +1 -1
- package/dist/openalgo-charts.standalone.js.map +1 -1
- package/dist/openalgo-charts.webgl.mjs +1 -1
- package/dist/openalgo-charts.webgl.mjs.map +1 -1
- package/dist/openalgo-charts.widget.mjs +1 -1
- package/dist/openalgo-charts.widget.mjs.map +1 -1
- package/dist/profile/index.d.ts +9 -0
- package/dist/transform/index.d.ts +9 -0
- package/dist/webgl/index.d.ts +17 -0
- package/package.json +1 -1
package/dist/profile/index.d.ts
CHANGED
|
@@ -83,6 +83,15 @@ interface Bar {
|
|
|
83
83
|
* two. Neither is expressible with one colour for the whole series.
|
|
84
84
|
*/
|
|
85
85
|
color?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Wick colour for this bar alone, over `color`. A study that paints candles
|
|
88
|
+
* with a translucent body and a solid wick cannot say so with one colour,
|
|
89
|
+
* and without this a per-bar override always set the two together. Read by
|
|
90
|
+
* the candle renderers only; absent means the wick follows `color`.
|
|
91
|
+
*/
|
|
92
|
+
wickColor?: string;
|
|
93
|
+
/** Border colour for this bar alone, on the same terms as `wickColor`. */
|
|
94
|
+
borderColor?: string;
|
|
86
95
|
}
|
|
87
96
|
|
|
88
97
|
/**
|
|
@@ -21,6 +21,15 @@ interface Bar {
|
|
|
21
21
|
* two. Neither is expressible with one colour for the whole series.
|
|
22
22
|
*/
|
|
23
23
|
color?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Wick colour for this bar alone, over `color`. A study that paints candles
|
|
26
|
+
* with a translucent body and a solid wick cannot say so with one colour,
|
|
27
|
+
* and without this a per-bar override always set the two together. Read by
|
|
28
|
+
* the candle renderers only; absent means the wick follows `color`.
|
|
29
|
+
*/
|
|
30
|
+
wickColor?: string;
|
|
31
|
+
/** Border colour for this bar alone, on the same terms as `wickColor`. */
|
|
32
|
+
borderColor?: string;
|
|
24
33
|
}
|
|
25
34
|
|
|
26
35
|
/**
|
package/dist/webgl/index.d.ts
CHANGED
|
@@ -21,6 +21,15 @@ interface Bar {
|
|
|
21
21
|
* two. Neither is expressible with one colour for the whole series.
|
|
22
22
|
*/
|
|
23
23
|
color?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Wick colour for this bar alone, over `color`. A study that paints candles
|
|
26
|
+
* with a translucent body and a solid wick cannot say so with one colour,
|
|
27
|
+
* and without this a per-bar override always set the two together. Read by
|
|
28
|
+
* the candle renderers only; absent means the wick follows `color`.
|
|
29
|
+
*/
|
|
30
|
+
wickColor?: string;
|
|
31
|
+
/** Border colour for this bar alone, on the same terms as `wickColor`. */
|
|
32
|
+
borderColor?: string;
|
|
24
33
|
}
|
|
25
34
|
|
|
26
35
|
/**
|
|
@@ -75,6 +84,14 @@ interface SeriesStyle {
|
|
|
75
84
|
* so whoever builds those readings owns their formatting.
|
|
76
85
|
*/
|
|
77
86
|
precision?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Draw every point this many bars to the right of the bar it belongs to
|
|
89
|
+
* (negative: left). The data is untouched and keeps its own times; only the
|
|
90
|
+
* painted position moves, so the last `barOffset` points of a series land in
|
|
91
|
+
* the right margin, past the newest bar. Autoscale follows what is drawn in
|
|
92
|
+
* view. Default 0.
|
|
93
|
+
*/
|
|
94
|
+
barOffset?: number;
|
|
78
95
|
color?: string;
|
|
79
96
|
lineWidth?: number;
|
|
80
97
|
/** Line dash style for line/step/area/HLC series. Default 'solid'. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openalgo-charts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "From-scratch, dependency-free canvas charting engine for OpenAlgo: professional-grade interactive rendering, advanced on-chart trading, and a one-call widget tier that adds the toolbar, drawing rail, dialogs and shortcuts.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "marketcalls",
|