funhi-chart 1.3.9 → 1.4.2
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/dts/components/FunhiChart.d.ts +1 -1
- package/dist/dts/core/CandleManager.d.ts +1 -1
- package/dist/dts/validators/CandleValidator.d.ts +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/dts/components/FunhiChartIsolated.d.ts +0 -13
- package/dist/dts/components/FunhiChartOOP.d.ts +0 -8
- package/dist/dts/components/ProfessionalTradingChartRedux.d.ts +0 -13
|
@@ -9,6 +9,7 @@ export declare class CandleValidator {
|
|
|
9
9
|
private static readonly MIN_BODY_PERCENTAGE;
|
|
10
10
|
/**
|
|
11
11
|
* Absolute minimum body size in price units
|
|
12
|
+
* Set to 0 to display exact prices without any modifications
|
|
12
13
|
*/
|
|
13
14
|
private static readonly MIN_BODY_ABSOLUTE;
|
|
14
15
|
/**
|
|
@@ -17,6 +18,7 @@ export declare class CandleValidator {
|
|
|
17
18
|
static validate(candle: CandleData): boolean;
|
|
18
19
|
/**
|
|
19
20
|
* Ensures candle has minimum body size for visibility
|
|
21
|
+
* DISABLED: Returns candle as-is to display exact prices without modifications
|
|
20
22
|
*/
|
|
21
23
|
static ensureMinimumBodySize(candle: CandleData, minBodySize?: number): CandleData;
|
|
22
24
|
/**
|
|
@@ -33,6 +35,7 @@ export declare class CandleValidator {
|
|
|
33
35
|
static validatePrice(price: number): boolean;
|
|
34
36
|
/**
|
|
35
37
|
* Calculates minimum body size for a given price
|
|
38
|
+
* Returns 0 to prevent any price modifications
|
|
36
39
|
*/
|
|
37
40
|
static calculateMinBodySize(price: number): number;
|
|
38
41
|
}
|