@spike-rabbit/charts-ng 49.0.0-next.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/LICENSE.md ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License
2
+
3
+ Copyright (c) Siemens 2016 - 2025
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the “Software”), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,50 @@
1
+ # Element Charts
2
+
3
+ The Element chart library for Angular based on ECharts. Going through the roof. Stoinks.
4
+
5
+ ## Usage
6
+
7
+ To use the Element Charts Angular components in your project, add them to your dependencies
8
+ by executing:
9
+
10
+ ```sh
11
+ npm install --save @spike-rabbit/charts-ng
12
+ ```
13
+
14
+ You also have to install the peer dependencies of Element Charts.
15
+
16
+ ```sh
17
+ npm install echarts --save
18
+ ```
19
+
20
+ Import the library to your Angular `AppModule`, mostly residing in your
21
+ `src/app/app.modules.ts` file as follows:
22
+
23
+ ```ts
24
+ // [...]
25
+
26
+ // Import this library
27
+ import { SiChartsNgModule } from '@spike-rabbit/charts-ng';
28
+
29
+ @NgModule({
30
+ declarations: [AppComponent],
31
+ imports: [BrowserModule, SiChartsNgModule],
32
+ providers: [],
33
+ bootstrap: [AppComponent]
34
+ })
35
+ export class AppModule {}
36
+ ```
37
+
38
+ ### Running unit tests
39
+
40
+ Run `yarn charts:test` to perform the unit tests via [Karma](https://karma-runner.github.io).
41
+ You can set a seed for running the tests in a specific using an environment variable: `SEED=71384 yarn lib:test`
42
+
43
+ ## License
44
+
45
+ The following applies for code and documentation of the git repository,
46
+ unless explicitly mentioned.
47
+
48
+ Copyright (c) Siemens 2016 - 2025
49
+
50
+ MIT, see [LICENSE.md](LICENSE.md).