@millistream/millistream-widgets 1.0.32 → 1.0.34

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 CHANGED
@@ -1,12 +1,15 @@
1
- # Millistream Widgets
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://widgets.millistream.com/3.0.3/doc/widgets.html
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