ngx-hana-nameserver-history-viewer 21.1.0 → 21.1.1
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
|
@@ -22,7 +22,7 @@ npm install ngx-hana-nameserver-history-viewer --save
|
|
|
22
22
|
|
|
23
23
|
### Requirements
|
|
24
24
|
|
|
25
|
-
The library depends on [ngx-selection-table](https://github.com/ckyycc/ngx-selection-table), [ngx-dropdown-list](https://github.com/ckyycc/ngx-dropdown-list), [moment-timezone](https://github.com/moment/moment-timezone), [papaparse](https://github.com/mholt/PapaParse), [angular-datetime-picker](https://github.com/
|
|
25
|
+
The library depends on [ngx-selection-table](https://github.com/ckyycc/ngx-selection-table), [ngx-dropdown-list](https://github.com/ckyycc/ngx-dropdown-list), [moment-timezone](https://github.com/moment/moment-timezone), [papaparse](https://github.com/mholt/PapaParse), [nshviewer-angular-datetime-picker](https://github.com/ckyycc/date-time-picker), [chart.js](https://github.com/chartjs/Chart.js).
|
|
26
26
|
|
|
27
27
|
The only file required is the ng-pick-datetime `picker.min.css` file:
|
|
28
28
|
|
|
@@ -32,17 +32,17 @@ The only file required is the ng-pick-datetime `picker.min.css` file:
|
|
|
32
32
|
{
|
|
33
33
|
...
|
|
34
34
|
"styles": [
|
|
35
|
-
"../node_modules
|
|
35
|
+
"../node_modules/nshviewer-angular-datetime-picker/assets/style/picker.min.css",
|
|
36
36
|
...
|
|
37
37
|
],
|
|
38
38
|
...
|
|
39
39
|
}
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
##### 2. Or import the `picker.min.css` in your
|
|
42
|
+
##### 2. Or import the `picker.min.css` in your main.ts
|
|
43
43
|
|
|
44
|
-
```
|
|
45
|
-
|
|
44
|
+
```TypeScript
|
|
45
|
+
import 'nshviewer-angular-datetime-picker/assets/style/picker.min.css';
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
## Usage
|
|
@@ -6,7 +6,6 @@ import { Chart, registerables, TimeScale, LinearScale, CategoryScale, PointEleme
|
|
|
6
6
|
import 'chartjs-adapter-moment';
|
|
7
7
|
import zoomPlugin from 'chartjs-plugin-zoom';
|
|
8
8
|
import { parse } from 'papaparse';
|
|
9
|
-
import 'hammerjs';
|
|
10
9
|
import * as i2 from 'nshviewer-angular-datetime-picker';
|
|
11
10
|
import { OwlDateTimeModule, OwlNativeDateTimeModule } from 'nshviewer-angular-datetime-picker';
|
|
12
11
|
import { SelectionTableComponent } from 'ngx-selection-table';
|
|
@@ -1178,8 +1177,8 @@ class ChartService {
|
|
|
1178
1177
|
type: 'time',
|
|
1179
1178
|
time: {
|
|
1180
1179
|
displayFormats: {
|
|
1181
|
-
'millisecond': 'MMMDD HH:mm',
|
|
1182
|
-
'second': 'MMMDD HH:mm',
|
|
1180
|
+
'millisecond': 'MMMDD HH:mm:ss',
|
|
1181
|
+
'second': 'MMMDD HH:mm:ss',
|
|
1183
1182
|
'minute': 'MMMDD HH:mm',
|
|
1184
1183
|
'hour': 'MMMDD HH',
|
|
1185
1184
|
'day': 'MMMDD',
|