chart.js 55 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357
  1. "use strict";
  2. var __extends = (this && this.__extends) || (function () {
  3. var extendStatics = Object.setPrototypeOf ||
  4. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  5. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  6. return function (d, b) {
  7. extendStatics(d, b);
  8. function __() { this.constructor = d; }
  9. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  10. };
  11. })();
  12. /*!
  13. * devextreme-angular
  14. * Version: 19.1.16
  15. * Build date: Tue Oct 18 2022
  16. *
  17. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  18. *
  19. * This software may be modified and distributed under the terms
  20. * of the MIT license. See the LICENSE file in the root of the project for details.
  21. *
  22. * https://github.com/DevExpress/devextreme-angular
  23. */
  24. Object.defineProperty(exports, "__esModule", { value: true });
  25. var platform_browser_1 = require("@angular/platform-browser");
  26. var platform_browser_2 = require("@angular/platform-browser");
  27. var core_1 = require("@angular/core");
  28. var chart_1 = require("devextreme/viz/chart");
  29. var component_1 = require("../core/component");
  30. var template_host_1 = require("../core/template-host");
  31. var integration_1 = require("../core/integration");
  32. var template_1 = require("../core/template");
  33. var nested_option_1 = require("../core/nested-option");
  34. var watcher_helper_1 = require("../core/watcher-helper");
  35. var iterable_differ_helper_1 = require("../core/iterable-differ-helper");
  36. var adaptive_layout_1 = require("./nested/adaptive-layout");
  37. var animation_1 = require("./nested/animation");
  38. var annotation_dxi_1 = require("./nested/annotation-dxi");
  39. var border_1 = require("./nested/border");
  40. var font_1 = require("./nested/font");
  41. var image_1 = require("./nested/image");
  42. var shadow_1 = require("./nested/shadow");
  43. var argument_axis_1 = require("./nested/argument-axis");
  44. var aggregation_interval_1 = require("./nested/aggregation-interval");
  45. var break_dxi_1 = require("./nested/break-dxi");
  46. var break_style_1 = require("./nested/break-style");
  47. var constant_line_dxi_1 = require("./nested/constant-line-dxi");
  48. var label_1 = require("./nested/label");
  49. var constant_line_style_1 = require("./nested/constant-line-style");
  50. var grid_1 = require("./nested/grid");
  51. var format_1 = require("./nested/format");
  52. var minor_grid_1 = require("./nested/minor-grid");
  53. var minor_tick_1 = require("./nested/minor-tick");
  54. var minor_tick_interval_1 = require("./nested/minor-tick-interval");
  55. var min_visual_range_length_1 = require("./nested/min-visual-range-length");
  56. var strip_dxi_1 = require("./nested/strip-dxi");
  57. var strip_style_1 = require("./nested/strip-style");
  58. var tick_1 = require("./nested/tick");
  59. var tick_interval_1 = require("./nested/tick-interval");
  60. var title_1 = require("./nested/title");
  61. var common_annotation_settings_1 = require("./nested/common-annotation-settings");
  62. var common_axis_settings_1 = require("./nested/common-axis-settings");
  63. var common_pane_settings_1 = require("./nested/common-pane-settings");
  64. var common_series_settings_1 = require("./nested/common-series-settings");
  65. var aggregation_1 = require("./nested/aggregation");
  66. var area_1 = require("./nested/area");
  67. var hover_style_1 = require("./nested/hover-style");
  68. var hatching_1 = require("./nested/hatching");
  69. var connector_1 = require("./nested/connector");
  70. var point_1 = require("./nested/point");
  71. var height_1 = require("./nested/height");
  72. var url_1 = require("./nested/url");
  73. var width_1 = require("./nested/width");
  74. var selection_style_1 = require("./nested/selection-style");
  75. var reduction_1 = require("./nested/reduction");
  76. var value_error_bar_1 = require("./nested/value-error-bar");
  77. var bar_1 = require("./nested/bar");
  78. var bubble_1 = require("./nested/bubble");
  79. var candlestick_1 = require("./nested/candlestick");
  80. var fullstackedarea_1 = require("./nested/fullstackedarea");
  81. var fullstackedbar_1 = require("./nested/fullstackedbar");
  82. var fullstackedline_1 = require("./nested/fullstackedline");
  83. var fullstackedspline_1 = require("./nested/fullstackedspline");
  84. var fullstackedsplinearea_1 = require("./nested/fullstackedsplinearea");
  85. var argument_format_1 = require("./nested/argument-format");
  86. var line_1 = require("./nested/line");
  87. var rangearea_1 = require("./nested/rangearea");
  88. var rangebar_1 = require("./nested/rangebar");
  89. var scatter_1 = require("./nested/scatter");
  90. var spline_1 = require("./nested/spline");
  91. var splinearea_1 = require("./nested/splinearea");
  92. var stackedarea_1 = require("./nested/stackedarea");
  93. var stackedbar_1 = require("./nested/stackedbar");
  94. var stackedline_1 = require("./nested/stackedline");
  95. var stackedspline_1 = require("./nested/stackedspline");
  96. var stackedsplinearea_1 = require("./nested/stackedsplinearea");
  97. var steparea_1 = require("./nested/steparea");
  98. var stepline_1 = require("./nested/stepline");
  99. var stock_1 = require("./nested/stock");
  100. var crosshair_1 = require("./nested/crosshair");
  101. var horizontal_line_1 = require("./nested/horizontal-line");
  102. var vertical_line_1 = require("./nested/vertical-line");
  103. var data_prepare_settings_1 = require("./nested/data-prepare-settings");
  104. var export_1 = require("./nested/export");
  105. var legend_1 = require("./nested/legend");
  106. var margin_1 = require("./nested/margin");
  107. var subtitle_1 = require("./nested/subtitle");
  108. var loading_indicator_1 = require("./nested/loading-indicator");
  109. var pane_dxi_1 = require("./nested/pane-dxi");
  110. var scroll_bar_1 = require("./nested/scroll-bar");
  111. var series_dxi_1 = require("./nested/series-dxi");
  112. var series_template_1 = require("./nested/series-template");
  113. var size_1 = require("./nested/size");
  114. var tooltip_1 = require("./nested/tooltip");
  115. var value_axis_dxi_1 = require("./nested/value-axis-dxi");
  116. var zoom_and_pan_1 = require("./nested/zoom-and-pan");
  117. var drag_box_style_1 = require("./nested/drag-box-style");
  118. var annotation_dxi_2 = require("./nested/annotation-dxi");
  119. var pane_dxi_2 = require("./nested/pane-dxi");
  120. var series_dxi_2 = require("./nested/series-dxi");
  121. var value_axis_dxi_2 = require("./nested/value-axis-dxi");
  122. /**
  123. * The Chart is a widget that visualizes data from a local or remote storage using a great variety of series types along with different interactive elements, such as tooltips, crosshair pointer, legend, etc.
  124. */
  125. var DxChartComponent = (function (_super) {
  126. __extends(DxChartComponent, _super);
  127. function DxChartComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId) {
  128. var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId) || this;
  129. _this._watcherHelper = _watcherHelper;
  130. _this._idh = _idh;
  131. _this._createEventEmitters([
  132. { subscribe: 'argumentAxisClick', emit: 'onArgumentAxisClick' },
  133. { subscribe: 'disposing', emit: 'onDisposing' },
  134. { subscribe: 'done', emit: 'onDone' },
  135. { subscribe: 'drawn', emit: 'onDrawn' },
  136. { subscribe: 'exported', emit: 'onExported' },
  137. { subscribe: 'exporting', emit: 'onExporting' },
  138. { subscribe: 'fileSaving', emit: 'onFileSaving' },
  139. { subscribe: 'incidentOccurred', emit: 'onIncidentOccurred' },
  140. { subscribe: 'initialized', emit: 'onInitialized' },
  141. { subscribe: 'legendClick', emit: 'onLegendClick' },
  142. { subscribe: 'optionChanged', emit: 'onOptionChanged' },
  143. { subscribe: 'pointClick', emit: 'onPointClick' },
  144. { subscribe: 'pointHoverChanged', emit: 'onPointHoverChanged' },
  145. { subscribe: 'pointSelectionChanged', emit: 'onPointSelectionChanged' },
  146. { subscribe: 'seriesClick', emit: 'onSeriesClick' },
  147. { subscribe: 'seriesHoverChanged', emit: 'onSeriesHoverChanged' },
  148. { subscribe: 'seriesSelectionChanged', emit: 'onSeriesSelectionChanged' },
  149. { subscribe: 'tooltipHidden', emit: 'onTooltipHidden' },
  150. { subscribe: 'tooltipShown', emit: 'onTooltipShown' },
  151. { subscribe: 'zoomEnd', emit: 'onZoomEnd' },
  152. { subscribe: 'zoomStart', emit: 'onZoomStart' },
  153. { emit: 'adaptiveLayoutChange' },
  154. { emit: 'adjustOnZoomChange' },
  155. { emit: 'animationChange' },
  156. { emit: 'annotationsChange' },
  157. { emit: 'argumentAxisChange' },
  158. { emit: 'autoHidePointMarkersChange' },
  159. { emit: 'barGroupPaddingChange' },
  160. { emit: 'barGroupWidthChange' },
  161. { emit: 'barWidthChange' },
  162. { emit: 'commonAnnotationSettingsChange' },
  163. { emit: 'commonAxisSettingsChange' },
  164. { emit: 'commonPaneSettingsChange' },
  165. { emit: 'commonSeriesSettingsChange' },
  166. { emit: 'containerBackgroundColorChange' },
  167. { emit: 'crosshairChange' },
  168. { emit: 'customizeAnnotationChange' },
  169. { emit: 'customizeLabelChange' },
  170. { emit: 'customizePointChange' },
  171. { emit: 'dataPrepareSettingsChange' },
  172. { emit: 'dataSourceChange' },
  173. { emit: 'defaultPaneChange' },
  174. { emit: 'disabledChange' },
  175. { emit: 'elementAttrChange' },
  176. { emit: 'equalBarWidthChange' },
  177. { emit: 'exportChange' },
  178. { emit: 'legendChange' },
  179. { emit: 'loadingIndicatorChange' },
  180. { emit: 'marginChange' },
  181. { emit: 'maxBubbleSizeChange' },
  182. { emit: 'minBubbleSizeChange' },
  183. { emit: 'negativesAsZeroesChange' },
  184. { emit: 'paletteChange' },
  185. { emit: 'paletteExtensionModeChange' },
  186. { emit: 'panesChange' },
  187. { emit: 'pathModifiedChange' },
  188. { emit: 'pointSelectionModeChange' },
  189. { emit: 'redrawOnResizeChange' },
  190. { emit: 'resolveLabelOverlappingChange' },
  191. { emit: 'rotatedChange' },
  192. { emit: 'rtlEnabledChange' },
  193. { emit: 'scrollBarChange' },
  194. { emit: 'scrollingModeChange' },
  195. { emit: 'seriesChange' },
  196. { emit: 'seriesSelectionModeChange' },
  197. { emit: 'seriesTemplateChange' },
  198. { emit: 'sizeChange' },
  199. { emit: 'stickyHoveringChange' },
  200. { emit: 'synchronizeMultiAxesChange' },
  201. { emit: 'themeChange' },
  202. { emit: 'titleChange' },
  203. { emit: 'tooltipChange' },
  204. { emit: 'useAggregationChange' },
  205. { emit: 'valueAxisChange' },
  206. { emit: 'zoomAndPanChange' },
  207. { emit: 'zoomingModeChange' }
  208. ]);
  209. _this._idh.setHost(_this);
  210. optionHost.setHost(_this);
  211. return _this;
  212. }
  213. Object.defineProperty(DxChartComponent.prototype, "adaptiveLayout", {
  214. get: /**
  215. * Specifies adaptive layout options.
  216. */
  217. function () {
  218. return this._getOption('adaptiveLayout');
  219. },
  220. set: function (value) {
  221. this._setOption('adaptiveLayout', value);
  222. },
  223. enumerable: true,
  224. configurable: true
  225. });
  226. Object.defineProperty(DxChartComponent.prototype, "adjustOnZoom", {
  227. get: /**
  228. * Specifies whether to adjust the value axis's visualRange when the argument axis is being zoomed or panned.
  229. */
  230. function () {
  231. return this._getOption('adjustOnZoom');
  232. },
  233. set: function (value) {
  234. this._setOption('adjustOnZoom', value);
  235. },
  236. enumerable: true,
  237. configurable: true
  238. });
  239. Object.defineProperty(DxChartComponent.prototype, "animation", {
  240. get: /**
  241. * Specifies animation options.
  242. */
  243. function () {
  244. return this._getOption('animation');
  245. },
  246. set: function (value) {
  247. this._setOption('animation', value);
  248. },
  249. enumerable: true,
  250. configurable: true
  251. });
  252. Object.defineProperty(DxChartComponent.prototype, "annotations", {
  253. get: /**
  254. * Specifies the annotation collection.
  255. */
  256. function () {
  257. return this._getOption('annotations');
  258. },
  259. set: function (value) {
  260. this._setOption('annotations', value);
  261. },
  262. enumerable: true,
  263. configurable: true
  264. });
  265. Object.defineProperty(DxChartComponent.prototype, "argumentAxis", {
  266. get: /**
  267. * Configures the argument axis.
  268. */
  269. function () {
  270. return this._getOption('argumentAxis');
  271. },
  272. set: function (value) {
  273. this._setOption('argumentAxis', value);
  274. },
  275. enumerable: true,
  276. configurable: true
  277. });
  278. Object.defineProperty(DxChartComponent.prototype, "autoHidePointMarkers", {
  279. get: /**
  280. * Specifies whether to hide series point markers automatically to reduce visual clutter.
  281. */
  282. function () {
  283. return this._getOption('autoHidePointMarkers');
  284. },
  285. set: function (value) {
  286. this._setOption('autoHidePointMarkers', value);
  287. },
  288. enumerable: true,
  289. configurable: true
  290. });
  291. Object.defineProperty(DxChartComponent.prototype, "barGroupPadding", {
  292. get: /**
  293. * Controls the padding and consequently the width of a group of bars with the same argument using relative units. Ignored if the barGroupWidth option is set.
  294. */
  295. function () {
  296. return this._getOption('barGroupPadding');
  297. },
  298. set: function (value) {
  299. this._setOption('barGroupPadding', value);
  300. },
  301. enumerable: true,
  302. configurable: true
  303. });
  304. Object.defineProperty(DxChartComponent.prototype, "barGroupWidth", {
  305. get: /**
  306. * Specifies a fixed width for groups of bars with the same argument, measured in pixels. Takes precedence over the barGroupPadding option.
  307. */
  308. function () {
  309. return this._getOption('barGroupWidth');
  310. },
  311. set: function (value) {
  312. this._setOption('barGroupWidth', value);
  313. },
  314. enumerable: true,
  315. configurable: true
  316. });
  317. Object.defineProperty(DxChartComponent.prototype, "barWidth", {
  318. get: /**
  319. * Use CommonSeries.barPadding instead.
  320. */
  321. function () {
  322. return this._getOption('barWidth');
  323. },
  324. set: function (value) {
  325. this._setOption('barWidth', value);
  326. },
  327. enumerable: true,
  328. configurable: true
  329. });
  330. Object.defineProperty(DxChartComponent.prototype, "commonAnnotationSettings", {
  331. get: /**
  332. * Specifies settings common for all annotations in the chart.
  333. */
  334. function () {
  335. return this._getOption('commonAnnotationSettings');
  336. },
  337. set: function (value) {
  338. this._setOption('commonAnnotationSettings', value);
  339. },
  340. enumerable: true,
  341. configurable: true
  342. });
  343. Object.defineProperty(DxChartComponent.prototype, "commonAxisSettings", {
  344. get: /**
  345. * Defines common settings for both the argument and value axis in a chart.
  346. */
  347. function () {
  348. return this._getOption('commonAxisSettings');
  349. },
  350. set: function (value) {
  351. this._setOption('commonAxisSettings', value);
  352. },
  353. enumerable: true,
  354. configurable: true
  355. });
  356. Object.defineProperty(DxChartComponent.prototype, "commonPaneSettings", {
  357. get: /**
  358. * Defines common settings for all panes in a chart.
  359. */
  360. function () {
  361. return this._getOption('commonPaneSettings');
  362. },
  363. set: function (value) {
  364. this._setOption('commonPaneSettings', value);
  365. },
  366. enumerable: true,
  367. configurable: true
  368. });
  369. Object.defineProperty(DxChartComponent.prototype, "commonSeriesSettings", {
  370. get: /**
  371. * Specifies settings common for all series in the chart.
  372. */
  373. function () {
  374. return this._getOption('commonSeriesSettings');
  375. },
  376. set: function (value) {
  377. this._setOption('commonSeriesSettings', value);
  378. },
  379. enumerable: true,
  380. configurable: true
  381. });
  382. Object.defineProperty(DxChartComponent.prototype, "containerBackgroundColor", {
  383. get: /**
  384. * Colors the background of the chart container.
  385. */
  386. function () {
  387. return this._getOption('containerBackgroundColor');
  388. },
  389. set: function (value) {
  390. this._setOption('containerBackgroundColor', value);
  391. },
  392. enumerable: true,
  393. configurable: true
  394. });
  395. Object.defineProperty(DxChartComponent.prototype, "crosshair", {
  396. get: /**
  397. * Configures the crosshair feature.
  398. */
  399. function () {
  400. return this._getOption('crosshair');
  401. },
  402. set: function (value) {
  403. this._setOption('crosshair', value);
  404. },
  405. enumerable: true,
  406. configurable: true
  407. });
  408. Object.defineProperty(DxChartComponent.prototype, "customizeAnnotation", {
  409. get: /**
  410. * Customizes an individual annotation.
  411. */
  412. function () {
  413. return this._getOption('customizeAnnotation');
  414. },
  415. set: function (value) {
  416. this._setOption('customizeAnnotation', value);
  417. },
  418. enumerable: true,
  419. configurable: true
  420. });
  421. Object.defineProperty(DxChartComponent.prototype, "customizeLabel", {
  422. get: /**
  423. * Customizes the appearance of an individual point label.
  424. */
  425. function () {
  426. return this._getOption('customizeLabel');
  427. },
  428. set: function (value) {
  429. this._setOption('customizeLabel', value);
  430. },
  431. enumerable: true,
  432. configurable: true
  433. });
  434. Object.defineProperty(DxChartComponent.prototype, "customizePoint", {
  435. get: /**
  436. * Customizes the appearance of an individual series point.
  437. */
  438. function () {
  439. return this._getOption('customizePoint');
  440. },
  441. set: function (value) {
  442. this._setOption('customizePoint', value);
  443. },
  444. enumerable: true,
  445. configurable: true
  446. });
  447. Object.defineProperty(DxChartComponent.prototype, "dataPrepareSettings", {
  448. get: /**
  449. * Processes data before visualizing it.
  450. */
  451. function () {
  452. return this._getOption('dataPrepareSettings');
  453. },
  454. set: function (value) {
  455. this._setOption('dataPrepareSettings', value);
  456. },
  457. enumerable: true,
  458. configurable: true
  459. });
  460. Object.defineProperty(DxChartComponent.prototype, "dataSource", {
  461. get: /**
  462. * Binds the widget to data.
  463. */
  464. function () {
  465. return this._getOption('dataSource');
  466. },
  467. set: function (value) {
  468. this._setOption('dataSource', value);
  469. },
  470. enumerable: true,
  471. configurable: true
  472. });
  473. Object.defineProperty(DxChartComponent.prototype, "defaultPane", {
  474. get: /**
  475. * Specifies which pane should be used by default.
  476. */
  477. function () {
  478. return this._getOption('defaultPane');
  479. },
  480. set: function (value) {
  481. this._setOption('defaultPane', value);
  482. },
  483. enumerable: true,
  484. configurable: true
  485. });
  486. Object.defineProperty(DxChartComponent.prototype, "disabled", {
  487. get: /**
  488. * Specifies whether the widget responds to the user interaction.
  489. */
  490. function () {
  491. return this._getOption('disabled');
  492. },
  493. set: function (value) {
  494. this._setOption('disabled', value);
  495. },
  496. enumerable: true,
  497. configurable: true
  498. });
  499. Object.defineProperty(DxChartComponent.prototype, "elementAttr", {
  500. get: /**
  501. * Specifies the attributes to be attached to the widget's root element.
  502. */
  503. function () {
  504. return this._getOption('elementAttr');
  505. },
  506. set: function (value) {
  507. this._setOption('elementAttr', value);
  508. },
  509. enumerable: true,
  510. configurable: true
  511. });
  512. Object.defineProperty(DxChartComponent.prototype, "equalBarWidth", {
  513. get: /**
  514. * Use CommonSeries.ignoreEmptyPoints instead.
  515. */
  516. function () {
  517. return this._getOption('equalBarWidth');
  518. },
  519. set: function (value) {
  520. this._setOption('equalBarWidth', value);
  521. },
  522. enumerable: true,
  523. configurable: true
  524. });
  525. Object.defineProperty(DxChartComponent.prototype, "export", {
  526. get: /**
  527. * Configures the exporting and printing features.
  528. */
  529. function () {
  530. return this._getOption('export');
  531. },
  532. set: function (value) {
  533. this._setOption('export', value);
  534. },
  535. enumerable: true,
  536. configurable: true
  537. });
  538. Object.defineProperty(DxChartComponent.prototype, "legend", {
  539. get: /**
  540. * Specifies the options of a chart's legend.
  541. */
  542. function () {
  543. return this._getOption('legend');
  544. },
  545. set: function (value) {
  546. this._setOption('legend', value);
  547. },
  548. enumerable: true,
  549. configurable: true
  550. });
  551. Object.defineProperty(DxChartComponent.prototype, "loadingIndicator", {
  552. get: /**
  553. * Configures the loading indicator.
  554. */
  555. function () {
  556. return this._getOption('loadingIndicator');
  557. },
  558. set: function (value) {
  559. this._setOption('loadingIndicator', value);
  560. },
  561. enumerable: true,
  562. configurable: true
  563. });
  564. Object.defineProperty(DxChartComponent.prototype, "margin", {
  565. get: /**
  566. * Generates space around the widget.
  567. */
  568. function () {
  569. return this._getOption('margin');
  570. },
  571. set: function (value) {
  572. this._setOption('margin', value);
  573. },
  574. enumerable: true,
  575. configurable: true
  576. });
  577. Object.defineProperty(DxChartComponent.prototype, "maxBubbleSize", {
  578. get: /**
  579. * Specifies a coefficient determining the diameter of the largest bubble.
  580. */
  581. function () {
  582. return this._getOption('maxBubbleSize');
  583. },
  584. set: function (value) {
  585. this._setOption('maxBubbleSize', value);
  586. },
  587. enumerable: true,
  588. configurable: true
  589. });
  590. Object.defineProperty(DxChartComponent.prototype, "minBubbleSize", {
  591. get: /**
  592. * Specifies the diameter of the smallest bubble measured in pixels.
  593. */
  594. function () {
  595. return this._getOption('minBubbleSize');
  596. },
  597. set: function (value) {
  598. this._setOption('minBubbleSize', value);
  599. },
  600. enumerable: true,
  601. configurable: true
  602. });
  603. Object.defineProperty(DxChartComponent.prototype, "negativesAsZeroes", {
  604. get: /**
  605. * Forces the widget to treat negative values as zeroes. Applies to stacked-like series only.
  606. */
  607. function () {
  608. return this._getOption('negativesAsZeroes');
  609. },
  610. set: function (value) {
  611. this._setOption('negativesAsZeroes', value);
  612. },
  613. enumerable: true,
  614. configurable: true
  615. });
  616. Object.defineProperty(DxChartComponent.prototype, "palette", {
  617. get: /**
  618. * Sets the palette to be used for colorizing series and their elements.
  619. */
  620. function () {
  621. return this._getOption('palette');
  622. },
  623. set: function (value) {
  624. this._setOption('palette', value);
  625. },
  626. enumerable: true,
  627. configurable: true
  628. });
  629. Object.defineProperty(DxChartComponent.prototype, "paletteExtensionMode", {
  630. get: /**
  631. * Specifies what to do with colors in the palette when their number is less than the number of series (in the Chart widget) or points in a series (in the PieChart widget).
  632. */
  633. function () {
  634. return this._getOption('paletteExtensionMode');
  635. },
  636. set: function (value) {
  637. this._setOption('paletteExtensionMode', value);
  638. },
  639. enumerable: true,
  640. configurable: true
  641. });
  642. Object.defineProperty(DxChartComponent.prototype, "panes", {
  643. get: /**
  644. * Declares a collection of panes.
  645. */
  646. function () {
  647. return this._getOption('panes');
  648. },
  649. set: function (value) {
  650. this._setOption('panes', value);
  651. },
  652. enumerable: true,
  653. configurable: true
  654. });
  655. Object.defineProperty(DxChartComponent.prototype, "pathModified", {
  656. get: /**
  657. * Notifies the widget that it is embedded into an HTML page that uses a tag modifying the path.
  658. */
  659. function () {
  660. return this._getOption('pathModified');
  661. },
  662. set: function (value) {
  663. this._setOption('pathModified', value);
  664. },
  665. enumerable: true,
  666. configurable: true
  667. });
  668. Object.defineProperty(DxChartComponent.prototype, "pointSelectionMode", {
  669. get: /**
  670. * Specifies whether a single point or multiple points can be selected in the chart.
  671. */
  672. function () {
  673. return this._getOption('pointSelectionMode');
  674. },
  675. set: function (value) {
  676. this._setOption('pointSelectionMode', value);
  677. },
  678. enumerable: true,
  679. configurable: true
  680. });
  681. Object.defineProperty(DxChartComponent.prototype, "redrawOnResize", {
  682. get: /**
  683. * Specifies whether to redraw the widget when the size of the parent browser window changes or a mobile device rotates.
  684. */
  685. function () {
  686. return this._getOption('redrawOnResize');
  687. },
  688. set: function (value) {
  689. this._setOption('redrawOnResize', value);
  690. },
  691. enumerable: true,
  692. configurable: true
  693. });
  694. Object.defineProperty(DxChartComponent.prototype, "resolveLabelOverlapping", {
  695. get: /**
  696. * Specifies how the chart must behave when series point labels overlap.
  697. */
  698. function () {
  699. return this._getOption('resolveLabelOverlapping');
  700. },
  701. set: function (value) {
  702. this._setOption('resolveLabelOverlapping', value);
  703. },
  704. enumerable: true,
  705. configurable: true
  706. });
  707. Object.defineProperty(DxChartComponent.prototype, "rotated", {
  708. get: /**
  709. * Swaps the axes around making the value axis horizontal and the argument axis vertical.
  710. */
  711. function () {
  712. return this._getOption('rotated');
  713. },
  714. set: function (value) {
  715. this._setOption('rotated', value);
  716. },
  717. enumerable: true,
  718. configurable: true
  719. });
  720. Object.defineProperty(DxChartComponent.prototype, "rtlEnabled", {
  721. get: /**
  722. * Switches the widget to a right-to-left representation.
  723. */
  724. function () {
  725. return this._getOption('rtlEnabled');
  726. },
  727. set: function (value) {
  728. this._setOption('rtlEnabled', value);
  729. },
  730. enumerable: true,
  731. configurable: true
  732. });
  733. Object.defineProperty(DxChartComponent.prototype, "scrollBar", {
  734. get: /**
  735. * Specifies the settings of the scroll bar.
  736. */
  737. function () {
  738. return this._getOption('scrollBar');
  739. },
  740. set: function (value) {
  741. this._setOption('scrollBar', value);
  742. },
  743. enumerable: true,
  744. configurable: true
  745. });
  746. Object.defineProperty(DxChartComponent.prototype, "scrollingMode", {
  747. get: /**
  748. * Use the zoomAndPan option instead.
  749. */
  750. function () {
  751. return this._getOption('scrollingMode');
  752. },
  753. set: function (value) {
  754. this._setOption('scrollingMode', value);
  755. },
  756. enumerable: true,
  757. configurable: true
  758. });
  759. Object.defineProperty(DxChartComponent.prototype, "series", {
  760. get: /**
  761. * Specifies options for Chart widget series.
  762. */
  763. function () {
  764. return this._getOption('series');
  765. },
  766. set: function (value) {
  767. this._setOption('series', value);
  768. },
  769. enumerable: true,
  770. configurable: true
  771. });
  772. Object.defineProperty(DxChartComponent.prototype, "seriesSelectionMode", {
  773. get: /**
  774. * Specifies whether a single series or multiple series can be selected in the chart.
  775. */
  776. function () {
  777. return this._getOption('seriesSelectionMode');
  778. },
  779. set: function (value) {
  780. this._setOption('seriesSelectionMode', value);
  781. },
  782. enumerable: true,
  783. configurable: true
  784. });
  785. Object.defineProperty(DxChartComponent.prototype, "seriesTemplate", {
  786. get: /**
  787. * Defines options for the series template.
  788. */
  789. function () {
  790. return this._getOption('seriesTemplate');
  791. },
  792. set: function (value) {
  793. this._setOption('seriesTemplate', value);
  794. },
  795. enumerable: true,
  796. configurable: true
  797. });
  798. Object.defineProperty(DxChartComponent.prototype, "size", {
  799. get: /**
  800. * Specifies the widget's size in pixels.
  801. */
  802. function () {
  803. return this._getOption('size');
  804. },
  805. set: function (value) {
  806. this._setOption('size', value);
  807. },
  808. enumerable: true,
  809. configurable: true
  810. });
  811. Object.defineProperty(DxChartComponent.prototype, "stickyHovering", {
  812. get: /**
  813. * Specifies whether a point should remain in the hover state when the mouse pointer moves away.
  814. */
  815. function () {
  816. return this._getOption('stickyHovering');
  817. },
  818. set: function (value) {
  819. this._setOption('stickyHovering', value);
  820. },
  821. enumerable: true,
  822. configurable: true
  823. });
  824. Object.defineProperty(DxChartComponent.prototype, "synchronizeMultiAxes", {
  825. get: /**
  826. * Indicates whether or not to synchronize value axes when they are displayed on a single pane.
  827. */
  828. function () {
  829. return this._getOption('synchronizeMultiAxes');
  830. },
  831. set: function (value) {
  832. this._setOption('synchronizeMultiAxes', value);
  833. },
  834. enumerable: true,
  835. configurable: true
  836. });
  837. Object.defineProperty(DxChartComponent.prototype, "theme", {
  838. get: /**
  839. * Sets the name of the theme the widget uses.
  840. */
  841. function () {
  842. return this._getOption('theme');
  843. },
  844. set: function (value) {
  845. this._setOption('theme', value);
  846. },
  847. enumerable: true,
  848. configurable: true
  849. });
  850. Object.defineProperty(DxChartComponent.prototype, "title", {
  851. get: /**
  852. * Configures the widget's title.
  853. */
  854. function () {
  855. return this._getOption('title');
  856. },
  857. set: function (value) {
  858. this._setOption('title', value);
  859. },
  860. enumerable: true,
  861. configurable: true
  862. });
  863. Object.defineProperty(DxChartComponent.prototype, "tooltip", {
  864. get: /**
  865. * Configures tooltips.
  866. */
  867. function () {
  868. return this._getOption('tooltip');
  869. },
  870. set: function (value) {
  871. this._setOption('tooltip', value);
  872. },
  873. enumerable: true,
  874. configurable: true
  875. });
  876. Object.defineProperty(DxChartComponent.prototype, "useAggregation", {
  877. get: /**
  878. * Use CommonSeries.aggregation.enabled instead.
  879. */
  880. function () {
  881. return this._getOption('useAggregation');
  882. },
  883. set: function (value) {
  884. this._setOption('useAggregation', value);
  885. },
  886. enumerable: true,
  887. configurable: true
  888. });
  889. Object.defineProperty(DxChartComponent.prototype, "valueAxis", {
  890. get: /**
  891. * Configures the value axis.
  892. */
  893. function () {
  894. return this._getOption('valueAxis');
  895. },
  896. set: function (value) {
  897. this._setOption('valueAxis', value);
  898. },
  899. enumerable: true,
  900. configurable: true
  901. });
  902. Object.defineProperty(DxChartComponent.prototype, "zoomAndPan", {
  903. get: /**
  904. * Configures zooming and panning.
  905. */
  906. function () {
  907. return this._getOption('zoomAndPan');
  908. },
  909. set: function (value) {
  910. this._setOption('zoomAndPan', value);
  911. },
  912. enumerable: true,
  913. configurable: true
  914. });
  915. Object.defineProperty(DxChartComponent.prototype, "zoomingMode", {
  916. get: /**
  917. * Use the zoomAndPan option instead.
  918. */
  919. function () {
  920. return this._getOption('zoomingMode');
  921. },
  922. set: function (value) {
  923. this._setOption('zoomingMode', value);
  924. },
  925. enumerable: true,
  926. configurable: true
  927. });
  928. Object.defineProperty(DxChartComponent.prototype, "annotationsChildren", {
  929. get: function () {
  930. return this._getOption('annotations');
  931. },
  932. set: function (value) {
  933. this.setChildren('annotations', value);
  934. },
  935. enumerable: true,
  936. configurable: true
  937. });
  938. Object.defineProperty(DxChartComponent.prototype, "panesChildren", {
  939. get: function () {
  940. return this._getOption('panes');
  941. },
  942. set: function (value) {
  943. this.setChildren('panes', value);
  944. },
  945. enumerable: true,
  946. configurable: true
  947. });
  948. Object.defineProperty(DxChartComponent.prototype, "seriesChildren", {
  949. get: function () {
  950. return this._getOption('series');
  951. },
  952. set: function (value) {
  953. this.setChildren('series', value);
  954. },
  955. enumerable: true,
  956. configurable: true
  957. });
  958. Object.defineProperty(DxChartComponent.prototype, "valueAxisChildren", {
  959. get: function () {
  960. return this._getOption('valueAxis');
  961. },
  962. set: function (value) {
  963. this.setChildren('valueAxis', value);
  964. },
  965. enumerable: true,
  966. configurable: true
  967. });
  968. DxChartComponent.prototype._createInstance = function (element, options) {
  969. return new chart_1.default(element, options);
  970. };
  971. DxChartComponent.prototype.ngOnDestroy = function () {
  972. this._destroyWidget();
  973. };
  974. DxChartComponent.prototype.ngOnChanges = function (changes) {
  975. _super.prototype.ngOnChanges.call(this, changes);
  976. this.setupChanges('annotations', changes);
  977. this.setupChanges('dataSource', changes);
  978. this.setupChanges('palette', changes);
  979. this.setupChanges('panes', changes);
  980. this.setupChanges('series', changes);
  981. this.setupChanges('valueAxis', changes);
  982. };
  983. DxChartComponent.prototype.setupChanges = function (prop, changes) {
  984. if (!(prop in this._optionsToUpdate)) {
  985. this._idh.setup(prop, changes);
  986. }
  987. };
  988. DxChartComponent.prototype.ngDoCheck = function () {
  989. this._idh.doCheck('annotations');
  990. this._idh.doCheck('dataSource');
  991. this._idh.doCheck('palette');
  992. this._idh.doCheck('panes');
  993. this._idh.doCheck('series');
  994. this._idh.doCheck('valueAxis');
  995. this._watcherHelper.checkWatchers();
  996. _super.prototype.ngDoCheck.call(this);
  997. _super.prototype.clearChangedOptions.call(this);
  998. };
  999. DxChartComponent.prototype._setOption = function (name, value) {
  1000. var isSetup = this._idh.setupSingle(name, value);
  1001. var isChanged = this._idh.getChanges(name, value) !== null;
  1002. if (isSetup || isChanged) {
  1003. _super.prototype._setOption.call(this, name, value);
  1004. }
  1005. };
  1006. DxChartComponent.decorators = [
  1007. { type: core_1.Component, args: [{
  1008. selector: 'dx-chart',
  1009. template: '',
  1010. styles: [' :host { display: block; }'],
  1011. providers: [
  1012. template_host_1.DxTemplateHost,
  1013. watcher_helper_1.WatcherHelper,
  1014. nested_option_1.NestedOptionHost,
  1015. iterable_differ_helper_1.IterableDifferHelper
  1016. ]
  1017. },] },
  1018. ];
  1019. /** @nocollapse */
  1020. DxChartComponent.ctorParameters = function () { return [
  1021. { type: core_1.ElementRef, },
  1022. { type: core_1.NgZone, },
  1023. { type: template_host_1.DxTemplateHost, },
  1024. { type: watcher_helper_1.WatcherHelper, },
  1025. { type: iterable_differ_helper_1.IterableDifferHelper, },
  1026. { type: nested_option_1.NestedOptionHost, },
  1027. { type: platform_browser_2.TransferState, },
  1028. { type: undefined, decorators: [{ type: core_1.Inject, args: [core_1.PLATFORM_ID,] },] },
  1029. ]; };
  1030. DxChartComponent.propDecorators = {
  1031. "adaptiveLayout": [{ type: core_1.Input },],
  1032. "adjustOnZoom": [{ type: core_1.Input },],
  1033. "animation": [{ type: core_1.Input },],
  1034. "annotations": [{ type: core_1.Input },],
  1035. "argumentAxis": [{ type: core_1.Input },],
  1036. "autoHidePointMarkers": [{ type: core_1.Input },],
  1037. "barGroupPadding": [{ type: core_1.Input },],
  1038. "barGroupWidth": [{ type: core_1.Input },],
  1039. "barWidth": [{ type: core_1.Input },],
  1040. "commonAnnotationSettings": [{ type: core_1.Input },],
  1041. "commonAxisSettings": [{ type: core_1.Input },],
  1042. "commonPaneSettings": [{ type: core_1.Input },],
  1043. "commonSeriesSettings": [{ type: core_1.Input },],
  1044. "containerBackgroundColor": [{ type: core_1.Input },],
  1045. "crosshair": [{ type: core_1.Input },],
  1046. "customizeAnnotation": [{ type: core_1.Input },],
  1047. "customizeLabel": [{ type: core_1.Input },],
  1048. "customizePoint": [{ type: core_1.Input },],
  1049. "dataPrepareSettings": [{ type: core_1.Input },],
  1050. "dataSource": [{ type: core_1.Input },],
  1051. "defaultPane": [{ type: core_1.Input },],
  1052. "disabled": [{ type: core_1.Input },],
  1053. "elementAttr": [{ type: core_1.Input },],
  1054. "equalBarWidth": [{ type: core_1.Input },],
  1055. "export": [{ type: core_1.Input },],
  1056. "legend": [{ type: core_1.Input },],
  1057. "loadingIndicator": [{ type: core_1.Input },],
  1058. "margin": [{ type: core_1.Input },],
  1059. "maxBubbleSize": [{ type: core_1.Input },],
  1060. "minBubbleSize": [{ type: core_1.Input },],
  1061. "negativesAsZeroes": [{ type: core_1.Input },],
  1062. "palette": [{ type: core_1.Input },],
  1063. "paletteExtensionMode": [{ type: core_1.Input },],
  1064. "panes": [{ type: core_1.Input },],
  1065. "pathModified": [{ type: core_1.Input },],
  1066. "pointSelectionMode": [{ type: core_1.Input },],
  1067. "redrawOnResize": [{ type: core_1.Input },],
  1068. "resolveLabelOverlapping": [{ type: core_1.Input },],
  1069. "rotated": [{ type: core_1.Input },],
  1070. "rtlEnabled": [{ type: core_1.Input },],
  1071. "scrollBar": [{ type: core_1.Input },],
  1072. "scrollingMode": [{ type: core_1.Input },],
  1073. "series": [{ type: core_1.Input },],
  1074. "seriesSelectionMode": [{ type: core_1.Input },],
  1075. "seriesTemplate": [{ type: core_1.Input },],
  1076. "size": [{ type: core_1.Input },],
  1077. "stickyHovering": [{ type: core_1.Input },],
  1078. "synchronizeMultiAxes": [{ type: core_1.Input },],
  1079. "theme": [{ type: core_1.Input },],
  1080. "title": [{ type: core_1.Input },],
  1081. "tooltip": [{ type: core_1.Input },],
  1082. "useAggregation": [{ type: core_1.Input },],
  1083. "valueAxis": [{ type: core_1.Input },],
  1084. "zoomAndPan": [{ type: core_1.Input },],
  1085. "zoomingMode": [{ type: core_1.Input },],
  1086. "onArgumentAxisClick": [{ type: core_1.Output },],
  1087. "onDisposing": [{ type: core_1.Output },],
  1088. "onDone": [{ type: core_1.Output },],
  1089. "onDrawn": [{ type: core_1.Output },],
  1090. "onExported": [{ type: core_1.Output },],
  1091. "onExporting": [{ type: core_1.Output },],
  1092. "onFileSaving": [{ type: core_1.Output },],
  1093. "onIncidentOccurred": [{ type: core_1.Output },],
  1094. "onInitialized": [{ type: core_1.Output },],
  1095. "onLegendClick": [{ type: core_1.Output },],
  1096. "onOptionChanged": [{ type: core_1.Output },],
  1097. "onPointClick": [{ type: core_1.Output },],
  1098. "onPointHoverChanged": [{ type: core_1.Output },],
  1099. "onPointSelectionChanged": [{ type: core_1.Output },],
  1100. "onSeriesClick": [{ type: core_1.Output },],
  1101. "onSeriesHoverChanged": [{ type: core_1.Output },],
  1102. "onSeriesSelectionChanged": [{ type: core_1.Output },],
  1103. "onTooltipHidden": [{ type: core_1.Output },],
  1104. "onTooltipShown": [{ type: core_1.Output },],
  1105. "onZoomEnd": [{ type: core_1.Output },],
  1106. "onZoomStart": [{ type: core_1.Output },],
  1107. "adaptiveLayoutChange": [{ type: core_1.Output },],
  1108. "adjustOnZoomChange": [{ type: core_1.Output },],
  1109. "animationChange": [{ type: core_1.Output },],
  1110. "annotationsChange": [{ type: core_1.Output },],
  1111. "argumentAxisChange": [{ type: core_1.Output },],
  1112. "autoHidePointMarkersChange": [{ type: core_1.Output },],
  1113. "barGroupPaddingChange": [{ type: core_1.Output },],
  1114. "barGroupWidthChange": [{ type: core_1.Output },],
  1115. "barWidthChange": [{ type: core_1.Output },],
  1116. "commonAnnotationSettingsChange": [{ type: core_1.Output },],
  1117. "commonAxisSettingsChange": [{ type: core_1.Output },],
  1118. "commonPaneSettingsChange": [{ type: core_1.Output },],
  1119. "commonSeriesSettingsChange": [{ type: core_1.Output },],
  1120. "containerBackgroundColorChange": [{ type: core_1.Output },],
  1121. "crosshairChange": [{ type: core_1.Output },],
  1122. "customizeAnnotationChange": [{ type: core_1.Output },],
  1123. "customizeLabelChange": [{ type: core_1.Output },],
  1124. "customizePointChange": [{ type: core_1.Output },],
  1125. "dataPrepareSettingsChange": [{ type: core_1.Output },],
  1126. "dataSourceChange": [{ type: core_1.Output },],
  1127. "defaultPaneChange": [{ type: core_1.Output },],
  1128. "disabledChange": [{ type: core_1.Output },],
  1129. "elementAttrChange": [{ type: core_1.Output },],
  1130. "equalBarWidthChange": [{ type: core_1.Output },],
  1131. "exportChange": [{ type: core_1.Output },],
  1132. "legendChange": [{ type: core_1.Output },],
  1133. "loadingIndicatorChange": [{ type: core_1.Output },],
  1134. "marginChange": [{ type: core_1.Output },],
  1135. "maxBubbleSizeChange": [{ type: core_1.Output },],
  1136. "minBubbleSizeChange": [{ type: core_1.Output },],
  1137. "negativesAsZeroesChange": [{ type: core_1.Output },],
  1138. "paletteChange": [{ type: core_1.Output },],
  1139. "paletteExtensionModeChange": [{ type: core_1.Output },],
  1140. "panesChange": [{ type: core_1.Output },],
  1141. "pathModifiedChange": [{ type: core_1.Output },],
  1142. "pointSelectionModeChange": [{ type: core_1.Output },],
  1143. "redrawOnResizeChange": [{ type: core_1.Output },],
  1144. "resolveLabelOverlappingChange": [{ type: core_1.Output },],
  1145. "rotatedChange": [{ type: core_1.Output },],
  1146. "rtlEnabledChange": [{ type: core_1.Output },],
  1147. "scrollBarChange": [{ type: core_1.Output },],
  1148. "scrollingModeChange": [{ type: core_1.Output },],
  1149. "seriesChange": [{ type: core_1.Output },],
  1150. "seriesSelectionModeChange": [{ type: core_1.Output },],
  1151. "seriesTemplateChange": [{ type: core_1.Output },],
  1152. "sizeChange": [{ type: core_1.Output },],
  1153. "stickyHoveringChange": [{ type: core_1.Output },],
  1154. "synchronizeMultiAxesChange": [{ type: core_1.Output },],
  1155. "themeChange": [{ type: core_1.Output },],
  1156. "titleChange": [{ type: core_1.Output },],
  1157. "tooltipChange": [{ type: core_1.Output },],
  1158. "useAggregationChange": [{ type: core_1.Output },],
  1159. "valueAxisChange": [{ type: core_1.Output },],
  1160. "zoomAndPanChange": [{ type: core_1.Output },],
  1161. "zoomingModeChange": [{ type: core_1.Output },],
  1162. "annotationsChildren": [{ type: core_1.ContentChildren, args: [annotation_dxi_2.DxiAnnotationComponent,] },],
  1163. "panesChildren": [{ type: core_1.ContentChildren, args: [pane_dxi_2.DxiPaneComponent,] },],
  1164. "seriesChildren": [{ type: core_1.ContentChildren, args: [series_dxi_2.DxiSeriesComponent,] },],
  1165. "valueAxisChildren": [{ type: core_1.ContentChildren, args: [value_axis_dxi_2.DxiValueAxisComponent,] },],
  1166. };
  1167. return DxChartComponent;
  1168. }(component_1.DxComponent));
  1169. exports.DxChartComponent = DxChartComponent;
  1170. var DxChartModule = (function () {
  1171. function DxChartModule() {
  1172. }
  1173. DxChartModule.decorators = [
  1174. { type: core_1.NgModule, args: [{
  1175. imports: [
  1176. adaptive_layout_1.DxoAdaptiveLayoutModule,
  1177. animation_1.DxoAnimationModule,
  1178. annotation_dxi_1.DxiAnnotationModule,
  1179. border_1.DxoBorderModule,
  1180. font_1.DxoFontModule,
  1181. image_1.DxoImageModule,
  1182. shadow_1.DxoShadowModule,
  1183. argument_axis_1.DxoArgumentAxisModule,
  1184. aggregation_interval_1.DxoAggregationIntervalModule,
  1185. break_dxi_1.DxiBreakModule,
  1186. break_style_1.DxoBreakStyleModule,
  1187. constant_line_dxi_1.DxiConstantLineModule,
  1188. label_1.DxoLabelModule,
  1189. constant_line_style_1.DxoConstantLineStyleModule,
  1190. grid_1.DxoGridModule,
  1191. format_1.DxoFormatModule,
  1192. minor_grid_1.DxoMinorGridModule,
  1193. minor_tick_1.DxoMinorTickModule,
  1194. minor_tick_interval_1.DxoMinorTickIntervalModule,
  1195. min_visual_range_length_1.DxoMinVisualRangeLengthModule,
  1196. strip_dxi_1.DxiStripModule,
  1197. strip_style_1.DxoStripStyleModule,
  1198. tick_1.DxoTickModule,
  1199. tick_interval_1.DxoTickIntervalModule,
  1200. title_1.DxoTitleModule,
  1201. common_annotation_settings_1.DxoCommonAnnotationSettingsModule,
  1202. common_axis_settings_1.DxoCommonAxisSettingsModule,
  1203. common_pane_settings_1.DxoCommonPaneSettingsModule,
  1204. common_series_settings_1.DxoCommonSeriesSettingsModule,
  1205. aggregation_1.DxoAggregationModule,
  1206. area_1.DxoAreaModule,
  1207. hover_style_1.DxoHoverStyleModule,
  1208. hatching_1.DxoHatchingModule,
  1209. connector_1.DxoConnectorModule,
  1210. point_1.DxoPointModule,
  1211. height_1.DxoHeightModule,
  1212. url_1.DxoUrlModule,
  1213. width_1.DxoWidthModule,
  1214. selection_style_1.DxoSelectionStyleModule,
  1215. reduction_1.DxoReductionModule,
  1216. value_error_bar_1.DxoValueErrorBarModule,
  1217. bar_1.DxoBarModule,
  1218. bubble_1.DxoBubbleModule,
  1219. candlestick_1.DxoCandlestickModule,
  1220. fullstackedarea_1.DxoFullstackedareaModule,
  1221. fullstackedbar_1.DxoFullstackedbarModule,
  1222. fullstackedline_1.DxoFullstackedlineModule,
  1223. fullstackedspline_1.DxoFullstackedsplineModule,
  1224. fullstackedsplinearea_1.DxoFullstackedsplineareaModule,
  1225. argument_format_1.DxoArgumentFormatModule,
  1226. line_1.DxoLineModule,
  1227. rangearea_1.DxoRangeareaModule,
  1228. rangebar_1.DxoRangebarModule,
  1229. scatter_1.DxoScatterModule,
  1230. spline_1.DxoSplineModule,
  1231. splinearea_1.DxoSplineareaModule,
  1232. stackedarea_1.DxoStackedareaModule,
  1233. stackedbar_1.DxoStackedbarModule,
  1234. stackedline_1.DxoStackedlineModule,
  1235. stackedspline_1.DxoStackedsplineModule,
  1236. stackedsplinearea_1.DxoStackedsplineareaModule,
  1237. steparea_1.DxoStepareaModule,
  1238. stepline_1.DxoSteplineModule,
  1239. stock_1.DxoStockModule,
  1240. crosshair_1.DxoCrosshairModule,
  1241. horizontal_line_1.DxoHorizontalLineModule,
  1242. vertical_line_1.DxoVerticalLineModule,
  1243. data_prepare_settings_1.DxoDataPrepareSettingsModule,
  1244. export_1.DxoExportModule,
  1245. legend_1.DxoLegendModule,
  1246. margin_1.DxoMarginModule,
  1247. subtitle_1.DxoSubtitleModule,
  1248. loading_indicator_1.DxoLoadingIndicatorModule,
  1249. pane_dxi_1.DxiPaneModule,
  1250. scroll_bar_1.DxoScrollBarModule,
  1251. series_dxi_1.DxiSeriesModule,
  1252. series_template_1.DxoSeriesTemplateModule,
  1253. size_1.DxoSizeModule,
  1254. tooltip_1.DxoTooltipModule,
  1255. value_axis_dxi_1.DxiValueAxisModule,
  1256. zoom_and_pan_1.DxoZoomAndPanModule,
  1257. drag_box_style_1.DxoDragBoxStyleModule,
  1258. integration_1.DxIntegrationModule,
  1259. template_1.DxTemplateModule,
  1260. platform_browser_1.BrowserTransferStateModule
  1261. ],
  1262. declarations: [
  1263. DxChartComponent
  1264. ],
  1265. exports: [
  1266. DxChartComponent,
  1267. adaptive_layout_1.DxoAdaptiveLayoutModule,
  1268. animation_1.DxoAnimationModule,
  1269. annotation_dxi_1.DxiAnnotationModule,
  1270. border_1.DxoBorderModule,
  1271. font_1.DxoFontModule,
  1272. image_1.DxoImageModule,
  1273. shadow_1.DxoShadowModule,
  1274. argument_axis_1.DxoArgumentAxisModule,
  1275. aggregation_interval_1.DxoAggregationIntervalModule,
  1276. break_dxi_1.DxiBreakModule,
  1277. break_style_1.DxoBreakStyleModule,
  1278. constant_line_dxi_1.DxiConstantLineModule,
  1279. label_1.DxoLabelModule,
  1280. constant_line_style_1.DxoConstantLineStyleModule,
  1281. grid_1.DxoGridModule,
  1282. format_1.DxoFormatModule,
  1283. minor_grid_1.DxoMinorGridModule,
  1284. minor_tick_1.DxoMinorTickModule,
  1285. minor_tick_interval_1.DxoMinorTickIntervalModule,
  1286. min_visual_range_length_1.DxoMinVisualRangeLengthModule,
  1287. strip_dxi_1.DxiStripModule,
  1288. strip_style_1.DxoStripStyleModule,
  1289. tick_1.DxoTickModule,
  1290. tick_interval_1.DxoTickIntervalModule,
  1291. title_1.DxoTitleModule,
  1292. common_annotation_settings_1.DxoCommonAnnotationSettingsModule,
  1293. common_axis_settings_1.DxoCommonAxisSettingsModule,
  1294. common_pane_settings_1.DxoCommonPaneSettingsModule,
  1295. common_series_settings_1.DxoCommonSeriesSettingsModule,
  1296. aggregation_1.DxoAggregationModule,
  1297. area_1.DxoAreaModule,
  1298. hover_style_1.DxoHoverStyleModule,
  1299. hatching_1.DxoHatchingModule,
  1300. connector_1.DxoConnectorModule,
  1301. point_1.DxoPointModule,
  1302. height_1.DxoHeightModule,
  1303. url_1.DxoUrlModule,
  1304. width_1.DxoWidthModule,
  1305. selection_style_1.DxoSelectionStyleModule,
  1306. reduction_1.DxoReductionModule,
  1307. value_error_bar_1.DxoValueErrorBarModule,
  1308. bar_1.DxoBarModule,
  1309. bubble_1.DxoBubbleModule,
  1310. candlestick_1.DxoCandlestickModule,
  1311. fullstackedarea_1.DxoFullstackedareaModule,
  1312. fullstackedbar_1.DxoFullstackedbarModule,
  1313. fullstackedline_1.DxoFullstackedlineModule,
  1314. fullstackedspline_1.DxoFullstackedsplineModule,
  1315. fullstackedsplinearea_1.DxoFullstackedsplineareaModule,
  1316. argument_format_1.DxoArgumentFormatModule,
  1317. line_1.DxoLineModule,
  1318. rangearea_1.DxoRangeareaModule,
  1319. rangebar_1.DxoRangebarModule,
  1320. scatter_1.DxoScatterModule,
  1321. spline_1.DxoSplineModule,
  1322. splinearea_1.DxoSplineareaModule,
  1323. stackedarea_1.DxoStackedareaModule,
  1324. stackedbar_1.DxoStackedbarModule,
  1325. stackedline_1.DxoStackedlineModule,
  1326. stackedspline_1.DxoStackedsplineModule,
  1327. stackedsplinearea_1.DxoStackedsplineareaModule,
  1328. steparea_1.DxoStepareaModule,
  1329. stepline_1.DxoSteplineModule,
  1330. stock_1.DxoStockModule,
  1331. crosshair_1.DxoCrosshairModule,
  1332. horizontal_line_1.DxoHorizontalLineModule,
  1333. vertical_line_1.DxoVerticalLineModule,
  1334. data_prepare_settings_1.DxoDataPrepareSettingsModule,
  1335. export_1.DxoExportModule,
  1336. legend_1.DxoLegendModule,
  1337. margin_1.DxoMarginModule,
  1338. subtitle_1.DxoSubtitleModule,
  1339. loading_indicator_1.DxoLoadingIndicatorModule,
  1340. pane_dxi_1.DxiPaneModule,
  1341. scroll_bar_1.DxoScrollBarModule,
  1342. series_dxi_1.DxiSeriesModule,
  1343. series_template_1.DxoSeriesTemplateModule,
  1344. size_1.DxoSizeModule,
  1345. tooltip_1.DxoTooltipModule,
  1346. value_axis_dxi_1.DxiValueAxisModule,
  1347. zoom_and_pan_1.DxoZoomAndPanModule,
  1348. drag_box_style_1.DxoDragBoxStyleModule,
  1349. template_1.DxTemplateModule
  1350. ]
  1351. },] },
  1352. ];
  1353. return DxChartModule;
  1354. }());
  1355. exports.DxChartModule = DxChartModule;
  1356. //# sourceMappingURL=chart.js.map