@funnest/charts-ui 0.6.19 → 0.6.20
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 +11 -12
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# @funnest/charts-ui
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Full trading chart widget (toolbar, symbol search, indicators, drawing tools). Framework-free.
|
|
3
|
+
The full trading chart widget: toolbar, symbol search, indicators and drawing tools. Framework-free.
|
|
6
4
|
|
|
7
5
|
```bash
|
|
8
6
|
npm i @funnest/charts-ui
|
|
@@ -13,18 +11,19 @@ import { createTradingChart } from '@funnest/charts-ui';
|
|
|
13
11
|
|
|
14
12
|
const widget = createTradingChart(document.getElementById('chart')!, {
|
|
15
13
|
datafeed: myDatafeed,
|
|
16
|
-
symbol: '
|
|
14
|
+
symbol: 'AAPL',
|
|
17
15
|
resolution: '1D',
|
|
18
|
-
colorScheme: 'system', // OS
|
|
16
|
+
colorScheme: 'system', // follows the OS light/dark setting
|
|
19
17
|
});
|
|
20
18
|
```
|
|
21
19
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
- `save()` / `load()
|
|
20
|
+
- Works with any framework. In React, use `<FnChart />` from `@funnest/charts-react`.
|
|
21
|
+
- Put your own UI into slots: `toolbar`, `toolbarEnd`, `belowToolbar`, `footer`.
|
|
22
|
+
- `save()` / `load()` keep the layout (indicators, drawings, settings) as JSON.
|
|
23
|
+
- English by default, Korean for a Korean browser; replace any word with the `strings` option.
|
|
25
24
|
|
|
26
|
-
##
|
|
25
|
+
## Links
|
|
27
26
|
|
|
28
|
-
-
|
|
29
|
-
- GitHub: https://github.com/funnest-xyz/funnest-charts
|
|
30
|
-
-
|
|
27
|
+
- Docs: https://charts.funnest.xyz/docs/
|
|
28
|
+
- GitHub: https://github.com/funnest-xyz/funnest-charts ([한국어](https://github.com/funnest-xyz/funnest-charts/blob/main/README.ko.md))
|
|
29
|
+
- License: Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnest/charts-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.20",
|
|
4
4
|
"description": "Pro trading UI (toolbar, drawing tools, sheets) for Funnest Charts. Framework-agnostic.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chart",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"NOTICE"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@funnest/charts": "0.6.
|
|
45
|
+
"@funnest/charts": "0.6.20"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"preact": "^11.2.0"
|