1.2.1 • Published 2 years ago

ngx-hana-nameserver-history-viewer v1.2.1

Weekly downloads
6
License
MIT
Repository
github
Last release
2 years ago

ngx-hana-nameserver-history-viewer

npm npm downloads Travis MIT licensed

An Angular 13 module of SAP HANA nameserver history viewer. Supports MDC, different timezone and zoom-in.\ For Angular 7 support please use versions (v1.1.1 ~ v1.1.3 ).\ For Angular 6 support please use older versions (<= v1.0.15 ).

Demo

Check out the LIVE DEMO for more information!

small_demo_nameserver_history_viewer

Installation

To use ngx-hana-nameserver-history-viewer in your project install it via npm:

npm install ngx-hana-nameserver-history-viewer --save

Requirements

The library depends on ngx-selection-table, ngx-dropdown-list, moment-timezone, papaparse, angular-datetime-picker, chart.js and hammer.js.

The only file required is the ng-pick-datetime picker.min.css file:

1. Include the picker.min.css file in the angular.json file:
{
  ...
    "styles": [
      "../node_modules/@danielmoncada/angular-datetime-picker/assets/style/picker.min.css",
      ...
    ],
  ...
}
2. Or import the picker.min.css in your styles.css
@import "~@danielmoncada/angular-datetime-picker/assets/style/picker.min.css";

Usage

Importing The 'ngx-hana-nameserver-history-viewer' Module

//Import the library
import { NameserverHistoryModule } from 'ngx-hana-nameserver-history-viewer';

@NgModule({
  declarations: [...],
  imports: [
    NameserverHistoryModule, // Include the library in the imports section
    ...
  ],
  providers: [],
  bootstrap: [...]
})
export class AppModule { }

Enabling nameserver history viewer

<ngx-hana-nameserver-history-viewer
  [defaultSelectedItems]="['indexserverMemUsed', 'mvccNum']"
  [hideMeasureColumns]="['Sum', 'Last']"
  [maxRowsLimitation]="100000"
  [showInstruction]="true"
  [timezone]="'America/Vancouver'">
</ngx-hana-nameserver-history-viewer>

Parameters

NameDescriptionExample
defaultSelectedItemsItem(s) that will be selected by default on the chart.defaultSelectedItems="'indexserverMemUsed', 'mvccNum'"
hideMeasureColumnsMeasure(s) that will be hidden from selection table (controlling area) of the chart.hideMeasureColumns="'Sum', 'Last'"
maxRowsLimitationThe maximum rows that will be loaded from the selected nameserver history file. Web page might crash (OOM of JavaScript VM) if this number is too high (eg: > 500000)maxRowsLimitation="100000"
showInstructionFlag of instructionshowInstruction="true"
timezoneTimezone name, can't be abbreviationtimezone="'America/Vancouver'"
fileBufferBlob of the nameserver history, set this if you do not want to choose the file manuallyfileBuffer = \
autoDisplayDisplay the chart automatically if fileBuffer is setautoDisplay = true

Todo

  • Support Angular 13
  • Reduce memory usage
  • ...

License

MIT

1.2.0

2 years ago

1.1.9-9.1.beta

2 years ago

1.1.9-4.beta

2 years ago

1.1.9-1.beta

2 years ago

1.2.1-2.beta

2 years ago

1.2.1

2 years ago

1.1.9-2.beta

2 years ago

1.1.90

2 years ago

1.2.0-9.9.beta

2 years ago

1.1.9-5.beta

2 years ago

1.1.9-9.7.beta

2 years ago

1.2.1-1.beta

2 years ago

1.1.9-9.4.beta

2 years ago

1.1.9-8.beta

2 years ago

1.1.9-9.6.beta

2 years ago

1.1.9-6.beta

2 years ago

1.1.9-9.beta

2 years ago

1.1.9-9.3.beta

2 years ago

1.1.9-3.beta

2 years ago

1.1.9-9.5.beta

2 years ago

1.2.0-9.8.beta

2 years ago

1.1.9-9.2.beta

2 years ago

1.2.0-9.91.beta

2 years ago

1.1.9-7.beta

2 years ago

1.1.9-9.8.beta

2 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago