@syncfusion/ej2-angular-charts 34.2.8 → 35.1.39
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/CHANGELOG.md +1 -90
- package/README.md +99 -140
- package/{fesm2020 → fesm2022}/syncfusion-ej2-angular-charts.mjs +1107 -1043
- package/fesm2022/syncfusion-ej2-angular-charts.mjs.map +1 -0
- package/package.json +10 -16
- package/schematics/collection.json +149 -10
- package/schematics/generators/chart-axes-crossing/index.d.ts +3 -0
- package/schematics/generators/chart-axes-crossing/index.js +5 -0
- package/schematics/generators/chart-axes-crossing/index.ts +8 -0
- package/schematics/generators/chart-axes-crossing/sample-details.d.ts +5 -0
- package/schematics/generators/chart-axes-crossing/sample-details.js +5 -0
- package/schematics/generators/chart-axes-crossing/sample-details.ts +5 -0
- package/schematics/generators/chart-axes-crossing/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/chart-axes-crossing/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +20 -0
- package/schematics/generators/chart-axes-crossing/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +110 -0
- package/schematics/generators/chart-axes-crossing/schema.d.ts +3 -0
- package/schematics/generators/chart-axes-crossing/schema.js +1 -0
- package/schematics/generators/chart-axes-crossing/schema.json +125 -0
- package/schematics/generators/chart-axes-crossing/schema.ts +3 -0
- package/schematics/generators/chart-crosshair/index.d.ts +3 -0
- package/schematics/generators/chart-crosshair/index.js +5 -0
- package/schematics/generators/chart-crosshair/index.ts +8 -0
- package/schematics/generators/chart-crosshair/sample-details.d.ts +5 -0
- package/schematics/generators/chart-crosshair/sample-details.js +5 -0
- package/schematics/generators/chart-crosshair/sample-details.ts +5 -0
- package/schematics/generators/chart-crosshair/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/chart-crosshair/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +15 -0
- package/schematics/generators/chart-crosshair/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +77 -0
- package/schematics/generators/chart-crosshair/samples/__path__/__name@dasherize@if-flat__/assets/chart-data.service.ts +130 -0
- package/schematics/generators/chart-crosshair/samples/__path__/__name@dasherize@if-flat__/assets/financial-data.ts +5436 -0
- package/schematics/generators/chart-crosshair/schema.d.ts +3 -0
- package/schematics/generators/chart-crosshair/schema.js +1 -0
- package/schematics/generators/chart-crosshair/schema.json +125 -0
- package/schematics/generators/chart-crosshair/schema.ts +3 -0
- package/schematics/generators/chart-donut/index.d.ts +3 -0
- package/schematics/generators/chart-donut/index.js +5 -0
- package/schematics/generators/chart-donut/index.ts +8 -0
- package/schematics/generators/chart-donut/sample-details.d.ts +5 -0
- package/schematics/generators/chart-donut/sample-details.js +5 -0
- package/schematics/generators/chart-donut/sample-details.ts +5 -0
- package/schematics/generators/chart-donut/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/chart-donut/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +16 -0
- package/schematics/generators/chart-donut/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +46 -0
- package/schematics/generators/chart-donut/schema.d.ts +3 -0
- package/schematics/generators/chart-donut/schema.js +1 -0
- package/schematics/generators/chart-donut/schema.json +125 -0
- package/schematics/generators/chart-donut/schema.ts +3 -0
- package/schematics/generators/chart-line/index.d.ts +3 -0
- package/schematics/generators/chart-line/index.js +5 -0
- package/schematics/generators/chart-line/index.ts +8 -0
- package/schematics/generators/chart-line/sample-details.d.ts +5 -0
- package/schematics/generators/chart-line/sample-details.js +5 -0
- package/schematics/generators/chart-line/sample-details.ts +5 -0
- package/schematics/generators/chart-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/chart-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +12 -0
- package/schematics/generators/chart-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +69 -0
- package/schematics/generators/chart-line/schema.d.ts +3 -0
- package/schematics/generators/chart-line/schema.js +1 -0
- package/schematics/generators/chart-line/schema.json +125 -0
- package/schematics/generators/chart-line/schema.ts +3 -0
- package/schematics/generators/chart-multi-level-labels/index.d.ts +3 -0
- package/schematics/generators/chart-multi-level-labels/index.js +5 -0
- package/schematics/generators/chart-multi-level-labels/index.ts +8 -0
- package/schematics/generators/chart-multi-level-labels/sample-details.d.ts +5 -0
- package/schematics/generators/chart-multi-level-labels/sample-details.js +5 -0
- package/schematics/generators/chart-multi-level-labels/sample-details.ts +5 -0
- package/schematics/generators/chart-multi-level-labels/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +64 -0
- package/schematics/generators/chart-multi-level-labels/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +128 -0
- package/schematics/generators/chart-multi-level-labels/schema.d.ts +3 -0
- package/schematics/generators/chart-multi-level-labels/schema.js +1 -0
- package/schematics/generators/chart-multi-level-labels/schema.json +125 -0
- package/schematics/generators/chart-multi-level-labels/schema.ts +3 -0
- package/schematics/generators/chart-pie/index.d.ts +3 -0
- package/schematics/generators/chart-pie/index.js +5 -0
- package/schematics/generators/chart-pie/index.ts +8 -0
- package/schematics/generators/chart-pie/sample-details.d.ts +5 -0
- package/schematics/generators/chart-pie/sample-details.js +5 -0
- package/schematics/generators/chart-pie/sample-details.ts +5 -0
- package/schematics/generators/chart-pie/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/chart-pie/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +16 -0
- package/schematics/generators/chart-pie/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +90 -0
- package/schematics/generators/chart-pie/schema.d.ts +3 -0
- package/schematics/generators/chart-pie/schema.js +1 -0
- package/schematics/generators/chart-pie/schema.json +125 -0
- package/schematics/generators/chart-pie/schema.ts +3 -0
- package/schematics/generators/chart-rangenavigator/index.d.ts +3 -0
- package/schematics/generators/chart-rangenavigator/index.js +5 -0
- package/schematics/generators/chart-rangenavigator/index.ts +8 -0
- package/schematics/generators/chart-rangenavigator/sample-details.d.ts +5 -0
- package/schematics/generators/chart-rangenavigator/sample-details.js +5 -0
- package/schematics/generators/chart-rangenavigator/sample-details.ts +5 -0
- package/schematics/generators/chart-rangenavigator/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/chart-rangenavigator/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +66 -0
- package/schematics/generators/chart-rangenavigator/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +53 -0
- package/schematics/generators/chart-rangenavigator/samples/__path__/__name@dasherize@if-flat__/assets/default-data.ts +367 -0
- package/schematics/generators/chart-rangenavigator/schema.d.ts +3 -0
- package/schematics/generators/chart-rangenavigator/schema.js +1 -0
- package/schematics/generators/chart-rangenavigator/schema.json +125 -0
- package/schematics/generators/chart-rangenavigator/schema.ts +3 -0
- package/schematics/generators/chart-remotedata/images/__path__/__name@dasherize__/Medium-36px-spin.gif +0 -0
- package/schematics/generators/chart-remotedata/index.d.ts +3 -0
- package/schematics/generators/chart-remotedata/index.js +5 -0
- package/schematics/generators/chart-remotedata/index.ts +8 -0
- package/schematics/generators/chart-remotedata/sample-details.d.ts +5 -0
- package/schematics/generators/chart-remotedata/sample-details.js +5 -0
- package/schematics/generators/chart-remotedata/sample-details.ts +5 -0
- package/schematics/generators/chart-remotedata/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +25 -0
- package/schematics/generators/chart-remotedata/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +15 -0
- package/schematics/generators/chart-remotedata/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +107 -0
- package/schematics/generators/chart-remotedata/schema.d.ts +3 -0
- package/schematics/generators/chart-remotedata/schema.js +1 -0
- package/schematics/generators/chart-remotedata/schema.json +125 -0
- package/schematics/generators/chart-remotedata/schema.ts +3 -0
- package/schematics/generators/chart-technical-indicator/index.d.ts +3 -0
- package/schematics/generators/chart-technical-indicator/index.js +5 -0
- package/schematics/generators/chart-technical-indicator/index.ts +8 -0
- package/schematics/generators/chart-technical-indicator/sample-details.d.ts +5 -0
- package/schematics/generators/chart-technical-indicator/sample-details.js +5 -0
- package/schematics/generators/chart-technical-indicator/sample-details.ts +5 -0
- package/schematics/generators/chart-technical-indicator/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/chart-technical-indicator/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +15 -0
- package/schematics/generators/chart-technical-indicator/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +86 -0
- package/schematics/generators/chart-technical-indicator/samples/__path__/__name@dasherize@if-flat__/assets/financial-data.ts +5436 -0
- package/schematics/generators/chart-technical-indicator/schema.d.ts +3 -0
- package/schematics/generators/chart-technical-indicator/schema.js +1 -0
- package/schematics/generators/chart-technical-indicator/schema.json +125 -0
- package/schematics/generators/chart-technical-indicator/schema.ts +3 -0
- package/schematics/generators/chart-trackball/index.d.ts +3 -0
- package/schematics/generators/chart-trackball/index.js +5 -0
- package/schematics/generators/chart-trackball/index.ts +8 -0
- package/schematics/generators/chart-trackball/sample-details.d.ts +5 -0
- package/schematics/generators/chart-trackball/sample-details.js +5 -0
- package/schematics/generators/chart-trackball/sample-details.ts +5 -0
- package/schematics/generators/chart-trackball/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/chart-trackball/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +15 -0
- package/schematics/generators/chart-trackball/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +80 -0
- package/schematics/generators/chart-trackball/schema.d.ts +3 -0
- package/schematics/generators/chart-trackball/schema.js +1 -0
- package/schematics/generators/chart-trackball/schema.json +125 -0
- package/schematics/generators/chart-trackball/schema.ts +3 -0
- package/schematics/generators/chart-zooming/index.d.ts +3 -0
- package/schematics/generators/chart-zooming/index.js +5 -0
- package/schematics/generators/chart-zooming/index.ts +8 -0
- package/schematics/generators/chart-zooming/sample-details.d.ts +5 -0
- package/schematics/generators/chart-zooming/sample-details.js +5 -0
- package/schematics/generators/chart-zooming/sample-details.ts +5 -0
- package/schematics/generators/chart-zooming/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/chart-zooming/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +36 -0
- package/schematics/generators/chart-zooming/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +61 -0
- package/schematics/generators/chart-zooming/samples/__path__/__name@dasherize@if-flat__/assets/chart-data.service.ts +130 -0
- package/schematics/generators/chart-zooming/schema.d.ts +3 -0
- package/schematics/generators/chart-zooming/schema.js +1 -0
- package/schematics/generators/chart-zooming/schema.json +125 -0
- package/schematics/generators/chart-zooming/schema.ts +3 -0
- package/schematics/generators/smithchart-admittance-rendering/index.d.ts +3 -0
- package/schematics/generators/smithchart-admittance-rendering/index.js +5 -0
- package/schematics/generators/smithchart-admittance-rendering/index.ts +8 -0
- package/schematics/generators/smithchart-admittance-rendering/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-admittance-rendering/sample-details.js +5 -0
- package/schematics/generators/smithchart-admittance-rendering/sample-details.ts +5 -0
- package/schematics/generators/smithchart-admittance-rendering/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-admittance-rendering/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
- package/schematics/generators/smithchart-admittance-rendering/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +40 -0
- package/schematics/generators/smithchart-admittance-rendering/schema.d.ts +3 -0
- package/schematics/generators/smithchart-admittance-rendering/schema.js +1 -0
- package/schematics/generators/smithchart-admittance-rendering/schema.json +125 -0
- package/schematics/generators/smithchart-admittance-rendering/schema.ts +3 -0
- package/schematics/generators/smithchart-animation/index.d.ts +3 -0
- package/schematics/generators/smithchart-animation/index.js +5 -0
- package/schematics/generators/smithchart-animation/index.ts +8 -0
- package/schematics/generators/smithchart-animation/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-animation/sample-details.js +5 -0
- package/schematics/generators/smithchart-animation/sample-details.ts +5 -0
- package/schematics/generators/smithchart-animation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-animation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
- package/schematics/generators/smithchart-animation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +30 -0
- package/schematics/generators/smithchart-animation/schema.d.ts +3 -0
- package/schematics/generators/smithchart-animation/schema.js +1 -0
- package/schematics/generators/smithchart-animation/schema.json +125 -0
- package/schematics/generators/smithchart-animation/schema.ts +3 -0
- package/schematics/generators/smithchart-default/index.d.ts +3 -0
- package/schematics/generators/smithchart-default/index.js +5 -0
- package/schematics/generators/smithchart-default/index.ts +8 -0
- package/schematics/generators/smithchart-default/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-default/sample-details.js +5 -0
- package/schematics/generators/smithchart-default/sample-details.ts +5 -0
- package/schematics/generators/smithchart-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/smithchart-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +40 -0
- package/schematics/generators/smithchart-default/schema.d.ts +3 -0
- package/schematics/generators/smithchart-default/schema.js +1 -0
- package/schematics/generators/smithchart-default/schema.json +125 -0
- package/schematics/generators/smithchart-default/schema.ts +3 -0
- package/schematics/generators/smithchart-label/index.d.ts +3 -0
- package/schematics/generators/smithchart-label/index.js +5 -0
- package/schematics/generators/smithchart-label/index.ts +8 -0
- package/schematics/generators/smithchart-label/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-label/sample-details.js +5 -0
- package/schematics/generators/smithchart-label/sample-details.ts +5 -0
- package/schematics/generators/smithchart-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
- package/schematics/generators/smithchart-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +40 -0
- package/schematics/generators/smithchart-label/schema.d.ts +3 -0
- package/schematics/generators/smithchart-label/schema.js +1 -0
- package/schematics/generators/smithchart-label/schema.json +125 -0
- package/schematics/generators/smithchart-label/schema.ts +3 -0
- package/schematics/generators/smithchart-legend/index.d.ts +3 -0
- package/schematics/generators/smithchart-legend/index.js +5 -0
- package/schematics/generators/smithchart-legend/index.ts +8 -0
- package/schematics/generators/smithchart-legend/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-legend/sample-details.js +5 -0
- package/schematics/generators/smithchart-legend/sample-details.ts +5 -0
- package/schematics/generators/smithchart-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/smithchart-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +45 -0
- package/schematics/generators/smithchart-legend/schema.d.ts +3 -0
- package/schematics/generators/smithchart-legend/schema.js +1 -0
- package/schematics/generators/smithchart-legend/schema.json +125 -0
- package/schematics/generators/smithchart-legend/schema.ts +3 -0
- package/schematics/generators/smithchart-marker/index.d.ts +3 -0
- package/schematics/generators/smithchart-marker/index.js +5 -0
- package/schematics/generators/smithchart-marker/index.ts +8 -0
- package/schematics/generators/smithchart-marker/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-marker/sample-details.js +5 -0
- package/schematics/generators/smithchart-marker/sample-details.ts +5 -0
- package/schematics/generators/smithchart-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/smithchart-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +47 -0
- package/schematics/generators/smithchart-marker/schema.d.ts +3 -0
- package/schematics/generators/smithchart-marker/schema.js +1 -0
- package/schematics/generators/smithchart-marker/schema.json +125 -0
- package/schematics/generators/smithchart-marker/schema.ts +3 -0
- package/schematics/generators/smithchart-multiple-series/index.d.ts +3 -0
- package/schematics/generators/smithchart-multiple-series/index.js +5 -0
- package/schematics/generators/smithchart-multiple-series/index.ts +8 -0
- package/schematics/generators/smithchart-multiple-series/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-multiple-series/sample-details.js +5 -0
- package/schematics/generators/smithchart-multiple-series/sample-details.ts +5 -0
- package/schematics/generators/smithchart-multiple-series/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-multiple-series/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/smithchart-multiple-series/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +40 -0
- package/schematics/generators/smithchart-multiple-series/schema.d.ts +3 -0
- package/schematics/generators/smithchart-multiple-series/schema.js +1 -0
- package/schematics/generators/smithchart-multiple-series/schema.json +125 -0
- package/schematics/generators/smithchart-multiple-series/schema.ts +3 -0
- package/schematics/generators/smithchart-print/index.d.ts +3 -0
- package/schematics/generators/smithchart-print/index.js +5 -0
- package/schematics/generators/smithchart-print/index.ts +8 -0
- package/schematics/generators/smithchart-print/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-print/sample-details.js +5 -0
- package/schematics/generators/smithchart-print/sample-details.ts +5 -0
- package/schematics/generators/smithchart-print/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-print/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +25 -0
- package/schematics/generators/smithchart-print/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +68 -0
- package/schematics/generators/smithchart-print/schema.d.ts +3 -0
- package/schematics/generators/smithchart-print/schema.js +1 -0
- package/schematics/generators/smithchart-print/schema.json +125 -0
- package/schematics/generators/smithchart-print/schema.ts +3 -0
- package/schematics/generators/smithchart-radius/index.d.ts +3 -0
- package/schematics/generators/smithchart-radius/index.js +5 -0
- package/schematics/generators/smithchart-radius/index.ts +8 -0
- package/schematics/generators/smithchart-radius/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-radius/sample-details.js +5 -0
- package/schematics/generators/smithchart-radius/sample-details.ts +5 -0
- package/schematics/generators/smithchart-radius/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-radius/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/smithchart-radius/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +41 -0
- package/schematics/generators/smithchart-radius/schema.d.ts +3 -0
- package/schematics/generators/smithchart-radius/schema.js +1 -0
- package/schematics/generators/smithchart-radius/schema.json +125 -0
- package/schematics/generators/smithchart-radius/schema.ts +3 -0
- package/schematics/generators/smithchart-series/index.d.ts +3 -0
- package/schematics/generators/smithchart-series/index.js +5 -0
- package/schematics/generators/smithchart-series/index.ts +8 -0
- package/schematics/generators/smithchart-series/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-series/sample-details.js +5 -0
- package/schematics/generators/smithchart-series/sample-details.ts +5 -0
- package/schematics/generators/smithchart-series/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-series/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +7 -0
- package/schematics/generators/smithchart-series/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +30 -0
- package/schematics/generators/smithchart-series/schema.d.ts +3 -0
- package/schematics/generators/smithchart-series/schema.js +1 -0
- package/schematics/generators/smithchart-series/schema.json +125 -0
- package/schematics/generators/smithchart-series/schema.ts +3 -0
- package/schematics/generators/smithchart-tooltip/index.d.ts +3 -0
- package/schematics/generators/smithchart-tooltip/index.js +5 -0
- package/schematics/generators/smithchart-tooltip/index.ts +8 -0
- package/schematics/generators/smithchart-tooltip/sample-details.d.ts +5 -0
- package/schematics/generators/smithchart-tooltip/sample-details.js +5 -0
- package/schematics/generators/smithchart-tooltip/sample-details.ts +5 -0
- package/schematics/generators/smithchart-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/smithchart-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/smithchart-tooltip/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +43 -0
- package/schematics/generators/smithchart-tooltip/schema.d.ts +3 -0
- package/schematics/generators/smithchart-tooltip/schema.js +1 -0
- package/schematics/generators/smithchart-tooltip/schema.json +125 -0
- package/schematics/generators/smithchart-tooltip/schema.ts +3 -0
- package/schematics/generators/sparkline-area/index.d.ts +3 -0
- package/schematics/generators/sparkline-area/index.js +5 -0
- package/schematics/generators/sparkline-area/index.ts +8 -0
- package/schematics/generators/sparkline-area/sample-details.d.ts +5 -0
- package/schematics/generators/sparkline-area/sample-details.js +5 -0
- package/schematics/generators/sparkline-area/sample-details.ts +5 -0
- package/schematics/generators/sparkline-area/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/sparkline-area/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +4 -0
- package/schematics/generators/sparkline-area/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +36 -0
- package/schematics/generators/sparkline-area/schema.d.ts +3 -0
- package/schematics/generators/sparkline-area/schema.js +1 -0
- package/schematics/generators/sparkline-area/schema.json +125 -0
- package/schematics/generators/sparkline-area/schema.ts +3 -0
- package/schematics/generators/sparkline-column/index.d.ts +3 -0
- package/schematics/generators/sparkline-column/index.js +5 -0
- package/schematics/generators/sparkline-column/index.ts +8 -0
- package/schematics/generators/sparkline-column/sample-details.d.ts +5 -0
- package/schematics/generators/sparkline-column/sample-details.js +5 -0
- package/schematics/generators/sparkline-column/sample-details.ts +5 -0
- package/schematics/generators/sparkline-column/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/sparkline-column/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +4 -0
- package/schematics/generators/sparkline-column/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +31 -0
- package/schematics/generators/sparkline-column/schema.d.ts +3 -0
- package/schematics/generators/sparkline-column/schema.js +1 -0
- package/schematics/generators/sparkline-column/schema.json +125 -0
- package/schematics/generators/sparkline-column/schema.ts +3 -0
- package/schematics/generators/sparkline-line/index.d.ts +3 -0
- package/schematics/generators/sparkline-line/index.js +5 -0
- package/schematics/generators/sparkline-line/index.ts +8 -0
- package/schematics/generators/sparkline-line/sample-details.d.ts +5 -0
- package/schematics/generators/sparkline-line/sample-details.js +5 -0
- package/schematics/generators/sparkline-line/sample-details.ts +5 -0
- package/schematics/generators/sparkline-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/sparkline-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +4 -0
- package/schematics/generators/sparkline-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +32 -0
- package/schematics/generators/sparkline-line/schema.d.ts +3 -0
- package/schematics/generators/sparkline-line/schema.js +1 -0
- package/schematics/generators/sparkline-line/schema.json +125 -0
- package/schematics/generators/sparkline-line/schema.ts +3 -0
- package/schematics/generators/sparkline-range-band/index.d.ts +3 -0
- package/schematics/generators/sparkline-range-band/index.js +5 -0
- package/schematics/generators/sparkline-range-band/index.ts +8 -0
- package/schematics/generators/sparkline-range-band/sample-details.d.ts +5 -0
- package/schematics/generators/sparkline-range-band/sample-details.js +5 -0
- package/schematics/generators/sparkline-range-band/sample-details.ts +5 -0
- package/schematics/generators/sparkline-range-band/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/sparkline-range-band/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +4 -0
- package/schematics/generators/sparkline-range-band/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +29 -0
- package/schematics/generators/sparkline-range-band/schema.d.ts +3 -0
- package/schematics/generators/sparkline-range-band/schema.js +1 -0
- package/schematics/generators/sparkline-range-band/schema.json +125 -0
- package/schematics/generators/sparkline-range-band/schema.ts +3 -0
- package/schematics/generators/sparkline-track-line/index.d.ts +3 -0
- package/schematics/generators/sparkline-track-line/index.js +5 -0
- package/schematics/generators/sparkline-track-line/index.ts +8 -0
- package/schematics/generators/sparkline-track-line/sample-details.d.ts +5 -0
- package/schematics/generators/sparkline-track-line/sample-details.js +5 -0
- package/schematics/generators/sparkline-track-line/sample-details.ts +5 -0
- package/schematics/generators/sparkline-track-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/sparkline-track-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +4 -0
- package/schematics/generators/sparkline-track-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +32 -0
- package/schematics/generators/sparkline-track-line/schema.d.ts +3 -0
- package/schematics/generators/sparkline-track-line/schema.js +1 -0
- package/schematics/generators/sparkline-track-line/schema.json +125 -0
- package/schematics/generators/sparkline-track-line/schema.ts +3 -0
- package/schematics/generators/sparkline-win-loss/index.d.ts +3 -0
- package/schematics/generators/sparkline-win-loss/index.js +5 -0
- package/schematics/generators/sparkline-win-loss/index.ts +8 -0
- package/schematics/generators/sparkline-win-loss/sample-details.d.ts +5 -0
- package/schematics/generators/sparkline-win-loss/sample-details.js +5 -0
- package/schematics/generators/sparkline-win-loss/sample-details.ts +5 -0
- package/schematics/generators/sparkline-win-loss/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
- package/schematics/generators/sparkline-win-loss/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +4 -0
- package/schematics/generators/sparkline-win-loss/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +31 -0
- package/schematics/generators/sparkline-win-loss/schema.d.ts +3 -0
- package/schematics/generators/sparkline-win-loss/schema.js +1 -0
- package/schematics/generators/sparkline-win-loss/schema.json +125 -0
- package/schematics/generators/sparkline-win-loss/schema.ts +3 -0
- package/schematics/ng-add/index.js +5 -8
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.js +1 -2
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +33 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +4 -6
- package/schematics/utils/lib-details.ts +4 -4
- package/types/syncfusion-ej2-angular-charts.d.ts +5272 -0
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/accumulation-chart/accumulationchart-all.module.mjs +0 -53
- package/esm2020/src/accumulation-chart/accumulationchart.component.mjs +0 -152
- package/esm2020/src/accumulation-chart/accumulationchart.module.mjs +0 -43
- package/esm2020/src/accumulation-chart/annotations.directive.mjs +0 -62
- package/esm2020/src/accumulation-chart/series.directive.mjs +0 -62
- package/esm2020/src/bullet-chart/bulletchart-all.module.mjs +0 -32
- package/esm2020/src/bullet-chart/bulletchart.component.mjs +0 -85
- package/esm2020/src/bullet-chart/bulletchart.module.mjs +0 -34
- package/esm2020/src/bullet-chart/ranges.directive.mjs +0 -54
- package/esm2020/src/chart/annotations.directive.mjs +0 -60
- package/esm2020/src/chart/axes.directive.mjs +0 -58
- package/esm2020/src/chart/categories.directive.mjs +0 -59
- package/esm2020/src/chart/chart-all.module.mjs +0 -209
- package/esm2020/src/chart/chart.component.mjs +0 -538
- package/esm2020/src/chart/chart.module.mjs +0 -142
- package/esm2020/src/chart/columns.directive.mjs +0 -52
- package/esm2020/src/chart/indicators.directive.mjs +0 -54
- package/esm2020/src/chart/multilevellabels.directive.mjs +0 -60
- package/esm2020/src/chart/rangecolorsettings.directive.mjs +0 -52
- package/esm2020/src/chart/rows.directive.mjs +0 -52
- package/esm2020/src/chart/segments.directive.mjs +0 -58
- package/esm2020/src/chart/selecteddataindexes.directive.mjs +0 -52
- package/esm2020/src/chart/series.directive.mjs +0 -68
- package/esm2020/src/chart/striplines.directive.mjs +0 -56
- package/esm2020/src/chart/trendlines.directive.mjs +0 -58
- package/esm2020/src/chart3d/axes.directive.mjs +0 -52
- package/esm2020/src/chart3d/chart3d-all.module.mjs +0 -68
- package/esm2020/src/chart3d/chart3d.component.mjs +0 -189
- package/esm2020/src/chart3d/chart3d.module.mjs +0 -70
- package/esm2020/src/chart3d/columns.directive.mjs +0 -52
- package/esm2020/src/chart3d/rows.directive.mjs +0 -52
- package/esm2020/src/chart3d/selecteddataindexes.directive.mjs +0 -52
- package/esm2020/src/chart3d/series.directive.mjs +0 -62
- package/esm2020/src/circularchart3d/circularchart3d-all.module.mjs +0 -47
- package/esm2020/src/circularchart3d/circularchart3d.component.mjs +0 -125
- package/esm2020/src/circularchart3d/circularchart3d.module.mjs +0 -43
- package/esm2020/src/circularchart3d/selecteddataindexes.directive.mjs +0 -52
- package/esm2020/src/circularchart3d/series.directive.mjs +0 -62
- package/esm2020/src/index.mjs +0 -69
- package/esm2020/src/range-navigator/rangenavigator-all.module.mjs +0 -32
- package/esm2020/src/range-navigator/rangenavigator.component.mjs +0 -127
- package/esm2020/src/range-navigator/rangenavigator.module.mjs +0 -34
- package/esm2020/src/range-navigator/series.directive.mjs +0 -54
- package/esm2020/src/sankey/links.directive.mjs +0 -54
- package/esm2020/src/sankey/nodes.directive.mjs +0 -54
- package/esm2020/src/sankey/sankey-all.module.mjs +0 -38
- package/esm2020/src/sankey/sankey.component.mjs +0 -110
- package/esm2020/src/sankey/sankey.module.mjs +0 -43
- package/esm2020/src/smithchart/series.directive.mjs +0 -46
- package/esm2020/src/smithchart/smithchart-all.module.mjs +0 -32
- package/esm2020/src/smithchart/smithchart.component.mjs +0 -78
- package/esm2020/src/smithchart/smithchart.module.mjs +0 -34
- package/esm2020/src/sparkline/rangebandsettings.directive.mjs +0 -46
- package/esm2020/src/sparkline/sparkline-all.module.mjs +0 -29
- package/esm2020/src/sparkline/sparkline.component.mjs +0 -71
- package/esm2020/src/sparkline/sparkline.module.mjs +0 -34
- package/esm2020/src/stock-chart/annotations.directive.mjs +0 -60
- package/esm2020/src/stock-chart/axes.directive.mjs +0 -52
- package/esm2020/src/stock-chart/indicators.directive.mjs +0 -54
- package/esm2020/src/stock-chart/periods.directive.mjs +0 -54
- package/esm2020/src/stock-chart/rows.directive.mjs +0 -52
- package/esm2020/src/stock-chart/selecteddataindexes.directive.mjs +0 -52
- package/esm2020/src/stock-chart/series.directive.mjs +0 -58
- package/esm2020/src/stock-chart/stockchart-all.module.mjs +0 -29
- package/esm2020/src/stock-chart/stockchart.component.mjs +0 -350
- package/esm2020/src/stock-chart/stockchart.module.mjs +0 -106
- package/esm2020/src/stock-chart/stockevents.directive.mjs +0 -54
- package/esm2020/src/stock-chart/trendlines.directive.mjs +0 -59
- package/esm2020/syncfusion-ej2-angular-charts.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-charts.mjs +0 -4684
- package/fesm2015/syncfusion-ej2-angular-charts.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-charts.mjs.map +0 -1
- package/public_api.d.ts +0 -1
- package/src/accumulation-chart/accumulationchart-all.module.d.ts +0 -21
- package/src/accumulation-chart/accumulationchart.component.d.ts +0 -62
- package/src/accumulation-chart/accumulationchart.module.d.ts +0 -13
- package/src/accumulation-chart/annotations.directive.d.ts +0 -85
- package/src/accumulation-chart/series.directive.d.ts +0 -262
- package/src/bullet-chart/bulletchart-all.module.d.ts +0 -14
- package/src/bullet-chart/bulletchart.component.d.ts +0 -41
- package/src/bullet-chart/bulletchart.module.d.ts +0 -12
- package/src/bullet-chart/ranges.directive.d.ts +0 -73
- package/src/chart/annotations.directive.d.ts +0 -101
- package/src/chart/axes.directive.d.ts +0 -412
- package/src/chart/categories.directive.d.ts +0 -74
- package/src/chart/chart-all.module.d.ts +0 -73
- package/src/chart/chart.component.d.ts +0 -91
- package/src/chart/chart.module.d.ts +0 -24
- package/src/chart/columns.directive.d.ts +0 -35
- package/src/chart/indicators.directive.d.ts +0 -265
- package/src/chart/multilevellabels.directive.d.ts +0 -62
- package/src/chart/rangecolorsettings.directive.d.ts +0 -41
- package/src/chart/rows.directive.d.ts +0 -35
- package/src/chart/segments.directive.d.ts +0 -46
- package/src/chart/selecteddataindexes.directive.d.ts +0 -37
- package/src/chart/series.directive.d.ts +0 -505
- package/src/chart/striplines.directive.d.ts +0 -171
- package/src/chart/trendlines.directive.d.ts +0 -127
- package/src/chart3d/axes.directive.d.ts +0 -271
- package/src/chart3d/chart3d-all.module.d.ts +0 -26
- package/src/chart3d/chart3d.component.d.ts +0 -65
- package/src/chart3d/chart3d.module.d.ts +0 -16
- package/src/chart3d/columns.directive.d.ts +0 -31
- package/src/chart3d/rows.directive.d.ts +0 -31
- package/src/chart3d/selecteddataindexes.directive.d.ts +0 -37
- package/src/chart3d/series.directive.d.ts +0 -177
- package/src/circularchart3d/circularchart3d-all.module.d.ts +0 -19
- package/src/circularchart3d/circularchart3d.component.d.ts +0 -58
- package/src/circularchart3d/circularchart3d.module.d.ts +0 -13
- package/src/circularchart3d/selecteddataindexes.directive.d.ts +0 -37
- package/src/circularchart3d/series.directive.d.ts +0 -147
- package/src/index.d.ts +0 -68
- package/src/range-navigator/rangenavigator-all.module.d.ts +0 -14
- package/src/range-navigator/rangenavigator.component.d.ts +0 -44
- package/src/range-navigator/rangenavigator.module.d.ts +0 -12
- package/src/range-navigator/series.directive.d.ts +0 -83
- package/src/sankey/links.directive.d.ts +0 -46
- package/src/sankey/nodes.directive.d.ts +0 -49
- package/src/sankey/sankey-all.module.d.ts +0 -16
- package/src/sankey/sankey.component.d.ts +0 -56
- package/src/sankey/sankey.module.d.ts +0 -13
- package/src/smithchart/series.directive.d.ts +0 -93
- package/src/smithchart/smithchart-all.module.d.ts +0 -14
- package/src/smithchart/smithchart.component.d.ts +0 -44
- package/src/smithchart/smithchart.module.d.ts +0 -12
- package/src/sparkline/rangebandsettings.directive.d.ts +0 -38
- package/src/sparkline/sparkline-all.module.d.ts +0 -13
- package/src/sparkline/sparkline.component.d.ts +0 -46
- package/src/sparkline/sparkline.module.d.ts +0 -12
- package/src/stock-chart/annotations.directive.d.ts +0 -89
- package/src/stock-chart/axes.directive.d.ts +0 -291
- package/src/stock-chart/indicators.directive.d.ts +0 -226
- package/src/stock-chart/periods.directive.d.ts +0 -47
- package/src/stock-chart/rows.directive.d.ts +0 -35
- package/src/stock-chart/selecteddataindexes.directive.d.ts +0 -37
- package/src/stock-chart/series.directive.d.ts +0 -264
- package/src/stock-chart/stockchart-all.module.d.ts +0 -13
- package/src/stock-chart/stockchart.component.d.ts +0 -72
- package/src/stock-chart/stockchart.module.d.ts +0 -20
- package/src/stock-chart/stockevents.directive.d.ts +0 -88
- package/src/stock-chart/trendlines.directive.d.ts +0 -128
- package/syncfusion-ej2-angular-charts.d.ts +0 -5
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
+
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
+
import { Schema } from './schema';
|
|
4
|
+
import * as sampleDetails from './sample-details';
|
|
5
|
+
|
|
6
|
+
export default function (options: Schema): Rule {
|
|
7
|
+
return componentBuilder(options, sampleDetails);
|
|
8
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<div class="control-section">
|
|
2
|
+
<ejs-smithchart style='display:block' align='center' id='smithchartcontainer' #smithchart [legendSettings] = 'legend' (load)='load($event)'>
|
|
3
|
+
<e-seriesCollection>
|
|
4
|
+
<e-series [points]='data' name='Transmission'[marker]='marker' [enableAnimation] = true [tooltip] = 'tooltip'> </e-series>
|
|
5
|
+
</e-seriesCollection>
|
|
6
|
+
</ejs-smithchart>
|
|
7
|
+
</div>
|
|
8
|
+
<div>
|
|
9
|
+
<table>
|
|
10
|
+
<tr id="button-control" style="height: 50px" align="center">
|
|
11
|
+
<td>
|
|
12
|
+
<div style="margin-left: 40%;">
|
|
13
|
+
<button ejs-button id="togglebtn1" iconCss='e-icons e-play-icon' cssClass= 'e-flat' isPrimary=true (click)='onClick1($event)' style="width: 100px">Export</button>
|
|
14
|
+
</div>
|
|
15
|
+
</td>
|
|
16
|
+
</tr>
|
|
17
|
+
<tr id="button-control" style="height: 50px">
|
|
18
|
+
<td align="center">
|
|
19
|
+
<div style="margin-left: 40%;">
|
|
20
|
+
<button ejs-button id="togglebtn2" iconCss='e-icons e-play-icon' cssClass= 'e-flat' isPrimary=true (click)='onClick2($event)' style="width: 100px">Print</button>
|
|
21
|
+
</div>
|
|
22
|
+
</td>
|
|
23
|
+
</tr>
|
|
24
|
+
</table>
|
|
25
|
+
</div>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
|
|
3
|
+
import { SmithchartTheme, ISmithchartLoadEventArgs, Smithchart, ExportType} from '@syncfusion/ej2-angular-charts';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: '<%=dasherize(selector)%>',
|
|
7
|
+
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
8
|
+
styleUrls: ['<%=dasherize(name)%>.component.css'],
|
|
9
|
+
encapsulation: ViewEncapsulation.None
|
|
10
|
+
})
|
|
11
|
+
export class <%= classify(name) %>Component {
|
|
12
|
+
@ViewChild('smithchart')
|
|
13
|
+
public smithchart: Smithchart;
|
|
14
|
+
public data: Object[] = [
|
|
15
|
+
{ resistance: 0.15, reactance: 0 },
|
|
16
|
+
{ resistance: 0.15, reactance: 0.15 },
|
|
17
|
+
{ resistance: 0.18, reactance: 0.3 },
|
|
18
|
+
{ resistance: 0.2, reactance: 0.4 },
|
|
19
|
+
{ resistance: 0.25, reactance: 0.6 },
|
|
20
|
+
{ resistance: 0.38, reactance: 0.95 },
|
|
21
|
+
{ resistance: 0.6, reactance: 1.25 },
|
|
22
|
+
{ resistance: 1, reactance: 1.6 },
|
|
23
|
+
{ resistance: 1.65, reactance: 1.9 },
|
|
24
|
+
{ resistance: 2.75, reactance: 2 },
|
|
25
|
+
{ resistance: 4.5, reactance: 0 },
|
|
26
|
+
{ resistance: 3, reactance: -2 },
|
|
27
|
+
{ resistance: 1.65, reactance: -1.95 },
|
|
28
|
+
{ resistance: 1, reactance: -1.65 },
|
|
29
|
+
{ resistance: 0.6, reactance: -1.25 },
|
|
30
|
+
{ resistance: 0.35, reactance: -0.9 },
|
|
31
|
+
{ resistance: 0.25, reactance: -0.6 },
|
|
32
|
+
{ resistance: 0.25, reactance: -0.4 },
|
|
33
|
+
{ resistance: 0.25, reactance: -0.3 },
|
|
34
|
+
{ resistance: 0.25, reactance: -0.15 },
|
|
35
|
+
{ resistance: 0.25, reactance: 0 }
|
|
36
|
+
];
|
|
37
|
+
public marker: Object = {
|
|
38
|
+
shape: 'Circle',
|
|
39
|
+
visible: true,
|
|
40
|
+
border: {
|
|
41
|
+
width: 2,
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
public legend: Object = {
|
|
46
|
+
visible: true,
|
|
47
|
+
shape: 'Circle'
|
|
48
|
+
};
|
|
49
|
+
public tooltip: Object = {
|
|
50
|
+
visible: true
|
|
51
|
+
};
|
|
52
|
+
public load = (args: ISmithchartLoadEventArgs) => {
|
|
53
|
+
let theme: string = location.hash.split('/')[1];
|
|
54
|
+
theme = theme ? theme : 'Material';
|
|
55
|
+
args.smithchart.theme = <SmithchartTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public onClick1(e: Event): void {
|
|
59
|
+
this.smithchart.export('PDF', 'Smithchart');
|
|
60
|
+
}
|
|
61
|
+
public onClick2(e: Event): void {
|
|
62
|
+
this.smithchart.print();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor() {
|
|
66
|
+
//code
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "smithchart-print",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "smithchart-print"
|
|
125
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
+
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
+
import { Schema } from './schema';
|
|
4
|
+
import * as sampleDetails from './sample-details';
|
|
5
|
+
|
|
6
|
+
export default function (options: Schema): Rule {
|
|
7
|
+
return componentBuilder(options, sampleDetails);
|
|
8
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export const componentName: string = 'smithchart';
|
|
2
|
+
export const sampleName: string = 'radius';
|
|
3
|
+
export const diModules: string | null = 'SmithchartLegend,TooltipRender';
|
|
4
|
+
export const packageName: string = '@syncfusion/ej2-angular-charts';
|
|
5
|
+
export const libModules: string = 'SmithchartModule';
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<div class="control-section">
|
|
2
|
+
<ejs-smithchart style='display:block' align='center' id='smithchartcontainer' #smithchart [radius] = 'radius' (load)='load($event)' [renderType] = 'renderType'>
|
|
3
|
+
<e-seriesCollection>
|
|
4
|
+
<e-series [points]='data' name='Transmission1' [enableAnimation] = true > </e-series>
|
|
5
|
+
<e-series [points]='data1' name='Transmission2'[enableAnimation] = true > </e-series>
|
|
6
|
+
</e-seriesCollection>
|
|
7
|
+
</ejs-smithchart>
|
|
8
|
+
</div>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
|
|
3
|
+
import { SmithchartTheme, ISmithchartLoadEventArgs, Smithchart, RenderType} from '@syncfusion/ej2-angular-charts';
|
|
4
|
+
@Component({
|
|
5
|
+
selector: '<%=dasherize(selector)%>',
|
|
6
|
+
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
7
|
+
styleUrls: ['<%=dasherize(name)%>.component.css'],
|
|
8
|
+
encapsulation: ViewEncapsulation.None
|
|
9
|
+
})
|
|
10
|
+
export class <%= classify(name) %>Component {
|
|
11
|
+
@ViewChild('smithchart')
|
|
12
|
+
public smithchart: Smithchart;
|
|
13
|
+
public data: Object[] = [
|
|
14
|
+
{ resistance: 10, reactance: 25 }, { resistance: 8, reactance: 6 },
|
|
15
|
+
{ resistance: 6, reactance: 4.5 }, { resistance: 4.5, reactance: 2 },
|
|
16
|
+
{ resistance: 3.5, reactance: 1.6 }, { resistance: 2.5, reactance: 1.3 },
|
|
17
|
+
{ resistance: 2, reactance: 1.2 }, { resistance: 1.5, reactance: 1 },
|
|
18
|
+
{ resistance: 1, reactance: 0.8 }, { resistance: 0.5, reactance: 0.4 },
|
|
19
|
+
{ resistance: 0.3, reactance: 0.2 }, { resistance: 0, reactance: 0.15 }
|
|
20
|
+
];
|
|
21
|
+
public data1: Object[] = [
|
|
22
|
+
{ resistance: 20, reactance: -50 }, { resistance: 10, reactance: -10 },
|
|
23
|
+
{ resistance: 9, reactance: -4.5 }, { resistance: 8, reactance: -3.5 },
|
|
24
|
+
{ resistance: 7, reactance: -2.5 }, { resistance: 6, reactance: -1.5 },
|
|
25
|
+
{ resistance: 5, reactance: -1 }, { resistance: 4.5, reactance: -0.5 },
|
|
26
|
+
{ resistance: 3.5, reactance: 0 }, { resistance: 2.5, reactance: 0.4 },
|
|
27
|
+
{ resistance: 2, reactance: 0.5 }, { resistance: 1.5, reactance: 0.5 },
|
|
28
|
+
{ resistance: 1, reactance: 0.4 }, { resistance: 0.5, reactance: 0.2 },
|
|
29
|
+
{ resistance: 0.3, reactance: 0.1 }, { resistance: 0, reactance: 0.05 }
|
|
30
|
+
];
|
|
31
|
+
public radius: number = 6;
|
|
32
|
+
public renderType: string = 'Impedance';
|
|
33
|
+
public load = (args: ISmithchartLoadEventArgs) => {
|
|
34
|
+
let theme: string = location.hash.split('/')[1];
|
|
35
|
+
theme = theme ? theme : 'Material';
|
|
36
|
+
args.smithchart.theme = <SmithchartTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
|
|
37
|
+
}
|
|
38
|
+
constructor() {
|
|
39
|
+
//code
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "smithchart-radius",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "smithchart-radius"
|
|
125
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
+
import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
|
|
3
|
+
import { Schema } from './schema';
|
|
4
|
+
import * as sampleDetails from './sample-details';
|
|
5
|
+
|
|
6
|
+
export default function (options: Schema): Rule {
|
|
7
|
+
return componentBuilder(options, sampleDetails);
|
|
8
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export const componentName: string = 'smithchart';
|
|
2
|
+
export const sampleName: string = 'series';
|
|
3
|
+
export const diModules: string | null = 'SmithchartLegend,TooltipRender';
|
|
4
|
+
export const packageName: string = '@syncfusion/ej2-angular-charts';
|
|
5
|
+
export const libModules: string = 'SmithchartModule';
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<div class="control-section">
|
|
2
|
+
<ejs-smithchart style='display:block' align='center' id='smithchartcontainer' #smithchart (load)='load($event)' [renderType] = 'renderType'>
|
|
3
|
+
<e-seriesCollection>
|
|
4
|
+
<e-series [points]='data' name='Transmission1' [enableAnimation] = true > </e-series>
|
|
5
|
+
</e-seriesCollection>
|
|
6
|
+
</ejs-smithchart>
|
|
7
|
+
</div>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
|
|
3
|
+
import { SmithchartTheme, ISmithchartLoadEventArgs, Smithchart, RenderType} from '@syncfusion/ej2-angular-charts';
|
|
4
|
+
@Component({
|
|
5
|
+
selector: '<%=dasherize(selector)%>',
|
|
6
|
+
templateUrl: '<%=dasherize(name)%>.component.html',
|
|
7
|
+
styleUrls: ['<%=dasherize(name)%>.component.css'],
|
|
8
|
+
encapsulation: ViewEncapsulation.None
|
|
9
|
+
})
|
|
10
|
+
export class <%= classify(name) %>Component {
|
|
11
|
+
@ViewChild('smithchart')
|
|
12
|
+
public smithchart: Smithchart;
|
|
13
|
+
public data: Object[] = [
|
|
14
|
+
{ resistance: 10, reactance: 25 }, { resistance: 8, reactance: 6 },
|
|
15
|
+
{ resistance: 6, reactance: 4.5 }, { resistance: 4.5, reactance: 2 },
|
|
16
|
+
{ resistance: 3.5, reactance: 1.6 }, { resistance: 2.5, reactance: 1.3 },
|
|
17
|
+
{ resistance: 2, reactance: 1.2 }, { resistance: 1.5, reactance: 1 },
|
|
18
|
+
{ resistance: 1, reactance: 0.8 }, { resistance: 0.5, reactance: 0.4 },
|
|
19
|
+
{ resistance: 0.3, reactance: 0.2 }, { resistance: 0, reactance: 0.15 }
|
|
20
|
+
];
|
|
21
|
+
public renderType: string = 'Impedance';
|
|
22
|
+
public load = (args: ISmithchartLoadEventArgs) => {
|
|
23
|
+
let theme: string = location.hash.split('/')[1];
|
|
24
|
+
theme = theme ? theme : 'Material';
|
|
25
|
+
args.smithchart.theme = <SmithchartTheme>(theme.charAt(0).toUpperCase() + theme.slice(1));
|
|
26
|
+
}
|
|
27
|
+
constructor() {
|
|
28
|
+
//code
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|