@millistream/millistream-widgets 1.0.32 → 1.0.33
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 +7 -6
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Millistream Widgets
|
|
2
|
+
|
|
2
3
|
Millistream financial data widgets for websites.
|
|
3
4
|
|
|
4
5
|
## Installation
|
|
6
|
+
|
|
5
7
|
```bash
|
|
6
8
|
$ npm install @millistream/millistream-widgets
|
|
7
9
|
```
|
|
8
10
|
|
|
9
11
|
## Angular example
|
|
12
|
+
|
|
10
13
|
```html
|
|
11
14
|
<button (click)="loadChart()">Load</button>
|
|
12
15
|
<div id="chart" style="millistream-chart-target"></div>
|
|
@@ -51,9 +54,6 @@ loadChart) {
|
|
|
51
54
|
fillchart: true,
|
|
52
55
|
timeformat: 'HH:mm',
|
|
53
56
|
streaming: pushapi,
|
|
54
|
-
fillchart: true,
|
|
55
|
-
timeformat: 'HH:mm',
|
|
56
|
-
streaming: pushapi,
|
|
57
57
|
instrumentStyle: {
|
|
58
58
|
color: '#f90',
|
|
59
59
|
backgroundLinearGradient: {
|
|
@@ -110,7 +110,6 @@ loadChart) {
|
|
|
110
110
|
})();
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
|
|
114
113
|
```css
|
|
115
114
|
/* Global Styles */
|
|
116
115
|
.millistream-chart-target {
|
|
@@ -148,8 +147,10 @@ loadChart) {
|
|
|
148
147
|
```
|
|
149
148
|
|
|
150
149
|
## Widget documentation
|
|
150
|
+
|
|
151
151
|
Please refer to non npm-version documentation on widget customization.
|
|
152
|
-
https://
|
|
152
|
+
https://mws.millistream.com/widgets/3.0.4/doc/chart_v3.html
|
|
153
153
|
|
|
154
154
|
## Support
|
|
155
|
+
|
|
155
156
|
https://www.millistream.com
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
2
|
+
"name": "@millistream/millistream-widgets",
|
|
3
|
+
"version": "1.0.33",
|
|
4
|
+
"description": "Millistream widgets node package",
|
|
5
|
+
"main": "millistream-widgets.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "Mats Fors (http://www.millistream.com)",
|
|
10
|
+
"license": "GPL-3.0",
|
|
11
|
+
"repository": {
|
|
12
|
+
"private": true
|
|
13
|
+
}
|
|
14
|
+
}
|