import{b as i}from"./chunk-AVOTGRPZ.js";import{Ja as o,Lb as c,ib as s,jb as r,oa as a}from"./chunk-GJDGQISV.js";var f=class t{config;data;constructor(){}ngAfterViewInit(){this.initLineChart()}ngOnChanges(){this.initLineChart()}initLineChart(){this.config.series=this.data.series,i.default.chart("container1",this.config);let n={lang:{thousandsSep:","}};i.default.setOptions(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=s({type:t,selectors:[["POS-line-chart"]],inputs:{config:"config",data:"data"},standalone:!1,features:[o],decls:2,vars:0,consts:[["container1",""],["id","container1"]],template:function(e,h){e&1&&c(0,"div",1,0)},encapsulation:2})},p=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=r({type:t});static \u0275inj=a({})};export{f as a,p as b};
