@carbon/charts-angular 0.41.58 → 0.41.62

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.
@@ -1,6 +1,6 @@
1
1
  import { Component, ElementRef, Input, ViewChild, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import { AreaChart, StackedAreaChart, SimpleBarChart, GroupedBarChart, StackedBarChart, BoxplotChart, BubbleChart, DonutChart, GaugeChart, LineChart, LollipopChart, PieChart, ScatterChart, MeterChart, RadarChart, ComboChart, TreemapChart, WordCloudChart } from '@carbon/charts';
3
+ import { AreaChart, StackedAreaChart, SimpleBarChart, GroupedBarChart, StackedBarChart, BoxplotChart, BubbleChart, BulletChart, DonutChart, GaugeChart, LineChart, LollipopChart, PieChart, ScatterChart, MeterChart, RadarChart, ComboChart, TreemapChart, WordCloudChart } from '@carbon/charts';
4
4
 
5
5
  /**
6
6
  * @fileoverview added by tsickle
@@ -351,6 +351,36 @@ BubbleChartComponent.decorators = [
351
351
  }] }
352
352
  ];
353
353
 
354
+ /**
355
+ * @fileoverview added by tsickle
356
+ * Generated from: bullet-chart.component.ts
357
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
358
+ */
359
+ /**
360
+ * Wrapper around `BulletChart` in carbon charts library
361
+ *
362
+ * Most functions just call their equivalent from the chart library.
363
+ */
364
+ class BulletChartComponent extends BaseChart {
365
+ /**
366
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
367
+ * @return {?}
368
+ */
369
+ ngAfterViewInit() {
370
+ this.chart = new BulletChart(this.elementRef.nativeElement, {
371
+ data: this.data,
372
+ options: this.options
373
+ });
374
+ Object.assign(this, this.chart);
375
+ }
376
+ }
377
+ BulletChartComponent.decorators = [
378
+ { type: Component, args: [{
379
+ selector: "ibm-bullet-chart",
380
+ template: ``
381
+ }] }
382
+ ];
383
+
354
384
  /**
355
385
  * @fileoverview added by tsickle
356
386
  * Generated from: donut-chart.component.ts
@@ -700,6 +730,7 @@ ChartsModule.decorators = [
700
730
  StackedBarChartComponent,
701
731
  BoxplotChartComponent,
702
732
  BubbleChartComponent,
733
+ BulletChartComponent,
703
734
  DonutChartComponent,
704
735
  GaugeChartComponent,
705
736
  LineChartComponent,
@@ -710,7 +741,7 @@ ChartsModule.decorators = [
710
741
  RadarChartComponent,
711
742
  ComboChartComponent,
712
743
  TreemapChartComponent,
713
- WordCloudChartComponent
744
+ WordCloudChartComponent,
714
745
  ],
715
746
  exports: [
716
747
  BaseChart,
@@ -721,6 +752,7 @@ ChartsModule.decorators = [
721
752
  StackedBarChartComponent,
722
753
  BoxplotChartComponent,
723
754
  BubbleChartComponent,
755
+ BulletChartComponent,
724
756
  DonutChartComponent,
725
757
  GaugeChartComponent,
726
758
  LineChartComponent,
@@ -731,7 +763,7 @@ ChartsModule.decorators = [
731
763
  RadarChartComponent,
732
764
  ComboChartComponent,
733
765
  TreemapChartComponent,
734
- WordCloudChartComponent
766
+ WordCloudChartComponent,
735
767
  ],
736
768
  },] }
737
769
  ];
@@ -748,5 +780,5 @@ ChartsModule.decorators = [
748
780
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
749
781
  */
750
782
 
751
- export { BaseChart, BoxplotChartComponent, BubbleChartComponent, ChartsModule, ComboChartComponent, DonutChartComponent, GaugeChartComponent, GroupedBarChartComponent, LineChartComponent, LollipopChartComponent, MeterChartComponent, PieChartComponent, RadarChartComponent, ScatterChartComponent, SimpleBarChartComponent, StackedAreaChartComponent, StackedBarChartComponent, TreemapChartComponent, WordCloudChartComponent, AreaChartComponent as ɵa };
783
+ export { BaseChart, BoxplotChartComponent, BubbleChartComponent, BulletChartComponent, ChartsModule, ComboChartComponent, DonutChartComponent, GaugeChartComponent, GroupedBarChartComponent, LineChartComponent, LollipopChartComponent, MeterChartComponent, PieChartComponent, RadarChartComponent, ScatterChartComponent, SimpleBarChartComponent, StackedAreaChartComponent, StackedBarChartComponent, TreemapChartComponent, WordCloudChartComponent, AreaChartComponent as ɵa };
752
784
  //# sourceMappingURL=carbon-charts-angular.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"carbon-charts-angular.js","sources":["ng://@carbon/charts-angular/base-chart.component.ts","ng://@carbon/charts-angular/area-chart.component.ts","ng://@carbon/charts-angular/area-chart-stacked.component.ts","ng://@carbon/charts-angular/bar-chart-simple.component.ts","ng://@carbon/charts-angular/bar-chart-grouped.component.ts","ng://@carbon/charts-angular/bar-chart-stacked.component.ts","ng://@carbon/charts-angular/boxplot-chart.component.ts","ng://@carbon/charts-angular/bubble-chart.component.ts","ng://@carbon/charts-angular/donut-chart.component.ts","ng://@carbon/charts-angular/gauge-chart.component.ts","ng://@carbon/charts-angular/line-chart.component.ts","ng://@carbon/charts-angular/lollipop-chart.component.ts","ng://@carbon/charts-angular/pie-chart.component.ts","ng://@carbon/charts-angular/scatter-chart.component.ts","ng://@carbon/charts-angular/meter-chart.component.ts","ng://@carbon/charts-angular/radar-chart.component.ts","ng://@carbon/charts-angular/combo-chart.component.ts","ng://@carbon/charts-angular/treemap-chart.component.ts","ng://@carbon/charts-angular/wordcloud-chart.component.ts","ng://@carbon/charts-angular/charts.module.ts"],"sourcesContent":["import {\n\tComponent,\n\tInput,\n\tViewChild,\n\tOnInit,\n\tAfterViewInit,\n\tElementRef\n} from \"@angular/core\";\n\n/**\n * Wrapper around `BaseChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-base-chart\",\n\ttemplate: ``\n})\nexport class BaseChart implements AfterViewInit, OnInit {\n\tconstructor(protected elementRef: ElementRef) {}\n\n\t/**\n\t * Data passed to charts library for displaying\n\t */\n\t@Input() set data(newData) {\n\t\t// If data already exists, that means the chart has been initialized\n\t\tconst dataExistsAlready = this._data !== null && this._data !== undefined;\n\n\t\tthis._data = newData;\n\n\t\tif (dataExistsAlready) {\n\t\t\tthis.chart.model.setData(newData);\n\t\t}\n\t}\n\n\tget data() {\n\t\treturn this._data;\n\t}\n\n\t/**\n\t * Options passed to charts library\n\t */\n\t@Input() set options(newOptions) {\n\t\t// If data already exists, that means the chart has been initialized\n\t\tconst optionsExistAlready = this._options !== null && this._options !== undefined;\n\n\t\tthis._options = newOptions;\n\n\t\tif (optionsExistAlready) {\n\t\t\tthis.chart.model.setOptions(newOptions);\n\t\t}\n\t}\n\n\tget options() {\n\t\treturn this._options;\n\t}\n\n\t/**\n\t * Chart width\n\t */\n\t@Input() width: any;\n\n\t/**\n\t * Chart height\n\t */\n\t@Input() height: any;\n\n\t/**\n\t * Chart container element ref\n\t */\n\t@ViewChild(\"nChart\") chartRef;\n\n\t/**\n\t * Chart object instance\n\t *\n\t * You can use this to do whatever you would normally do with a chart if you used\n\t * charts library directly.\n\t */\n\tchart;\n\n\tprivate _data: any;\n\tprivate _options: any;\n\n\tngOnInit() {\n\t\t// Width prop is mandatory for the wrappers\n\t\tif (this.width) {\n\t\t\tthis.options.width = this.width;\n\t\t}\n\n\t\t// Height prop is mandatory for the wrappers\n\t\tif (this.height) {\n\t\t\tthis.options.height = this.height;\n\t\t}\n\t}\n\n\t/**\n\t * Runs after view init to create a chart, attach it to `chartRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tconsole.log(\"You need to implement your own `ngAfterViewInit()` function\");\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { AreaChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `AreaChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-area-chart\",\n\ttemplate: `\n\t\t<div #nChart class=\"ibm-chart-container\">\n\t\t</div>\n\t`\n})\nexport class AreaChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `chartRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new AreaChart(\n\t\t\tthis.chartRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { StackedAreaChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `StackedAreaChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-stacked-area-chart\",\n\ttemplate: ``\n})\nexport class StackedAreaChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new StackedAreaChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { SimpleBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `SimpleBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-simple-bar-chart\",\n\ttemplate: ``\n})\nexport class SimpleBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new SimpleBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { GroupedBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `GroupedBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-grouped-bar-chart\",\n\ttemplate: ``\n})\nexport class GroupedBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new GroupedBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { StackedBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `StackedBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-stacked-bar-chart\",\n\ttemplate: ``\n})\nexport class StackedBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new StackedBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BoxplotChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BoxplotChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-boxplot-chart\",\n\ttemplate: ``\n})\nexport class BoxplotChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BoxplotChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BubbleChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BubbleChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-bubble-chart\",\n\ttemplate: ``\n})\nexport class BubbleChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BubbleChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { DonutChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `DonutChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-donut-chart\",\n\ttemplate: ``\n})\nexport class DonutChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new DonutChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { GaugeChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `GaugeChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-gauge-chart\",\n\ttemplate: ``\n})\nexport class GaugeChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new GaugeChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { LineChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `LineChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-line-chart\",\n\ttemplate: ``\n})\nexport class LineChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new LineChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { LollipopChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `LollipopChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-lollipop-chart\",\n\ttemplate: ``\n})\nexport class LollipopChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new LollipopChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { PieChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `PieChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-pie-chart\",\n\ttemplate: ``\n})\nexport class PieChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new PieChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { ScatterChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `ScatterChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-scatter-chart\",\n\ttemplate: ``\n})\nexport class ScatterChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new ScatterChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\nimport { MeterChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `MeterChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-meter-chart\",\n\ttemplate: ``\n})\nexport class MeterChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new MeterChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { RadarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `RadarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-radar-chart\",\n\ttemplate: ``\n})\nexport class RadarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new RadarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\nimport { ComboChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `ComboChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-combo-chart\",\n\ttemplate: ``\n})\nexport class ComboChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new ComboChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { TreemapChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `TreemapChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-treemap-chart\",\n\ttemplate: ``\n})\nexport class TreemapChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new TreemapChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { WordCloudChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `WordCloudChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-wordcloud-chart\",\n\ttemplate: ``\n})\nexport class WordCloudChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new WordCloudChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { BaseChart } from './base-chart.component';\nimport { AreaChartComponent } from './area-chart.component';\nimport { StackedAreaChartComponent } from './area-chart-stacked.component';\nimport { SimpleBarChartComponent } from './bar-chart-simple.component';\nimport { GroupedBarChartComponent } from './bar-chart-grouped.component';\nimport { StackedBarChartComponent } from './bar-chart-stacked.component';\nimport { BoxplotChartComponent } from './boxplot-chart.component';\nimport { BubbleChartComponent } from './bubble-chart.component';\nimport { DonutChartComponent } from './donut-chart.component';\nimport { GaugeChartComponent } from './gauge-chart.component';\nimport { LineChartComponent } from './line-chart.component';\nimport { LollipopChartComponent } from './lollipop-chart.component';\nimport { PieChartComponent } from './pie-chart.component';\nimport { ScatterChartComponent } from './scatter-chart.component';\nimport { MeterChartComponent } from './meter-chart.component';\nimport { RadarChartComponent } from './radar-chart.component';\nimport { ComboChartComponent } from './combo-chart.component';\nimport { TreemapChartComponent } from './treemap-chart.component';\nimport { WordCloudChartComponent } from './wordcloud-chart.component';\n\n@NgModule({\n\timports: [CommonModule],\n\tdeclarations: [\n\t\tBaseChart,\n\t\tAreaChartComponent,\n\t\tStackedAreaChartComponent,\n\t\tSimpleBarChartComponent,\n\t\tGroupedBarChartComponent,\n\t\tStackedBarChartComponent,\n\t\tBoxplotChartComponent,\n\t\tBubbleChartComponent,\n\t\tDonutChartComponent,\n\t\tGaugeChartComponent,\n\t\tLineChartComponent,\n\t\tLollipopChartComponent,\n\t\tPieChartComponent,\n\t\tScatterChartComponent,\n\t\tMeterChartComponent,\n\t\tRadarChartComponent,\n\t\tComboChartComponent,\n\t\tTreemapChartComponent,\n\t\tWordCloudChartComponent\n\t],\n\texports: [\n\t\tBaseChart,\n\t\tAreaChartComponent,\n\t\tStackedAreaChartComponent,\n\t\tSimpleBarChartComponent,\n\t\tGroupedBarChartComponent,\n\t\tStackedBarChartComponent,\n\t\tBoxplotChartComponent,\n\t\tBubbleChartComponent,\n\t\tDonutChartComponent,\n\t\tGaugeChartComponent,\n\t\tLineChartComponent,\n\t\tLollipopChartComponent,\n\t\tPieChartComponent,\n\t\tScatterChartComponent,\n\t\tMeterChartComponent,\n\t\tRadarChartComponent,\n\t\tComboChartComponent,\n\t\tTreemapChartComponent,\n\t\tWordCloudChartComponent\n\t],\n})\nexport class ChartsModule {}\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;A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;KAChC;;;YAlBD,SAAS,SAAC;gBACV,QAAQ,EAAE,qBAAqB;gBAC/B,QAAQ,EAAE,EAAE;aACZ;;;;;;;;ACjBD,MAoEa,YAAY;;;YA7CxB,QAAQ,SAAC;gBACT,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,YAAY,EAAE;oBACb,SAAS;oBACT,kBAAkB;oBAClB,yBAAyB;oBACzB,uBAAuB;oBACvB,wBAAwB;oBACxB,wBAAwB;oBACxB,qBAAqB;oBACrB,oBAAoB;oBACpB,mBAAmB;oBACnB,mBAAmB;oBACnB,kBAAkB;oBAClB,sBAAsB;oBACtB,iBAAiB;oBACjB,qBAAqB;oBACrB,mBAAmB;oBACnB,mBAAmB;oBACnB,mBAAmB;oBACnB,qBAAqB;oBACrB,uBAAuB;iBACvB;gBACD,OAAO,EAAE;oBACR,SAAS;oBACT,kBAAkB;oBAClB,yBAAyB;oBACzB,uBAAuB;oBACvB,wBAAwB;oBACxB,wBAAwB;oBACxB,qBAAqB;oBACrB,oBAAoB;oBACpB,mBAAmB;oBACnB,mBAAmB;oBACnB,kBAAkB;oBAClB,sBAAsB;oBACtB,iBAAiB;oBACjB,qBAAqB;oBACrB,mBAAmB;oBACnB,mBAAmB;oBACnB,mBAAmB;oBACnB,qBAAqB;oBACrB,uBAAuB;iBACvB;aACD;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"carbon-charts-angular.js","sources":["ng://@carbon/charts-angular/base-chart.component.ts","ng://@carbon/charts-angular/area-chart.component.ts","ng://@carbon/charts-angular/area-chart-stacked.component.ts","ng://@carbon/charts-angular/bar-chart-simple.component.ts","ng://@carbon/charts-angular/bar-chart-grouped.component.ts","ng://@carbon/charts-angular/bar-chart-stacked.component.ts","ng://@carbon/charts-angular/boxplot-chart.component.ts","ng://@carbon/charts-angular/bubble-chart.component.ts","ng://@carbon/charts-angular/bullet-chart.component.ts","ng://@carbon/charts-angular/donut-chart.component.ts","ng://@carbon/charts-angular/gauge-chart.component.ts","ng://@carbon/charts-angular/line-chart.component.ts","ng://@carbon/charts-angular/lollipop-chart.component.ts","ng://@carbon/charts-angular/pie-chart.component.ts","ng://@carbon/charts-angular/scatter-chart.component.ts","ng://@carbon/charts-angular/meter-chart.component.ts","ng://@carbon/charts-angular/radar-chart.component.ts","ng://@carbon/charts-angular/combo-chart.component.ts","ng://@carbon/charts-angular/treemap-chart.component.ts","ng://@carbon/charts-angular/wordcloud-chart.component.ts","ng://@carbon/charts-angular/charts.module.ts"],"sourcesContent":["import {\n\tComponent,\n\tInput,\n\tViewChild,\n\tOnInit,\n\tAfterViewInit,\n\tElementRef\n} from \"@angular/core\";\n\n/**\n * Wrapper around `BaseChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-base-chart\",\n\ttemplate: ``\n})\nexport class BaseChart implements AfterViewInit, OnInit {\n\tconstructor(protected elementRef: ElementRef) {}\n\n\t/**\n\t * Data passed to charts library for displaying\n\t */\n\t@Input() set data(newData) {\n\t\t// If data already exists, that means the chart has been initialized\n\t\tconst dataExistsAlready = this._data !== null && this._data !== undefined;\n\n\t\tthis._data = newData;\n\n\t\tif (dataExistsAlready) {\n\t\t\tthis.chart.model.setData(newData);\n\t\t}\n\t}\n\n\tget data() {\n\t\treturn this._data;\n\t}\n\n\t/**\n\t * Options passed to charts library\n\t */\n\t@Input() set options(newOptions) {\n\t\t// If data already exists, that means the chart has been initialized\n\t\tconst optionsExistAlready = this._options !== null && this._options !== undefined;\n\n\t\tthis._options = newOptions;\n\n\t\tif (optionsExistAlready) {\n\t\t\tthis.chart.model.setOptions(newOptions);\n\t\t}\n\t}\n\n\tget options() {\n\t\treturn this._options;\n\t}\n\n\t/**\n\t * Chart width\n\t */\n\t@Input() width: any;\n\n\t/**\n\t * Chart height\n\t */\n\t@Input() height: any;\n\n\t/**\n\t * Chart container element ref\n\t */\n\t@ViewChild(\"nChart\") chartRef;\n\n\t/**\n\t * Chart object instance\n\t *\n\t * You can use this to do whatever you would normally do with a chart if you used\n\t * charts library directly.\n\t */\n\tchart;\n\n\tprivate _data: any;\n\tprivate _options: any;\n\n\tngOnInit() {\n\t\t// Width prop is mandatory for the wrappers\n\t\tif (this.width) {\n\t\t\tthis.options.width = this.width;\n\t\t}\n\n\t\t// Height prop is mandatory for the wrappers\n\t\tif (this.height) {\n\t\t\tthis.options.height = this.height;\n\t\t}\n\t}\n\n\t/**\n\t * Runs after view init to create a chart, attach it to `chartRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tconsole.log(\"You need to implement your own `ngAfterViewInit()` function\");\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { AreaChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `AreaChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-area-chart\",\n\ttemplate: `\n\t\t<div #nChart class=\"ibm-chart-container\">\n\t\t</div>\n\t`\n})\nexport class AreaChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `chartRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new AreaChart(\n\t\t\tthis.chartRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { StackedAreaChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `StackedAreaChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-stacked-area-chart\",\n\ttemplate: ``\n})\nexport class StackedAreaChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new StackedAreaChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { SimpleBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `SimpleBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-simple-bar-chart\",\n\ttemplate: ``\n})\nexport class SimpleBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new SimpleBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { GroupedBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `GroupedBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-grouped-bar-chart\",\n\ttemplate: ``\n})\nexport class GroupedBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new GroupedBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { StackedBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `StackedBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-stacked-bar-chart\",\n\ttemplate: ``\n})\nexport class StackedBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new StackedBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BoxplotChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BoxplotChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-boxplot-chart\",\n\ttemplate: ``\n})\nexport class BoxplotChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BoxplotChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BubbleChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BubbleChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-bubble-chart\",\n\ttemplate: ``\n})\nexport class BubbleChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BubbleChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BulletChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BulletChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-bullet-chart\",\n\ttemplate: ``\n})\nexport class BulletChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BulletChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { DonutChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `DonutChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-donut-chart\",\n\ttemplate: ``\n})\nexport class DonutChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new DonutChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { GaugeChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `GaugeChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-gauge-chart\",\n\ttemplate: ``\n})\nexport class GaugeChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new GaugeChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { LineChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `LineChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-line-chart\",\n\ttemplate: ``\n})\nexport class LineChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new LineChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { LollipopChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `LollipopChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-lollipop-chart\",\n\ttemplate: ``\n})\nexport class LollipopChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new LollipopChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { PieChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `PieChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-pie-chart\",\n\ttemplate: ``\n})\nexport class PieChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new PieChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { ScatterChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `ScatterChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-scatter-chart\",\n\ttemplate: ``\n})\nexport class ScatterChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new ScatterChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\nimport { MeterChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `MeterChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-meter-chart\",\n\ttemplate: ``\n})\nexport class MeterChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new MeterChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { RadarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `RadarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-radar-chart\",\n\ttemplate: ``\n})\nexport class RadarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new RadarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\nimport { ComboChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `ComboChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-combo-chart\",\n\ttemplate: ``\n})\nexport class ComboChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new ComboChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { TreemapChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `TreemapChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-treemap-chart\",\n\ttemplate: ``\n})\nexport class TreemapChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new TreemapChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { WordCloudChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `WordCloudChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-wordcloud-chart\",\n\ttemplate: ``\n})\nexport class WordCloudChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new WordCloudChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { BaseChart } from './base-chart.component';\nimport { AreaChartComponent } from './area-chart.component';\nimport { StackedAreaChartComponent } from './area-chart-stacked.component';\nimport { SimpleBarChartComponent } from './bar-chart-simple.component';\nimport { GroupedBarChartComponent } from './bar-chart-grouped.component';\nimport { StackedBarChartComponent } from './bar-chart-stacked.component';\nimport { BoxplotChartComponent } from './boxplot-chart.component';\nimport { BubbleChartComponent } from './bubble-chart.component';\nimport { BulletChartComponent } from './bullet-chart.component';\nimport { DonutChartComponent } from './donut-chart.component';\nimport { GaugeChartComponent } from './gauge-chart.component';\nimport { LineChartComponent } from './line-chart.component';\nimport { LollipopChartComponent } from './lollipop-chart.component';\nimport { PieChartComponent } from './pie-chart.component';\nimport { ScatterChartComponent } from './scatter-chart.component';\nimport { MeterChartComponent } from './meter-chart.component';\nimport { RadarChartComponent } from './radar-chart.component';\nimport { ComboChartComponent } from './combo-chart.component';\nimport { TreemapChartComponent } from './treemap-chart.component';\nimport { WordCloudChartComponent } from './wordcloud-chart.component';\n\n@NgModule({\n\timports: [CommonModule],\n\tdeclarations: [\n\t\tBaseChart,\n\t\tAreaChartComponent,\n\t\tStackedAreaChartComponent,\n\t\tSimpleBarChartComponent,\n\t\tGroupedBarChartComponent,\n\t\tStackedBarChartComponent,\n\t\tBoxplotChartComponent,\n\t\tBubbleChartComponent,\n\t\tBulletChartComponent,\n\t\tDonutChartComponent,\n\t\tGaugeChartComponent,\n\t\tLineChartComponent,\n\t\tLollipopChartComponent,\n\t\tPieChartComponent,\n\t\tScatterChartComponent,\n\t\tMeterChartComponent,\n\t\tRadarChartComponent,\n\t\tComboChartComponent,\n\t\tTreemapChartComponent,\n\t\tWordCloudChartComponent,\n\t],\n\texports: [\n\t\tBaseChart,\n\t\tAreaChartComponent,\n\t\tStackedAreaChartComponent,\n\t\tSimpleBarChartComponent,\n\t\tGroupedBarChartComponent,\n\t\tStackedBarChartComponent,\n\t\tBoxplotChartComponent,\n\t\tBubbleChartComponent,\n\t\tBulletChartComponent,\n\t\tDonutChartComponent,\n\t\tGaugeChartComponent,\n\t\tLineChartComponent,\n\t\tLollipopChartComponent,\n\t\tPieChartComponent,\n\t\tScatterChartComponent,\n\t\tMeterChartComponent,\n\t\tRadarChartComponent,\n\t\tComboChartComponent,\n\t\tTreemapChartComponent,\n\t\tWordCloudChartComponent,\n\t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rB,mBAAmB;oBACnB,mBAAmB;oBACnB,mBAAmB;oBACnB,qBAAqB;oBACrB,uBAAuB;iBACvB;aACD;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { Component, ElementRef, Input, ViewChild, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import { __extends } from 'tslib';
4
- import { AreaChart, StackedAreaChart, SimpleBarChart, GroupedBarChart, StackedBarChart, BoxplotChart, BubbleChart, DonutChart, GaugeChart, LineChart, LollipopChart, PieChart, ScatterChart, MeterChart, RadarChart, ComboChart, TreemapChart, WordCloudChart } from '@carbon/charts';
4
+ import { AreaChart, StackedAreaChart, SimpleBarChart, GroupedBarChart, StackedBarChart, BoxplotChart, BubbleChart, BulletChart, DonutChart, GaugeChart, LineChart, LollipopChart, PieChart, ScatterChart, MeterChart, RadarChart, ComboChart, TreemapChart, WordCloudChart } from '@carbon/charts';
5
5
 
6
6
  /**
7
7
  * @fileoverview added by tsickle
@@ -455,6 +455,48 @@ var BubbleChartComponent = /** @class */ (function (_super) {
455
455
  return BubbleChartComponent;
456
456
  }(BaseChart));
457
457
 
458
+ /**
459
+ * @fileoverview added by tsickle
460
+ * Generated from: bullet-chart.component.ts
461
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
462
+ */
463
+ /**
464
+ * Wrapper around `BulletChart` in carbon charts library
465
+ *
466
+ * Most functions just call their equivalent from the chart library.
467
+ */
468
+ var BulletChartComponent = /** @class */ (function (_super) {
469
+ __extends(BulletChartComponent, _super);
470
+ function BulletChartComponent() {
471
+ return _super !== null && _super.apply(this, arguments) || this;
472
+ }
473
+ /**
474
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
475
+ */
476
+ /**
477
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
478
+ * @return {?}
479
+ */
480
+ BulletChartComponent.prototype.ngAfterViewInit = /**
481
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
482
+ * @return {?}
483
+ */
484
+ function () {
485
+ this.chart = new BulletChart(this.elementRef.nativeElement, {
486
+ data: this.data,
487
+ options: this.options
488
+ });
489
+ Object.assign(this, this.chart);
490
+ };
491
+ BulletChartComponent.decorators = [
492
+ { type: Component, args: [{
493
+ selector: "ibm-bullet-chart",
494
+ template: ""
495
+ }] }
496
+ ];
497
+ return BulletChartComponent;
498
+ }(BaseChart));
499
+
458
500
  /**
459
501
  * @fileoverview added by tsickle
460
502
  * Generated from: donut-chart.component.ts
@@ -937,6 +979,7 @@ var ChartsModule = /** @class */ (function () {
937
979
  StackedBarChartComponent,
938
980
  BoxplotChartComponent,
939
981
  BubbleChartComponent,
982
+ BulletChartComponent,
940
983
  DonutChartComponent,
941
984
  GaugeChartComponent,
942
985
  LineChartComponent,
@@ -947,7 +990,7 @@ var ChartsModule = /** @class */ (function () {
947
990
  RadarChartComponent,
948
991
  ComboChartComponent,
949
992
  TreemapChartComponent,
950
- WordCloudChartComponent
993
+ WordCloudChartComponent,
951
994
  ],
952
995
  exports: [
953
996
  BaseChart,
@@ -958,6 +1001,7 @@ var ChartsModule = /** @class */ (function () {
958
1001
  StackedBarChartComponent,
959
1002
  BoxplotChartComponent,
960
1003
  BubbleChartComponent,
1004
+ BulletChartComponent,
961
1005
  DonutChartComponent,
962
1006
  GaugeChartComponent,
963
1007
  LineChartComponent,
@@ -968,7 +1012,7 @@ var ChartsModule = /** @class */ (function () {
968
1012
  RadarChartComponent,
969
1013
  ComboChartComponent,
970
1014
  TreemapChartComponent,
971
- WordCloudChartComponent
1015
+ WordCloudChartComponent,
972
1016
  ],
973
1017
  },] }
974
1018
  ];
@@ -987,5 +1031,5 @@ var ChartsModule = /** @class */ (function () {
987
1031
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
988
1032
  */
989
1033
 
990
- export { BaseChart, BoxplotChartComponent, BubbleChartComponent, ChartsModule, ComboChartComponent, DonutChartComponent, GaugeChartComponent, GroupedBarChartComponent, LineChartComponent, LollipopChartComponent, MeterChartComponent, PieChartComponent, RadarChartComponent, ScatterChartComponent, SimpleBarChartComponent, StackedAreaChartComponent, StackedBarChartComponent, TreemapChartComponent, WordCloudChartComponent, AreaChartComponent as ɵa };
1034
+ export { BaseChart, BoxplotChartComponent, BubbleChartComponent, BulletChartComponent, ChartsModule, ComboChartComponent, DonutChartComponent, GaugeChartComponent, GroupedBarChartComponent, LineChartComponent, LollipopChartComponent, MeterChartComponent, PieChartComponent, RadarChartComponent, ScatterChartComponent, SimpleBarChartComponent, StackedAreaChartComponent, StackedBarChartComponent, TreemapChartComponent, WordCloudChartComponent, AreaChartComponent as ɵa };
991
1035
  //# sourceMappingURL=carbon-charts-angular.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"carbon-charts-angular.js","sources":["ng://@carbon/charts-angular/base-chart.component.ts","ng://@carbon/charts-angular/area-chart.component.ts","ng://@carbon/charts-angular/area-chart-stacked.component.ts","ng://@carbon/charts-angular/bar-chart-simple.component.ts","ng://@carbon/charts-angular/bar-chart-grouped.component.ts","ng://@carbon/charts-angular/bar-chart-stacked.component.ts","ng://@carbon/charts-angular/boxplot-chart.component.ts","ng://@carbon/charts-angular/bubble-chart.component.ts","ng://@carbon/charts-angular/donut-chart.component.ts","ng://@carbon/charts-angular/gauge-chart.component.ts","ng://@carbon/charts-angular/line-chart.component.ts","ng://@carbon/charts-angular/lollipop-chart.component.ts","ng://@carbon/charts-angular/pie-chart.component.ts","ng://@carbon/charts-angular/scatter-chart.component.ts","ng://@carbon/charts-angular/meter-chart.component.ts","ng://@carbon/charts-angular/radar-chart.component.ts","ng://@carbon/charts-angular/combo-chart.component.ts","ng://@carbon/charts-angular/treemap-chart.component.ts","ng://@carbon/charts-angular/wordcloud-chart.component.ts","ng://@carbon/charts-angular/charts.module.ts"],"sourcesContent":["import {\n\tComponent,\n\tInput,\n\tViewChild,\n\tOnInit,\n\tAfterViewInit,\n\tElementRef\n} from \"@angular/core\";\n\n/**\n * Wrapper around `BaseChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-base-chart\",\n\ttemplate: ``\n})\nexport class BaseChart implements AfterViewInit, OnInit {\n\tconstructor(protected elementRef: ElementRef) {}\n\n\t/**\n\t * Data passed to charts library for displaying\n\t */\n\t@Input() set data(newData) {\n\t\t// If data already exists, that means the chart has been initialized\n\t\tconst dataExistsAlready = this._data !== null && this._data !== undefined;\n\n\t\tthis._data = newData;\n\n\t\tif (dataExistsAlready) {\n\t\t\tthis.chart.model.setData(newData);\n\t\t}\n\t}\n\n\tget data() {\n\t\treturn this._data;\n\t}\n\n\t/**\n\t * Options passed to charts library\n\t */\n\t@Input() set options(newOptions) {\n\t\t// If data already exists, that means the chart has been initialized\n\t\tconst optionsExistAlready = this._options !== null && this._options !== undefined;\n\n\t\tthis._options = newOptions;\n\n\t\tif (optionsExistAlready) {\n\t\t\tthis.chart.model.setOptions(newOptions);\n\t\t}\n\t}\n\n\tget options() {\n\t\treturn this._options;\n\t}\n\n\t/**\n\t * Chart width\n\t */\n\t@Input() width: any;\n\n\t/**\n\t * Chart height\n\t */\n\t@Input() height: any;\n\n\t/**\n\t * Chart container element ref\n\t */\n\t@ViewChild(\"nChart\") chartRef;\n\n\t/**\n\t * Chart object instance\n\t *\n\t * You can use this to do whatever you would normally do with a chart if you used\n\t * charts library directly.\n\t */\n\tchart;\n\n\tprivate _data: any;\n\tprivate _options: any;\n\n\tngOnInit() {\n\t\t// Width prop is mandatory for the wrappers\n\t\tif (this.width) {\n\t\t\tthis.options.width = this.width;\n\t\t}\n\n\t\t// Height prop is mandatory for the wrappers\n\t\tif (this.height) {\n\t\t\tthis.options.height = this.height;\n\t\t}\n\t}\n\n\t/**\n\t * Runs after view init to create a chart, attach it to `chartRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tconsole.log(\"You need to implement your own `ngAfterViewInit()` function\");\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { AreaChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `AreaChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-area-chart\",\n\ttemplate: `\n\t\t<div #nChart class=\"ibm-chart-container\">\n\t\t</div>\n\t`\n})\nexport class AreaChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `chartRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new AreaChart(\n\t\t\tthis.chartRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { StackedAreaChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `StackedAreaChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-stacked-area-chart\",\n\ttemplate: ``\n})\nexport class StackedAreaChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new StackedAreaChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { SimpleBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `SimpleBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-simple-bar-chart\",\n\ttemplate: ``\n})\nexport class SimpleBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new SimpleBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { GroupedBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `GroupedBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-grouped-bar-chart\",\n\ttemplate: ``\n})\nexport class GroupedBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new GroupedBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { StackedBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `StackedBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-stacked-bar-chart\",\n\ttemplate: ``\n})\nexport class StackedBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new StackedBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BoxplotChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BoxplotChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-boxplot-chart\",\n\ttemplate: ``\n})\nexport class BoxplotChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BoxplotChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BubbleChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BubbleChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-bubble-chart\",\n\ttemplate: ``\n})\nexport class BubbleChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BubbleChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { DonutChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `DonutChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-donut-chart\",\n\ttemplate: ``\n})\nexport class DonutChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new DonutChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { GaugeChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `GaugeChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-gauge-chart\",\n\ttemplate: ``\n})\nexport class GaugeChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new GaugeChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { LineChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `LineChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-line-chart\",\n\ttemplate: ``\n})\nexport class LineChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new LineChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { LollipopChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `LollipopChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-lollipop-chart\",\n\ttemplate: ``\n})\nexport class LollipopChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new LollipopChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { PieChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `PieChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-pie-chart\",\n\ttemplate: ``\n})\nexport class PieChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new PieChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { ScatterChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `ScatterChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-scatter-chart\",\n\ttemplate: ``\n})\nexport class ScatterChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new ScatterChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\nimport { MeterChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `MeterChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-meter-chart\",\n\ttemplate: ``\n})\nexport class MeterChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new MeterChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { RadarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `RadarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-radar-chart\",\n\ttemplate: ``\n})\nexport class RadarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new RadarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\nimport { ComboChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `ComboChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-combo-chart\",\n\ttemplate: ``\n})\nexport class ComboChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new ComboChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { TreemapChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `TreemapChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-treemap-chart\",\n\ttemplate: ``\n})\nexport class TreemapChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new TreemapChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { WordCloudChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `WordCloudChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-wordcloud-chart\",\n\ttemplate: ``\n})\nexport class WordCloudChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new WordCloudChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { BaseChart } from './base-chart.component';\nimport { AreaChartComponent } from './area-chart.component';\nimport { StackedAreaChartComponent } from './area-chart-stacked.component';\nimport { SimpleBarChartComponent } from './bar-chart-simple.component';\nimport { GroupedBarChartComponent } from './bar-chart-grouped.component';\nimport { StackedBarChartComponent } from './bar-chart-stacked.component';\nimport { BoxplotChartComponent } from './boxplot-chart.component';\nimport { BubbleChartComponent } from './bubble-chart.component';\nimport { DonutChartComponent } from './donut-chart.component';\nimport { GaugeChartComponent } from './gauge-chart.component';\nimport { LineChartComponent } from './line-chart.component';\nimport { LollipopChartComponent } from './lollipop-chart.component';\nimport { PieChartComponent } from './pie-chart.component';\nimport { ScatterChartComponent } from './scatter-chart.component';\nimport { MeterChartComponent } from './meter-chart.component';\nimport { RadarChartComponent } from './radar-chart.component';\nimport { ComboChartComponent } from './combo-chart.component';\nimport { TreemapChartComponent } from './treemap-chart.component';\nimport { WordCloudChartComponent } from './wordcloud-chart.component';\n\n@NgModule({\n\timports: [CommonModule],\n\tdeclarations: [\n\t\tBaseChart,\n\t\tAreaChartComponent,\n\t\tStackedAreaChartComponent,\n\t\tSimpleBarChartComponent,\n\t\tGroupedBarChartComponent,\n\t\tStackedBarChartComponent,\n\t\tBoxplotChartComponent,\n\t\tBubbleChartComponent,\n\t\tDonutChartComponent,\n\t\tGaugeChartComponent,\n\t\tLineChartComponent,\n\t\tLollipopChartComponent,\n\t\tPieChartComponent,\n\t\tScatterChartComponent,\n\t\tMeterChartComponent,\n\t\tRadarChartComponent,\n\t\tComboChartComponent,\n\t\tTreemapChartComponent,\n\t\tWordCloudChartComponent\n\t],\n\texports: [\n\t\tBaseChart,\n\t\tAreaChartComponent,\n\t\tStackedAreaChartComponent,\n\t\tSimpleBarChartComponent,\n\t\tGroupedBarChartComponent,\n\t\tStackedBarChartComponent,\n\t\tBoxplotChartComponent,\n\t\tBubbleChartComponent,\n\t\tDonutChartComponent,\n\t\tGaugeChartComponent,\n\t\tLineChartComponent,\n\t\tLollipopChartComponent,\n\t\tPieChartComponent,\n\t\tScatterChartComponent,\n\t\tMeterChartComponent,\n\t\tRadarChartComponent,\n\t\tComboChartComponent,\n\t\tTreemapChartComponent,\n\t\tWordCloudChartComponent\n\t],\n})\nexport class ChartsModule {}\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;AAAA;;;;;AAcA;IAKC,mBAAsB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;KAAI;IAKhD,sBAAa,2BAAI;;;;QAWjB;YACC,OAAO,IAAI,CAAC,KAAK,CAAC;SAClB;;;;;;;;;QAbD,UAAkB,OAAO;;;gBAElB,iBAAiB,GAAG,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;YAEzE,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC;YAErB,IAAI,iBAAiB,EAAE;gBACtB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;aAClC;SACD;;;OAAA;IASD,sBAAa,8BAAO;;;;QAWpB;YACC,OAAO,IAAI,CAAC,QAAQ,CAAC;SACrB;;;;;;;;;QAbD,UAAqB,UAAU;;;gBAExB,mBAAmB,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS;YAEjF,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;YAE3B,IAAI,mBAAmB,EAAE;gBACxB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;aACxC;SACD;;;OAAA;;;;IAgCD,4BAAQ;;;IAAR;;QAEC,IAAI,IAAI,CAAC,KAAK,EAAE;YACf,IA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K,CAAC,CAAC;KAChC;;gBAlBD,SAAS,SAAC;oBACV,QAAQ,EAAE,qBAAqB;oBAC/B,QAAQ,EAAE,EAAE;iBACZ;;IAgBD,8BAAC;CAAA,CAf4C,SAAS;;;;;;;AClBtD;IAuBA;KA6C4B;;gBA7C3B,QAAQ,SAAC;oBACT,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE;wBACb,SAAS;wBACT,kBAAkB;wBAClB,yBAAyB;wBACzB,uBAAuB;wBACvB,wBAAwB;wBACxB,wBAAwB;wBACxB,qBAAqB;wBACrB,oBAAoB;wBACpB,mBAAmB;wBACnB,mBAAmB;wBACnB,kBAAkB;wBAClB,sBAAsB;wBACtB,iBAAiB;wBACjB,qBAAqB;wBACrB,mBAAmB;wBACnB,mBAAmB;wBACnB,mBAAmB;wBACnB,qBAAqB;wBACrB,uBAAuB;qBACvB;oBACD,OAAO,EAAE;wBACR,SAAS;wBACT,kBAAkB;wBAClB,yBAAyB;wBACzB,uBAAuB;wBACvB,wBAAwB;wBACxB,wBAAwB;wBACxB,qBAAqB;wBACrB,oBAAoB;wBACpB,mBAAmB;wBACnB,mBAAmB;wBACnB,kBAAkB;wBAClB,sBAAsB;wBACtB,iBAAiB;wBACjB,qBAAqB;wBACrB,mBAAmB;wBACnB,mBAAmB;wBACnB,mBAAmB;wBACnB,qBAAqB;wBACrB,uBAAuB;qBACvB;iBACD;;IAC0B,mBAAC;CA7C5B;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"carbon-charts-angular.js","sources":["ng://@carbon/charts-angular/base-chart.component.ts","ng://@carbon/charts-angular/area-chart.component.ts","ng://@carbon/charts-angular/area-chart-stacked.component.ts","ng://@carbon/charts-angular/bar-chart-simple.component.ts","ng://@carbon/charts-angular/bar-chart-grouped.component.ts","ng://@carbon/charts-angular/bar-chart-stacked.component.ts","ng://@carbon/charts-angular/boxplot-chart.component.ts","ng://@carbon/charts-angular/bubble-chart.component.ts","ng://@carbon/charts-angular/bullet-chart.component.ts","ng://@carbon/charts-angular/donut-chart.component.ts","ng://@carbon/charts-angular/gauge-chart.component.ts","ng://@carbon/charts-angular/line-chart.component.ts","ng://@carbon/charts-angular/lollipop-chart.component.ts","ng://@carbon/charts-angular/pie-chart.component.ts","ng://@carbon/charts-angular/scatter-chart.component.ts","ng://@carbon/charts-angular/meter-chart.component.ts","ng://@carbon/charts-angular/radar-chart.component.ts","ng://@carbon/charts-angular/combo-chart.component.ts","ng://@carbon/charts-angular/treemap-chart.component.ts","ng://@carbon/charts-angular/wordcloud-chart.component.ts","ng://@carbon/charts-angular/charts.module.ts"],"sourcesContent":["import {\n\tComponent,\n\tInput,\n\tViewChild,\n\tOnInit,\n\tAfterViewInit,\n\tElementRef\n} from \"@angular/core\";\n\n/**\n * Wrapper around `BaseChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-base-chart\",\n\ttemplate: ``\n})\nexport class BaseChart implements AfterViewInit, OnInit {\n\tconstructor(protected elementRef: ElementRef) {}\n\n\t/**\n\t * Data passed to charts library for displaying\n\t */\n\t@Input() set data(newData) {\n\t\t// If data already exists, that means the chart has been initialized\n\t\tconst dataExistsAlready = this._data !== null && this._data !== undefined;\n\n\t\tthis._data = newData;\n\n\t\tif (dataExistsAlready) {\n\t\t\tthis.chart.model.setData(newData);\n\t\t}\n\t}\n\n\tget data() {\n\t\treturn this._data;\n\t}\n\n\t/**\n\t * Options passed to charts library\n\t */\n\t@Input() set options(newOptions) {\n\t\t// If data already exists, that means the chart has been initialized\n\t\tconst optionsExistAlready = this._options !== null && this._options !== undefined;\n\n\t\tthis._options = newOptions;\n\n\t\tif (optionsExistAlready) {\n\t\t\tthis.chart.model.setOptions(newOptions);\n\t\t}\n\t}\n\n\tget options() {\n\t\treturn this._options;\n\t}\n\n\t/**\n\t * Chart width\n\t */\n\t@Input() width: any;\n\n\t/**\n\t * Chart height\n\t */\n\t@Input() height: any;\n\n\t/**\n\t * Chart container element ref\n\t */\n\t@ViewChild(\"nChart\") chartRef;\n\n\t/**\n\t * Chart object instance\n\t *\n\t * You can use this to do whatever you would normally do with a chart if you used\n\t * charts library directly.\n\t */\n\tchart;\n\n\tprivate _data: any;\n\tprivate _options: any;\n\n\tngOnInit() {\n\t\t// Width prop is mandatory for the wrappers\n\t\tif (this.width) {\n\t\t\tthis.options.width = this.width;\n\t\t}\n\n\t\t// Height prop is mandatory for the wrappers\n\t\tif (this.height) {\n\t\t\tthis.options.height = this.height;\n\t\t}\n\t}\n\n\t/**\n\t * Runs after view init to create a chart, attach it to `chartRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tconsole.log(\"You need to implement your own `ngAfterViewInit()` function\");\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { AreaChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `AreaChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-area-chart\",\n\ttemplate: `\n\t\t<div #nChart class=\"ibm-chart-container\">\n\t\t</div>\n\t`\n})\nexport class AreaChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `chartRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new AreaChart(\n\t\t\tthis.chartRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { StackedAreaChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `StackedAreaChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-stacked-area-chart\",\n\ttemplate: ``\n})\nexport class StackedAreaChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new StackedAreaChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { SimpleBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `SimpleBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-simple-bar-chart\",\n\ttemplate: ``\n})\nexport class SimpleBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new SimpleBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { GroupedBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `GroupedBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-grouped-bar-chart\",\n\ttemplate: ``\n})\nexport class GroupedBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new GroupedBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { StackedBarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `StackedBarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-stacked-bar-chart\",\n\ttemplate: ``\n})\nexport class StackedBarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new StackedBarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BoxplotChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BoxplotChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-boxplot-chart\",\n\ttemplate: ``\n})\nexport class BoxplotChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BoxplotChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BubbleChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BubbleChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-bubble-chart\",\n\ttemplate: ``\n})\nexport class BubbleChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BubbleChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { BulletChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `BulletChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-bullet-chart\",\n\ttemplate: ``\n})\nexport class BulletChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new BulletChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { DonutChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `DonutChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-donut-chart\",\n\ttemplate: ``\n})\nexport class DonutChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new DonutChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { GaugeChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `GaugeChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-gauge-chart\",\n\ttemplate: ``\n})\nexport class GaugeChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new GaugeChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { LineChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `LineChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-line-chart\",\n\ttemplate: ``\n})\nexport class LineChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new LineChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { LollipopChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `LollipopChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-lollipop-chart\",\n\ttemplate: ``\n})\nexport class LollipopChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new LollipopChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { PieChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `PieChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-pie-chart\",\n\ttemplate: ``\n})\nexport class PieChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new PieChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { ScatterChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `ScatterChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-scatter-chart\",\n\ttemplate: ``\n})\nexport class ScatterChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new ScatterChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\nimport { MeterChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `MeterChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-meter-chart\",\n\ttemplate: ``\n})\nexport class MeterChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new MeterChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { RadarChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `RadarChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-radar-chart\",\n\ttemplate: ``\n})\nexport class RadarChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new RadarChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\nimport { ComboChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `ComboChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-combo-chart\",\n\ttemplate: ``\n})\nexport class ComboChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new ComboChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { TreemapChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `TreemapChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-treemap-chart\",\n\ttemplate: ``\n})\nexport class TreemapChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new TreemapChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import {\n\tComponent,\n\tAfterViewInit\n} from \"@angular/core\";\n\nimport { BaseChart } from \"./base-chart.component\";\n\nimport { WordCloudChart } from \"@carbon/charts\";\n\n/**\n * Wrapper around `WordCloudChart` in carbon charts library\n *\n * Most functions just call their equivalent from the chart library.\n */\n@Component({\n\tselector: \"ibm-wordcloud-chart\",\n\ttemplate: ``\n})\nexport class WordCloudChartComponent extends BaseChart implements AfterViewInit {\n\t/**\n\t * Runs after view init to create a chart, attach it to `elementRef` and draw it.\n\t */\n\tngAfterViewInit() {\n\t\tthis.chart = new WordCloudChart(\n\t\t\tthis.elementRef.nativeElement,\n\t\t\t{\n\t\t\t\tdata: this.data,\n\t\t\t\toptions: this.options\n\t\t\t}\n\t\t);\n\n\t\tObject.assign(this, this.chart);\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { BaseChart } from './base-chart.component';\nimport { AreaChartComponent } from './area-chart.component';\nimport { StackedAreaChartComponent } from './area-chart-stacked.component';\nimport { SimpleBarChartComponent } from './bar-chart-simple.component';\nimport { GroupedBarChartComponent } from './bar-chart-grouped.component';\nimport { StackedBarChartComponent } from './bar-chart-stacked.component';\nimport { BoxplotChartComponent } from './boxplot-chart.component';\nimport { BubbleChartComponent } from './bubble-chart.component';\nimport { BulletChartComponent } from './bullet-chart.component';\nimport { DonutChartComponent } from './donut-chart.component';\nimport { GaugeChartComponent } from './gauge-chart.component';\nimport { LineChartComponent } from './line-chart.component';\nimport { LollipopChartComponent } from './lollipop-chart.component';\nimport { PieChartComponent } from './pie-chart.component';\nimport { ScatterChartComponent } from './scatter-chart.component';\nimport { MeterChartComponent } from './meter-chart.component';\nimport { RadarChartComponent } from './radar-chart.component';\nimport { ComboChartComponent } from './combo-chart.component';\nimport { TreemapChartComponent } from './treemap-chart.component';\nimport { WordCloudChartComponent } from './wordcloud-chart.component';\n\n@NgModule({\n\timports: [CommonModule],\n\tdeclarations: [\n\t\tBaseChart,\n\t\tAreaChartComponent,\n\t\tStackedAreaChartComponent,\n\t\tSimpleBarChartComponent,\n\t\tGroupedBarChartComponent,\n\t\tStackedBarChartComponent,\n\t\tBoxplotChartComponent,\n\t\tBubbleChartComponent,\n\t\tBulletChartComponent,\n\t\tDonutChartComponent,\n\t\tGaugeChartComponent,\n\t\tLineChartComponent,\n\t\tLollipopChartComponent,\n\t\tPieChartComponent,\n\t\tScatterChartComponent,\n\t\tMeterChartComponent,\n\t\tRadarChartComponent,\n\t\tComboChartComponent,\n\t\tTreemapChartComponent,\n\t\tWordCloudChartComponent,\n\t],\n\texports: [\n\t\tBaseChart,\n\t\tAreaChartComponent,\n\t\tStackedAreaChartComponent,\n\t\tSimpleBarChartComponent,\n\t\tGroupedBarChartComponent,\n\t\tStackedBarChartComponent,\n\t\tBoxplotChartComponent,\n\t\tBubbleChartComponent,\n\t\tBulletChartComponent,\n\t\tDonutChartComponent,\n\t\tGaugeChartComponent,\n\t\tLineChartComponent,\n\t\tLollipopChartComponent,\n\t\tPieChartComponent,\n\t\tScatterChartComponent,\n\t\tMeterChartComponent,\n\t\tRadarChartComponent,\n\t\tComboChartComponent,\n\t\tTreemapChartComponent,\n\t\tWordCloudChartComponent,\n\t],\n})\nexport class ChartsModule {}\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;AAAA;;;;;AAcA;IAKC,mBAAsB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;KAAI;IAKhD,sBAAa,2BAAI;;;;QAWjB;YACC,OAAO,IAAI,CAAC,KAAK,CAAC;SAClB;;;;;;;;;QAbD,UAAkB,OAAO;;;gBAElB,iBAAiB,GAAG,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;YAEzE,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC;YAErB,IAAI,iBAAiB,EAAE;gBACtB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;aAClC;SACD;;;OAAA;IASD,sBAAa,8BAAO;;;;QAWpB;YACC,OAAO,IAAI,CAAC,QAAQ,CAAC;SACrB;;;;;;;;;QAbD,UAAqB,UAAU;;;gBAExB,mBAAmB,GAAG,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS;YAEjF,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;YAE3B,IAAI,mBAAmB,EAAE;gBACxB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;aACxC;SACD;;;OAAA;;;;IAgCD,4BAAQ;;;IAAR;;QAEC,IAAI,IAAI,CAAC,KAAK,EAAE;YACf,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;SAChC;;QAGD,IAAI,IAAI,CAAC,MAAM,EAAE;YAChB,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;SAClC;KACD;;;;;;;;IAKD,mCAAe;;;;IAAf;QACC,OAAO,CAAC,GAAG,CA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* from "./bar-chart-stacked.component";
7
7
  export * from "./boxplot-chart.component";
8
8
  export * from "./bubble-chart.component";
9
+ export * from "./bullet-chart.component";
9
10
  export * from "./donut-chart.component";
10
11
  export * from "./gauge-chart.component";
11
12
  export * from "./line-chart.component";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/charts-angular",
3
- "version": "0.41.58",
3
+ "version": "0.41.62",
4
4
  "description": "Carbon charting components for Angular",
5
5
  "main": "bundles/carbon-charts-angular.umd.js",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "scss"
35
35
  ],
36
36
  "dependencies": {
37
- "@carbon/charts": "^0.41.58",
37
+ "@carbon/charts": "^0.41.62",
38
38
  "@carbon/telemetry": "0.0.0-alpha.6",
39
39
  "tslib": "^1.9.0"
40
40
  },