You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@syncfusion/ej2-office-chart

Package Overview
Dependencies
Maintainers
3
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-office-chart - npm Package Compare versions

Comparing version
32.1.19
to
32.1.24
+9
-0
dist/ej2-office-chart.min.js

@@ -0,1 +1,10 @@

/*!
* filename: ej2-office-chart.min.js
* version : 32.1.24
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("SyncfusionCharts"),require("SyncfusionSvgBase"),require("SyncfusionBase")):"function"==typeof define&&define.amd?define(["SyncfusionCharts","SyncfusionSvgBase","SyncfusionBase"],r):"object"==typeof exports?exports.SyncfusionOfficeChart=r(require("SyncfusionCharts"),require("SyncfusionSvgBase"),require("SyncfusionBase")):e.SyncfusionOfficeChart=r(e.SyncfusionCharts,e.SyncfusionSvgBase,e.SyncfusionBase)}(self,(e,r,t)=>(()=>{"use strict";var i={766:e=>{e.exports=t},60:r=>{r.exports=e},727:e=>{e.exports=r}},a={};function o(e){var r=a[e];if(void 0!==r)return r.exports;var t=a[e]={exports:{}};return i[e](t,t.exports,o),t.exports}o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{o.r(n),o.d(n,{ChartComponent:()=>i,backwardProperty:()=>M,categoryTypeProperty:()=>O,categoryXNameProperty:()=>z,chartCategoryProperty:()=>h,chartDataProperty:()=>d,chartLegendProperty:()=>y,chartPrimaryCategoryAxisProperty:()=>p,chartPrimaryValueAxisProperty:()=>l,chartSeriesProperty:()=>c,chartTitleProperty:()=>u,chartTypeProperty:()=>k,dataLabelProperty:()=>m,dataPointsProperty:()=>x,directionProperty:()=>T,endStyleProperty:()=>A,errorBarProperty:()=>g,fillProperty:()=>S,foreColorProperty:()=>P,forwardProperty:()=>B,hasMajorGridLinesProperty:()=>j,hasMinorGridLinesProperty:()=>V,heightProperty:()=>s,idProperty:()=>v,interceptProperty:()=>N,isAutoMajorProperty:()=>U,lineProperty:()=>I,majorUnitProperty:()=>D,maximumValueProperty:()=>F,minimumValueProperty:()=>R,nameProperty:()=>_,numberFormatProperty:()=>Y,positionProperty:()=>C,rgbProperty:()=>b,seriesFormatProperty:()=>X,seriesNameProperty:()=>f,sizeProperty:()=>G,trendLinesProperty:()=>w,typeProperty:()=>L,widthProperty:()=>a,yValueProperty:()=>E});var e=o(60),r=o(727),t=o(766);e.Chart.Inject(e.AreaSeries,e.StackingAreaSeries,e.BarSeries,e.PieSeries,e.StackingBarSeries,e.PolarSeries,e.ScatterSeries,e.BubbleSeries,e.RadarSeries,e.DateTime,e.ColumnSeries,e.StackingColumnSeries,e.LineSeries,e.StackingLineSeries,e.ErrorBar,e.Trendlines,e.SplineSeries,e.DataLabel,e.Category,e.Legend,e.Tooltip,e.Export),e.AccumulationChart.Inject(e.AccumulationLegend,e.PieSeries,e.AccumulationTooltip,e.AccumulationDataLabel);var i=function(){function i(){this.keywordIndex=void 0,this.chartYValues=[]}return i.prototype.chartRender=function(r,i){this.keywordIndex=(0,t.isNullOrUndefined)(i)?0:i,this.chartType=r[k[this.keywordIndex]],this.isPieType="Pie"===this.chartType||"Doughnut"===this.chartType;var o=this.chartData(r,this.chartType),n={enableAnimation:!1,width:r[a[this.keywordIndex]]*(96/72)+"px",height:r[s[this.keywordIndex]]*(96/72)+"px"};this.isPieType?this.chart=new e.AccumulationChart(n):(this.chart=new e.Chart(n),this.chart.primaryXAxis=this.chartPrimaryXAxis(r[p[this.keywordIndex]],this.chartType),this.chart.primaryYAxis=this.chartPrimaryYAxis(r[l[this.keywordIndex]])),this.chart.series=this.chartSeries(r[c[this.keywordIndex]],o,this.chartType);for(var d=0;d<this.chart.series.length;d++)this.chart.series[parseInt(d.toString(),10)].animation.enable=!1;this.chart.title=r[u[this.keywordIndex]],this.chart.legendSettings=this.parseChartLegend(r[y[this.keywordIndex]])},i.prototype.convertChartToImage=function(e,r,i){var a=this;return new Promise(function(o,n){var s=0,d=0,h=a.getControlsValue([e],r,i);s=s||h.width,d=d||h.height;var c=(0,t.createElement)("canvas"),y=Math.max(1,window.devicePixelRatio||1);c.width=s*y,c.height=d*y,c.style.width=s+"px",c.style.height=d+"px";var p=window.URL.createObjectURL(new Blob([(new XMLSerializer).serializeToString(h.svg)],{type:"image/svg+xml"})),l=new Image,u=c.getContext("2d");u.scale(y,y),l.onload=function(){u.drawImage(l,0,0),window.URL.revokeObjectURL(p);var e=c.toDataURL("image/png");o(e)},l.onerror=function(){n("Invalid data")},l.src=p})},i.prototype.getControlsValue=function(e,t,i){var a=0,o=0,n=new r.SvgRenderer("").createSvg({id:"Image_Export",width:200,height:200});return e.map(function(e){if(e){var r=e.svgObject.cloneNode(!0),i=e.renderer.createGroup({style:"transform: translateY("+o+"px)"});i.appendChild(r),a=Math.max(e.availableSize.width,t),o+=e.availableSize.height,e.svgObject.outerHTML,n.appendChild(i)}}),n.setAttribute("width",a+""),n.setAttribute("height",o+""),{width:a,height:o,svg:n}},i.prototype.officeChartType=function(e){var r="";switch(e){case"Area_Stacked":r="StackingArea";break;case"Area":r="Area";break;case"Area_Stacked_100":r="StackingArea100";break;case"Bar_Clustered":r="Bar";break;case"Bar_Stacked":r="StackingBar";break;case"Bar_Stacked_100":r="StackingBar100";break;case"Column_Clustered":r="Column";break;case"Column_Stacked":r="StackingColumn";break;case"Column_Stacked_100":r="StackingColumn100";break;case"Scatter_Markers":r="Scatter";break;case"Bubble":r="Bubble";break;case"Doughnut":case"Pie":r="Pie";break;case"Line_Stacked_100":case"Line_Markers_Stacked_100":r="StackingLine100";break;case"Line":case"Line_Markers":r="Line";break;case"Line_Stacked":case"Line_Markers_Stacked":r="StackingLine"}return r},i.prototype.chartSeries=function(e,r,t){for(var i=[],a=0;a<e.length;a++){var o=e[parseInt(a.toString(),10)],n=this.writeChartSeries(o,r,t,a);i.push(n)}return i},i.prototype.writeChartSeries=function(e,r,i,a){var o,n=this.officeChartType(i),s=e[x[this.keywordIndex]][parseInt(a.toString(),10)],d={};if(d.type=n,d.dataSource=r,d.name=e[f[this.keywordIndex]],d.xName="x",d.yName="y"+a,"Line"!==n&&"StackingLine"!==n&&"StackingLine100"!==n&&"Scatter"!==n&&"Bubble"!==n&&(d.legendShape="Rectangle"),"Bubble"===i&&(d.size="size"+a),this.isPieType?(d.pointColorMapping="color","Doughnut"===i&&(d.innerRadius="75%",d.radius="70%")):((0,t.isNullOrUndefined)(s)&&(s=e[x[this.keywordIndex]][0]),o=this.chartFormat(s,n),d.fill=o,(0,t.isNullOrUndefined)(s[S[this.keywordIndex]][P[this.keywordIndex]])||(d.pointColorMapping="color")),"Line_Markers"!==i&&"Line_Markers_Stacked"!==i&&"Line_Markers_Stacked_100"!==i||(d.marker={visible:!0,shape:"Circle",isFilled:!0}),e.hasOwnProperty(m[this.keywordIndex]))if(this.isPieType)d.dataLabel=this.parseDataLabels(e[m[this.keywordIndex]]);else{var h={};h.dataLabel=this.parseDataLabels(e[m[this.keywordIndex]]),d.marker=h}if(e.hasOwnProperty(g[this.keywordIndex])){var c=e[g[this.keywordIndex]];d.errorBar=this.parseErrorBars(c)}if(e.hasOwnProperty(w[this.keywordIndex]))for(var y=e[w[this.keywordIndex]],p=[],l=0;l<y.length;l++){var u,k=y[parseInt(l.toString(),10)];u=this.parseTrendLines(k,o),p.push(u),d.trendlines=p}return d},i.prototype.parseDataLabels=function(e){var r={visible:!0};return this.isPieType?"BestFit"===e[C[this.keywordIndex]]||"Inside"===e[C[this.keywordIndex]]?r.position="Inside":r.position="Outside":r.position=this.dataLabelPosition(e[C[this.keywordIndex]]),r},i.prototype.parseErrorBars=function(e){var r={visible:!0};return r.type=e[L[this.keywordIndex]],r.direction=e[T[this.keywordIndex]],"Cap"===e[A[this.keywordIndex]]?r.errorBarCap={width:1}:r.errorBarCap={width:0},r},i.prototype.parseTrendLines=function(e,r){var t={};return t.type=e[L[this.keywordIndex]],t.name=e[_[this.keywordIndex]],t.forwardForecast=e[B[this.keywordIndex]],t.backwardForecast=e[M[this.keywordIndex]],"NaN"===e[N[this.keywordIndex]]?t.intercept=0:t.intercept=e[N[this.keywordIndex]],t.fill=r,t},i.prototype.dataLabelPosition=function(e){var r="Auto";switch(e){case"Outside":r="Outer";break;case"Center":r="Middle";break;case"Inside":r="Top";break;case"OutsideBase":r="Bottom"}return r},i.prototype.chartFormat=function(e,r){var t=e;return"Line"===r||"StackingLine"===r||"StackingLine100"===r?t[I[this.keywordIndex]][b[this.keywordIndex]]:t[S[this.keywordIndex]][b[this.keywordIndex]]},i.prototype.chartPrimaryXAxis=function(e,r){var t={};e[u[this.keywordIndex]]&&(t.title=e[u[this.keywordIndex]]);var i=this.chartCategoryType(e[O[this.keywordIndex]]);return t.valueType=i,"DateTime"===i&&(t.intervalType="Days",t.labelFormat="M/d/yyyy",t.edgeLabelPlacement="Shift"),"Scatter_Markers"!==r&&"Bubble"!==r||this.checkAndSetAxisValue(t,e),this.parseBoolValue(e[j[this.keywordIndex]])&&(t.majorGridLines={width:1}),this.parseBoolValue(e[V[this.keywordIndex]])&&(t.minorTicksPerInterval=4),t},i.prototype.chartCategoryType=function(e){var r="";switch(e){case"Time":r="DateTime";break;case"Automatic":r="Category"}return r},i.prototype.chartPrimaryYAxis=function(e){var r={};return e[u[this.keywordIndex]]&&(r.title=e[u[this.keywordIndex]]),this.checkAndSetAxisValue(r,e),e[j[this.keywordIndex]]&&(r.majorGridLines={width:1}),e[V[this.keywordIndex]]&&(r.minorTicksPerInterval=4),r},i.prototype.checkAndSetAxisValue=function(e,r){if(0!==r[R[this.keywordIndex]]&&(e.minimum=r[R[this.keywordIndex]]),0!==r[F[this.keywordIndex]]&&(e.maximum=r[F[this.keywordIndex]]),0!==r[D[this.keywordIndex]]){var t=r[U[this.keywordIndex]];if(t&&this.parseBoolValue(t)){var i=this.calculateMajorUnit(this.chartYValues);i<10&&("Bar_Stacked_100"===this.chartType||"Line_Stacked_100"===this.chartType||"Column_Stacked_100"===this.chartType||"Line_Markers_Stacked_100"===this.chartType||"Area_Stacked_100"===this.chartType)?e.interval=10:e.interval=i}else e.interval=r[D[this.keywordIndex]]}},i.prototype.calculateMajorUnit=function(e){if(e&&e.length>0){for(var r=Number.MIN_VALUE,t=Number.MAX_VALUE,i=0;i<e.length;i++){var a=e[parseInt(i.toString(),10)];a>r&&(r=a),a<t&&(t=a)}var o=(r-t)/1.5;return this.roundToNiceNumber(o)}return 1},i.prototype.roundToNiceNumber=function(e){var r=Math.floor(Math.log(e)/Math.log(10)),t=Math.pow(10,r),i=e/t;return i<1.5?1*t:i<3?2*t:i<7?5*t:10*t},i.prototype.chartData=function(e,r){for(var t=e[h[this.keywordIndex]],i=[],a=0;a<t.length;a++){var o=t[parseInt(a.toString(),10)],n=this.chartPlotData(o,e,r,a);i.push(n)}return i},i.prototype.chartPlotData=function(e,r,i,a){var o=this,n={},s=r[c[this.keywordIndex]];if("m/d/yyyy"===r[p[this.keywordIndex]][Y[this.keywordIndex]]){var h=e[z[this.keywordIndex]].split("/"),y=Number(h[0]),l=Number(h[1]),u=Number(h[2]);n.x=new Date(u,y-1,l)}else n.x=e[z[this.keywordIndex]];for(var w=0;w<s.length;w++){var f=e[d[this.keywordIndex]][parseInt(w.toString(),10)];if(!(0,t.isNullOrUndefined)(f)){var m=f[E[this.keywordIndex]];this.chartYValues.push(m),n["y"+w]=m,"Bubble"===i&&(n["size"+w]=f[G[this.keywordIndex]])}if("Pie"===r[k[this.keywordIndex]]||"Doughnut"===r[k[this.keywordIndex]]||"Column_Stacked"===r[k[this.keywordIndex]]){var g=s[parseInt(w.toString(),10)],I=g[x[this.keywordIndex]].find(function(e){return e[v[o.keywordIndex]]===a});if((0,t.isNullOrUndefined)(I)){if(g[x[this.keywordIndex]].length>1&&0===g[x[this.keywordIndex]][parseInt(a.toString(),10)][v[this.keywordIndex]]){I=g[x[this.keywordIndex]][parseInt(a.toString(),10)];P=this.chartFormat(I,i);"Column_Stacked"!==r[k[this.keywordIndex]]?n.color=P:n["color"+w]=P}else if(!(0,t.isNullOrUndefined)(g[X[this.keywordIndex]])&&!(0,t.isNullOrUndefined)(g[X[this.keywordIndex]][S[this.keywordIndex]])&&g[X[this.keywordIndex]][S[this.keywordIndex]][b[this.keywordIndex]].length>7){P=this.getColor(g[X[this.keywordIndex]][S[this.keywordIndex]][b[this.keywordIndex]]);"Column_Stacked"!==r[k[this.keywordIndex]]?n.color=P:n["color"+w]=P}}else{var P=this.chartFormat(I,i);"Column_Stacked"!==r[k[this.keywordIndex]]?n.color=P:n["color"+w]=P}}}return n},i.prototype.getColor=function(e){return e.length>0&&"#"===e[0]&&e.length>7?e.slice(0,7):e},i.prototype.parseChartLegend=function(e){var r={},t=e[C[this.keywordIndex]];return"Corner"===t&&(t="right"),t?(r.visible=!0,r.position=t.charAt(0).toUpperCase()+t.slice(1)):r.visible=!1,r},i.prototype.parseBoolValue=function(e){return"string"==typeof e||e instanceof String?!(0,t.isNullOrUndefined)(e)&&"f"!==e&&"0"!==e&&"off"!==e&&"false"!==e:1===e||!0===e},i.prototype.destroy=function(){this.chart&&this.chart.destroy(),this.chart=void 0,this.chartYValues&&(this.chartYValues=[]),this.chartYValues=void 0},i}(),a=["width","w"],s=["height","h"],d=["chartData","chd"],h=["chartCategory","c"],c=["chartSeries","cs"],y=["chartLegend","cl"],p=["chartPrimaryCategoryAxis","cpca"],l=["chartPrimaryValueAxis","cpva"],u=["chartTitle","ctt"],k=["chartType","ct"],w=["trendLines","tl"],x=["dataPoints","dp"],f=["seriesName","sn"],m=["dataLabel","sl"],g=["errorBar","eb"],S=["fill","f"],I=["line","l"],b=["rgb","rgb"],v=["id","i"],P=["foreColor","fc"],C=["position","p"],L=["type","t"],_=["name","n"],T=["direction","dir"],A=["endStyle","est"],B=["forward","fw"],M=["backward","bw"],N=["intercept","itr"],O=["categoryType","ct"],j=["hasMajorGridLines","hmajgl"],V=["hasMinorGridLines","hmingl"],D=["majorUnit","maju"],U=["isAutoMajor","iam"],F=["maximumValue","maxv"],R=["minimumValue","minv"],z=["categoryXName","cx"],Y=["numberFormat","nf"],E=["yValue","y"],G=["size","sz"],X=["seriesFormat","sf"]})(),n})());

@@ -0,2 +1,11 @@

/*!
* filename: ej2-office-chart.umd.min.js
* version : 32.1.24
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@syncfusion/ej2-charts"),require("@syncfusion/ej2-svg-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-charts","@syncfusion/ej2-svg-base","@syncfusion/ej2-base"],r):r((e=e||self).ej={},e.ej2Charts,e.ej2SvgBase,e.ej2Base)}(this,function(e,a,D,u){"use strict";function r(){this.keywordIndex=void 0,this.chartYValues=[]}a.Chart.Inject(a.AreaSeries,a.StackingAreaSeries,a.BarSeries,a.PieSeries,a.StackingBarSeries,a.PolarSeries,a.ScatterSeries,a.BubbleSeries,a.RadarSeries,a.DateTime,a.ColumnSeries,a.StackingColumnSeries,a.LineSeries,a.StackingLineSeries,a.ErrorBar,a.Trendlines,a.SplineSeries,a.DataLabel,a.Category,a.Legend,a.Tooltip,a.Export),a.AccumulationChart.Inject(a.AccumulationLegend,a.PieSeries,a.AccumulationTooltip,a.AccumulationDataLabel),r.prototype.chartRender=function(e,r){this.keywordIndex=u.isNullOrUndefined(r)?0:r,this.chartType=e[m[this.keywordIndex]],this.isPieType="Pie"===this.chartType||"Doughnut"===this.chartType;var r=this.chartData(e,this.chartType),t={enableAnimation:!1,width:e[n[this.keywordIndex]]*(96/72)+"px",height:e[o[this.keywordIndex]]*(96/72)+"px"};this.isPieType?this.chart=new a.AccumulationChart(t):(this.chart=new a.Chart(t),this.chart.primaryXAxis=this.chartPrimaryXAxis(e[x[this.keywordIndex]],this.chartType),this.chart.primaryYAxis=this.chartPrimaryYAxis(e[h[this.keywordIndex]])),this.chart.series=this.chartSeries(e[w[this.keywordIndex]],r,this.chartType);for(var i=0;i<this.chart.series.length;i++)this.chart.series[parseInt(i.toString(),10)].animation.enable=!1;this.chart.title=e[c[this.keywordIndex]],this.chart.legendSettings=this.parseChartLegend(e[d[this.keywordIndex]])},r.prototype.convertChartToImage=function(c,y,p){var l=this;return new Promise(function(r,e){var t=l.getControlsValue([c],y,p),i=t.width,a=t.height,n=u.createElement("canvas"),o=Math.max(1,window.devicePixelRatio||1),s=(n.width=i*o,n.height=a*o,n.style.width=i+"px",n.style.height=a+"px",window.URL.createObjectURL(new Blob([(new XMLSerializer).serializeToString(t.svg)],{type:"image/svg+xml"}))),d=new Image,h=n.getContext("2d");h.scale(o,o),d.onload=function(){h.drawImage(d,0,0),window.URL.revokeObjectURL(s);var e=n.toDataURL("image/png");r(e)},d.onerror=function(){e("Invalid data")},d.src=s})},r.prototype.getControlsValue=function(e,i,r){var a=0,n=0,o=new D.SvgRenderer("").createSvg({id:"Image_Export",width:200,height:200});return e.map(function(e){var r,t;e&&(r=e.svgObject.cloneNode(!0),(t=e.renderer.createGroup({style:"transform: translateY("+n+"px)"})).appendChild(r),a=Math.max(e.availableSize.width,i),n+=e.availableSize.height,e.svgObject.outerHTML,o.appendChild(t))}),o.setAttribute("width",a+""),o.setAttribute("height",n+""),{width:a,height:n,svg:o}},r.prototype.officeChartType=function(e){var r="";switch(e){case"Area_Stacked":r="StackingArea";break;case"Area":r="Area";break;case"Area_Stacked_100":r="StackingArea100";break;case"Bar_Clustered":r="Bar";break;case"Bar_Stacked":r="StackingBar";break;case"Bar_Stacked_100":r="StackingBar100";break;case"Column_Clustered":r="Column";break;case"Column_Stacked":r="StackingColumn";break;case"Column_Stacked_100":r="StackingColumn100";break;case"Scatter_Markers":r="Scatter";break;case"Bubble":r="Bubble";break;case"Doughnut":case"Pie":r="Pie";break;case"Line_Stacked_100":case"Line_Markers_Stacked_100":r="StackingLine100";break;case"Line":case"Line_Markers":r="Line";break;case"Line_Stacked":case"Line_Markers_Stacked":r="StackingLine"}return r},r.prototype.chartSeries=function(e,r,t){for(var i=[],a=0;a<e.length;a++){var n=e[parseInt(a.toString(),10)],n=this.writeChartSeries(n,r,t,a);i.push(n)}return i},r.prototype.writeChartSeries=function(e,r,t,i){var a,n=this.officeChartType(t),o=e[g[this.keywordIndex]][parseInt(i.toString(),10)],s={};if(s.type=n,s.dataSource=r,s.name=e[l[this.keywordIndex]],s.xName="x",s.yName="y"+i,"Line"!==n&&"StackingLine"!==n&&"StackingLine100"!==n&&"Scatter"!==n&&"Bubble"!==n&&(s.legendShape="Rectangle"),"Bubble"===t&&(s.size="size"+i),this.isPieType?(s.pointColorMapping="color","Doughnut"===t&&(s.innerRadius="75%",s.radius="70%")):(u.isNullOrUndefined(o)&&(o=e[g[this.keywordIndex]][0]),a=this.chartFormat(o,n),s.fill=a,u.isNullOrUndefined(o[S[this.keywordIndex]][v[this.keywordIndex]])||(s.pointColorMapping="color")),"Line_Markers"!==t&&"Line_Markers_Stacked"!==t&&"Line_Markers_Stacked_100"!==t||(s.marker={visible:!0,shape:"Circle",isFilled:!0}),e.hasOwnProperty(I[this.keywordIndex])&&(this.isPieType?s.dataLabel=this.parseDataLabels(e[I[this.keywordIndex]]):((r={}).dataLabel=this.parseDataLabels(e[I[this.keywordIndex]]),s.marker=r)),e.hasOwnProperty(f[this.keywordIndex])&&(i=e[f[this.keywordIndex]],s.errorBar=this.parseErrorBars(i)),e.hasOwnProperty(p[this.keywordIndex]))for(var d=e[p[this.keywordIndex]],h=[],c=0;c<d.length;c++){var y=d[parseInt(c.toString(),10)],y=this.parseTrendLines(y,a);h.push(y),s.trendlines=h}return s},r.prototype.parseDataLabels=function(e){var r={visible:!0};return this.isPieType?"BestFit"===e[i[this.keywordIndex]]||"Inside"===e[i[this.keywordIndex]]?r.position="Inside":r.position="Outside":r.position=this.dataLabelPosition(e[i[this.keywordIndex]]),r},r.prototype.parseErrorBars=function(e){var r={visible:!0};return r.type=e[y[this.keywordIndex]],r.direction=e[C[this.keywordIndex]],"Cap"===e[O[this.keywordIndex]]?r.errorBarCap={width:1}:r.errorBarCap={width:0},r},r.prototype.parseTrendLines=function(e,r){var t={};return t.type=e[y[this.keywordIndex]],t.name=e[L[this.keywordIndex]],t.forwardForecast=e[U[this.keywordIndex]],t.backwardForecast=e[F[this.keywordIndex]],"NaN"===e[_[this.keywordIndex]]?t.intercept=0:t.intercept=e[_[this.keywordIndex]],t.fill=r,t},r.prototype.dataLabelPosition=function(e){var r="Auto";switch(e){case"Outside":r="Outer";break;case"Center":r="Middle";break;case"Inside":r="Top";break;case"OutsideBase":r="Bottom"}return r},r.prototype.chartFormat=function(e,r){return("Line"===r||"StackingLine"===r||"StackingLine100"===r?e[t[this.keywordIndex]]:e[S[this.keywordIndex]])[b[this.keywordIndex]]},r.prototype.chartPrimaryXAxis=function(e,r){var t={},i=(e[c[this.keywordIndex]]&&(t.title=e[c[this.keywordIndex]]),this.chartCategoryType(e[R[this.keywordIndex]]));return"DateTime"===(t.valueType=i)&&(t.intervalType="Days",t.labelFormat="M/d/yyyy",t.edgeLabelPlacement="Shift"),"Scatter_Markers"!==r&&"Bubble"!==r||this.checkAndSetAxisValue(t,e),this.parseBoolValue(e[T[this.keywordIndex]])&&(t.majorGridLines={width:1}),this.parseBoolValue(e[A[this.keywordIndex]])&&(t.minorTicksPerInterval=4),t},r.prototype.chartCategoryType=function(e){var r="";switch(e){case"Time":r="DateTime";break;case"Automatic":r="Category"}return r},r.prototype.chartPrimaryYAxis=function(e){var r={};return e[c[this.keywordIndex]]&&(r.title=e[c[this.keywordIndex]]),this.checkAndSetAxisValue(r,e),e[T[this.keywordIndex]]&&(r.majorGridLines={width:1}),e[A[this.keywordIndex]]&&(r.minorTicksPerInterval=4),r},r.prototype.checkAndSetAxisValue=function(e,r){var t;0!==r[j[this.keywordIndex]]&&(e.minimum=r[j[this.keywordIndex]]),0!==r[M[this.keywordIndex]]&&(e.maximum=r[M[this.keywordIndex]]),0!==r[B[this.keywordIndex]]&&((t=r[z[this.keywordIndex]])&&this.parseBoolValue(t)?(t=this.calculateMajorUnit(this.chartYValues))<10&&("Bar_Stacked_100"===this.chartType||"Line_Stacked_100"===this.chartType||"Column_Stacked_100"===this.chartType||"Line_Markers_Stacked_100"===this.chartType||"Area_Stacked_100"===this.chartType)?e.interval=10:e.interval=t:e.interval=r[B[this.keywordIndex]])},r.prototype.calculateMajorUnit=function(e){if(e&&0<e.length){for(var r=Number.MIN_VALUE,t=Number.MAX_VALUE,i=0;i<e.length;i++){var a=e[parseInt(i.toString(),10)];r<a&&(r=a),a<t&&(t=a)}return this.roundToNiceNumber((r-t)/1.5)}return 1},r.prototype.roundToNiceNumber=function(e){var r=Math.floor(Math.log(e)/Math.log(10)),r=Math.pow(10,r),e=e/r;return e<1.5?+r:e<3?2*r:e<7?5*r:10*r},r.prototype.chartData=function(e,r){for(var t=e[s[this.keywordIndex]],i=[],a=0;a<t.length;a++){var n=t[parseInt(a.toString(),10)],n=this.chartPlotData(n,e,r,a);i.push(n)}return i},r.prototype.chartPlotData=function(e,r,t,i){var a,n,o,s=this,d={},h=r[w[this.keywordIndex]];"m/d/yyyy"===r[x[this.keywordIndex]][Y[this.keywordIndex]]?(o=e[N[this.keywordIndex]].split("/"),a=Number(o[0]),n=Number(o[1]),o=Number(o[2]),d.x=new Date(o,a-1,n)):d.x=e[N[this.keywordIndex]];for(var c=0;c<h.length;c++){var y,p,l=e[k[this.keywordIndex]][parseInt(c.toString(),10)];u.isNullOrUndefined(l)||(y=l[E[this.keywordIndex]],this.chartYValues.push(y),d["y"+c]=y,"Bubble"===t&&(d["size"+c]=l[G[this.keywordIndex]])),"Pie"!==r[m[this.keywordIndex]]&&"Doughnut"!==r[m[this.keywordIndex]]&&"Column_Stacked"!==r[m[this.keywordIndex]]||(l=(y=h[parseInt(c.toString(),10)])[g[this.keywordIndex]].find(function(e){return e[P[s.keywordIndex]]===i}),u.isNullOrUndefined(l)?1<y[g[this.keywordIndex]].length&&0===y[g[this.keywordIndex]][parseInt(i.toString(),10)][P[this.keywordIndex]]?(l=y[g[this.keywordIndex]][parseInt(i.toString(),10)],p=this.chartFormat(l,t),"Column_Stacked"!==r[m[this.keywordIndex]]?d.color=p:d["color"+c]=p):u.isNullOrUndefined(y[V[this.keywordIndex]])||u.isNullOrUndefined(y[V[this.keywordIndex]][S[this.keywordIndex]])||7<y[V[this.keywordIndex]][S[this.keywordIndex]][b[this.keywordIndex]].length&&(p=this.getColor(y[V[this.keywordIndex]][S[this.keywordIndex]][b[this.keywordIndex]]),"Column_Stacked"!==r[m[this.keywordIndex]]?d.color=p:d["color"+c]=p):(p=this.chartFormat(l,t),"Column_Stacked"!==r[m[this.keywordIndex]]?d.color=p:d["color"+c]=p))}return d},r.prototype.getColor=function(e){return 0<e.length&&"#"===e[0]&&7<e.length?e.slice(0,7):e},r.prototype.parseChartLegend=function(e){var r={},e=e[i[this.keywordIndex]];return(e="Corner"===e?"right":e)?(r.visible=!0,r.position=e.charAt(0).toUpperCase()+e.slice(1)):r.visible=!1,r},r.prototype.parseBoolValue=function(e){return"string"==typeof e||e instanceof String?!u.isNullOrUndefined(e)&&"f"!==e&&"0"!==e&&"off"!==e&&"false"!==e:1===e||!0===e},r.prototype.destroy=function(){this.chart&&this.chart.destroy(),this.chart=void 0,this.chartYValues&&(this.chartYValues=[]),this.chartYValues=void 0};var n=["width","w"],o=["height","h"],k=["chartData","chd"],s=["chartCategory","c"],w=["chartSeries","cs"],d=["chartLegend","cl"],x=["chartPrimaryCategoryAxis","cpca"],h=["chartPrimaryValueAxis","cpva"],c=["chartTitle","ctt"],m=["chartType","ct"],p=["trendLines","tl"],g=["dataPoints","dp"],l=["seriesName","sn"],I=["dataLabel","sl"],f=["errorBar","eb"],S=["fill","f"],t=["line","l"],b=["rgb","rgb"],P=["id","i"],v=["foreColor","fc"],i=["position","p"],y=["type","t"],L=["name","n"],C=["direction","dir"],O=["endStyle","est"],U=["forward","fw"],F=["backward","bw"],_=["intercept","itr"],R=["categoryType","ct"],T=["hasMajorGridLines","hmajgl"],A=["hasMinorGridLines","hmingl"],B=["majorUnit","maju"],z=["isAutoMajor","iam"],M=["maximumValue","maxv"],j=["minimumValue","minv"],N=["categoryXName","cx"],Y=["numberFormat","nf"],E=["yValue","y"],G=["size","sz"],V=["seriesFormat","sf"];e.ChartComponent=r,e.backwardProperty=F,e.categoryTypeProperty=R,e.categoryXNameProperty=N,e.chartCategoryProperty=s,e.chartDataProperty=k,e.chartLegendProperty=d,e.chartPrimaryCategoryAxisProperty=x,e.chartPrimaryValueAxisProperty=h,e.chartSeriesProperty=w,e.chartTitleProperty=c,e.chartTypeProperty=m,e.dataLabelProperty=I,e.dataPointsProperty=g,e.directionProperty=C,e.endStyleProperty=O,e.errorBarProperty=f,e.fillProperty=S,e.foreColorProperty=v,e.forwardProperty=U,e.hasMajorGridLinesProperty=T,e.hasMinorGridLinesProperty=A,e.heightProperty=o,e.idProperty=P,e.interceptProperty=_,e.isAutoMajorProperty=z,e.lineProperty=t,e.majorUnitProperty=B,e.maximumValueProperty=M,e.minimumValueProperty=j,e.nameProperty=L,e.numberFormatProperty=Y,e.positionProperty=i,e.rgbProperty=b,e.seriesFormatProperty=V,e.seriesNameProperty=l,e.sizeProperty=G,e.trendLinesProperty=p,e.typeProperty=y,e.widthProperty=n,e.yValueProperty=E,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-office-chart.umd.min.js.map

@@ -0,2 +1,11 @@

/*!
* filename: ej2-office-chart.min.js
* version : 32.1.24
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
this.ej=this.ej||{},this.ej.officechart=function(e,r,t,i){"use strict";r.Chart.Inject(r.AreaSeries,r.StackingAreaSeries,r.BarSeries,r.PieSeries,r.StackingBarSeries,r.PolarSeries,r.ScatterSeries,r.BubbleSeries,r.RadarSeries,r.DateTime,r.ColumnSeries,r.StackingColumnSeries,r.LineSeries,r.StackingLineSeries,r.ErrorBar,r.Trendlines,r.SplineSeries,r.DataLabel,r.Category,r.Legend,r.Tooltip,r.Export),r.AccumulationChart.Inject(r.AccumulationLegend,r.PieSeries,r.AccumulationTooltip,r.AccumulationDataLabel);var a=function(){function e(){this.keywordIndex=void 0,this.chartYValues=[]}return e.prototype.chartRender=function(e,t){this.keywordIndex=i.isNullOrUndefined(t)?0:t,this.chartType=e[u[this.keywordIndex]],this.isPieType="Pie"===this.chartType||"Doughnut"===this.chartType;var a=this.chartData(e,this.chartType),s={enableAnimation:!1,width:e[n[this.keywordIndex]]*(96/72)+"px",height:e[o[this.keywordIndex]]*(96/72)+"px"};this.isPieType?this.chart=new r.AccumulationChart(s):(this.chart=new r.Chart(s),this.chart.primaryXAxis=this.chartPrimaryXAxis(e[y[this.keywordIndex]],this.chartType),this.chart.primaryYAxis=this.chartPrimaryYAxis(e[l[this.keywordIndex]])),this.chart.series=this.chartSeries(e[h[this.keywordIndex]],a,this.chartType);for(var d=0;d<this.chart.series.length;d++)this.chart.series[parseInt(d.toString(),10)].animation.enable=!1;this.chart.title=e[p[this.keywordIndex]],this.chart.legendSettings=this.parseChartLegend(e[c[this.keywordIndex]])},e.prototype.convertChartToImage=function(e,r,t){var a=this;return new Promise(function(n,o){var s=0,d=0,h=a.getControlsValue([e],r,t);s=s||h.width,d=d||h.height;var c=i.createElement("canvas"),y=Math.max(1,window.devicePixelRatio||1);c.width=s*y,c.height=d*y,c.style.width=s+"px",c.style.height=d+"px";var l=window.URL.createObjectURL(new Blob([(new XMLSerializer).serializeToString(h.svg)],{type:"image/svg+xml"})),p=new Image,u=c.getContext("2d");u.scale(y,y),p.onload=function(){u.drawImage(p,0,0),window.URL.revokeObjectURL(l);var e=c.toDataURL("image/png");n(e)},p.onerror=function(){o("Invalid data")},p.src=l})},e.prototype.getControlsValue=function(e,r,i){var a=0,n=0,o="",s=new t.SvgRenderer("").createSvg({id:"Image_Export",width:200,height:200});return e.map(function(e){if(e){var t=e.svgObject.cloneNode(!0),i=e.renderer.createGroup({style:"transform: translateY("+n+"px)"});i.appendChild(t),a=Math.max(e.availableSize.width,r),n+=e.availableSize.height,o+=e.svgObject.outerHTML,s.appendChild(i)}}),s.setAttribute("width",a+""),s.setAttribute("height",n+""),{width:a,height:n,svg:s}},e.prototype.officeChartType=function(e){var r="";switch(e){case"Area_Stacked":r="StackingArea";break;case"Area":r="Area";break;case"Area_Stacked_100":r="StackingArea100";break;case"Bar_Clustered":r="Bar";break;case"Bar_Stacked":r="StackingBar";break;case"Bar_Stacked_100":r="StackingBar100";break;case"Column_Clustered":r="Column";break;case"Column_Stacked":r="StackingColumn";break;case"Column_Stacked_100":r="StackingColumn100";break;case"Scatter_Markers":r="Scatter";break;case"Bubble":r="Bubble";break;case"Doughnut":case"Pie":r="Pie";break;case"Line_Stacked_100":case"Line_Markers_Stacked_100":r="StackingLine100";break;case"Line":case"Line_Markers":r="Line";break;case"Line_Stacked":case"Line_Markers_Stacked":r="StackingLine"}return r},e.prototype.chartSeries=function(e,r,t){for(var i=[],a=0;a<e.length;a++){var n=e[parseInt(a.toString(),10)],o=this.writeChartSeries(n,r,t,a);i.push(o)}return i},e.prototype.writeChartSeries=function(e,r,t,a){var n,o=this.officeChartType(t),s=e[w[this.keywordIndex]][parseInt(a.toString(),10)],d={};if(d.type=o,d.dataSource=r,d.name=e[x[this.keywordIndex]],d.xName="x",d.yName="y"+a,"Line"!==o&&"StackingLine"!==o&&"StackingLine100"!==o&&"Scatter"!==o&&"Bubble"!==o&&(d.legendShape="Rectangle"),"Bubble"===t&&(d.size="size"+a),this.isPieType?(d.pointColorMapping="color","Doughnut"===t&&(d.innerRadius="75%",d.radius="70%")):(i.isNullOrUndefined(s)&&(s=e[w[this.keywordIndex]][0]),n=this.chartFormat(s,o),d.fill=n,i.isNullOrUndefined(s[g[this.keywordIndex]][v[this.keywordIndex]])||(d.pointColorMapping="color")),"Line_Markers"!==t&&"Line_Markers_Stacked"!==t&&"Line_Markers_Stacked_100"!==t||(d.marker={visible:!0,shape:"Circle",isFilled:!0}),e.hasOwnProperty(m[this.keywordIndex]))if(this.isPieType)d.dataLabel=this.parseDataLabels(e[m[this.keywordIndex]]);else{var h={};h.dataLabel=this.parseDataLabels(e[m[this.keywordIndex]]),d.marker=h}if(e.hasOwnProperty(I[this.keywordIndex])){var c=e[I[this.keywordIndex]];d.errorBar=this.parseErrorBars(c)}if(e.hasOwnProperty(k[this.keywordIndex]))for(var y=e[k[this.keywordIndex]],l=[],p=0;p<y.length;p++){var u=y[parseInt(p.toString(),10)],S={};S=this.parseTrendLines(u,n),l.push(S),d.trendlines=l}return d},e.prototype.parseDataLabels=function(e){var r={};return r.visible=!0,this.isPieType?"BestFit"===e[P[this.keywordIndex]]||"Inside"===e[P[this.keywordIndex]]?r.position="Inside":r.position="Outside":r.position=this.dataLabelPosition(e[P[this.keywordIndex]]),r},e.prototype.parseErrorBars=function(e){var r={};return r.visible=!0,r.type=e[L[this.keywordIndex]],r.direction=e[_[this.keywordIndex]],"Cap"===e[T[this.keywordIndex]]?r.errorBarCap={width:1}:r.errorBarCap={width:0},r},e.prototype.parseTrendLines=function(e,r){var t={};return t.type=e[L[this.keywordIndex]],t.name=e[C[this.keywordIndex]],t.forwardForecast=e[A[this.keywordIndex]],t.backwardForecast=e[B[this.keywordIndex]],"NaN"===e[M[this.keywordIndex]]?t.intercept=0:t.intercept=e[M[this.keywordIndex]],t.fill=r,t},e.prototype.dataLabelPosition=function(e){var r="Auto";switch(e){case"Outside":r="Outer";break;case"Center":r="Middle";break;case"Inside":r="Top";break;case"OutsideBase":r="Bottom"}return r},e.prototype.chartFormat=function(e,r){var t=e;return"Line"===r||"StackingLine"===r||"StackingLine100"===r?t[S[this.keywordIndex]][f[this.keywordIndex]]:t[g[this.keywordIndex]][f[this.keywordIndex]]},e.prototype.chartPrimaryXAxis=function(e,r){var t={};e[p[this.keywordIndex]]&&(t.title=e[p[this.keywordIndex]]);var i=this.chartCategoryType(e[N[this.keywordIndex]]);return t.valueType=i,"DateTime"===i&&(t.intervalType="Days",t.labelFormat="M/d/yyyy",t.edgeLabelPlacement="Shift"),"Scatter_Markers"!==r&&"Bubble"!==r||this.checkAndSetAxisValue(t,e),this.parseBoolValue(e[j[this.keywordIndex]])&&(t.majorGridLines={width:1}),this.parseBoolValue(e[V[this.keywordIndex]])&&(t.minorTicksPerInterval=4),t},e.prototype.chartCategoryType=function(e){var r="";switch(e){case"Time":r="DateTime";break;case"Automatic":r="Category"}return r},e.prototype.chartPrimaryYAxis=function(e){var r={};return e[p[this.keywordIndex]]&&(r.title=e[p[this.keywordIndex]]),this.checkAndSetAxisValue(r,e),e[j[this.keywordIndex]]&&(r.majorGridLines={width:1}),e[V[this.keywordIndex]]&&(r.minorTicksPerInterval=4),r},e.prototype.checkAndSetAxisValue=function(e,r){if(0!==r[F[this.keywordIndex]]&&(e.minimum=r[F[this.keywordIndex]]),0!==r[O[this.keywordIndex]]&&(e.maximum=r[O[this.keywordIndex]]),0!==r[D[this.keywordIndex]]){var t=r[U[this.keywordIndex]];if(t&&this.parseBoolValue(t)){var i=this.calculateMajorUnit(this.chartYValues);i<10&&("Bar_Stacked_100"===this.chartType||"Line_Stacked_100"===this.chartType||"Column_Stacked_100"===this.chartType||"Line_Markers_Stacked_100"===this.chartType||"Area_Stacked_100"===this.chartType)?e.interval=10:e.interval=i}else e.interval=r[D[this.keywordIndex]]}},e.prototype.calculateMajorUnit=function(e){if(e&&e.length>0){for(var r=Number.MIN_VALUE,t=Number.MAX_VALUE,i=0;i<e.length;i++){var a=e[parseInt(i.toString(),10)];a>r&&(r=a),a<t&&(t=a)}var n=(r-t)/1.5;return this.roundToNiceNumber(n)}return 1},e.prototype.roundToNiceNumber=function(e){var r=Math.floor(Math.log(e)/Math.log(10)),t=Math.pow(10,r),i=e/t;return i<1.5?1*t:i<3?2*t:i<7?5*t:10*t},e.prototype.chartData=function(e,r){for(var t=e[d[this.keywordIndex]],i=[],a=0;a<t.length;a++){var n=t[parseInt(a.toString(),10)],o=this.chartPlotData(n,e,r,a);i.push(o)}return i},e.prototype.chartPlotData=function(e,r,t,a){var n=this,o={},d=r[h[this.keywordIndex]];if("m/d/yyyy"===r[y[this.keywordIndex]][z[this.keywordIndex]]){var c=e[R[this.keywordIndex]].split("/"),l=Number(c[0]),p=Number(c[1]),k=Number(c[2]);o.x=new Date(k,l-1,p)}else o.x=e[R[this.keywordIndex]];for(var x=0;x<d.length;x++){var m=e[s[this.keywordIndex]][parseInt(x.toString(),10)];if(!i.isNullOrUndefined(m)){var I=m[Y[this.keywordIndex]];this.chartYValues.push(I),o["y"+x]=I,"Bubble"===t&&(o["size"+x]=m[E[this.keywordIndex]])}if("Pie"===r[u[this.keywordIndex]]||"Doughnut"===r[u[this.keywordIndex]]||"Column_Stacked"===r[u[this.keywordIndex]]){var S=d[parseInt(x.toString(),10)],v=S[w[this.keywordIndex]].find(function(e){return e[b[n.keywordIndex]]===a});if(i.isNullOrUndefined(v)){if(S[w[this.keywordIndex]].length>1&&0===S[w[this.keywordIndex]][parseInt(a.toString(),10)][b[this.keywordIndex]]){v=S[w[this.keywordIndex]][parseInt(a.toString(),10)];P=this.chartFormat(v,t);"Column_Stacked"!==r[u[this.keywordIndex]]?o.color=P:o["color"+x]=P}else if(!i.isNullOrUndefined(S[G[this.keywordIndex]])&&!i.isNullOrUndefined(S[G[this.keywordIndex]][g[this.keywordIndex]])&&S[G[this.keywordIndex]][g[this.keywordIndex]][f[this.keywordIndex]].length>7){P=this.getColor(S[G[this.keywordIndex]][g[this.keywordIndex]][f[this.keywordIndex]]);"Column_Stacked"!==r[u[this.keywordIndex]]?o.color=P:o["color"+x]=P}}else{var P=this.chartFormat(v,t);"Column_Stacked"!==r[u[this.keywordIndex]]?o.color=P:o["color"+x]=P}}}return o},e.prototype.getColor=function(e){return e.length>0&&"#"===e[0]&&e.length>7?e.slice(0,7):e},e.prototype.parseChartLegend=function(e){var r={},t=e[P[this.keywordIndex]];return"Corner"===t&&(t="right"),t?(r.visible=!0,r.position=t.charAt(0).toUpperCase()+t.slice(1)):r.visible=!1,r},e.prototype.parseBoolValue=function(e){return"string"==typeof e||e instanceof String?!i.isNullOrUndefined(e)&&"f"!==e&&"0"!==e&&"off"!==e&&"false"!==e:1===e||!0===e},e.prototype.destroy=function(){this.chart&&this.chart.destroy(),this.chart=void 0,this.chartYValues&&(this.chartYValues=[]),this.chartYValues=void 0},e}(),n=["width","w"],o=["height","h"],s=["chartData","chd"],d=["chartCategory","c"],h=["chartSeries","cs"],c=["chartLegend","cl"],y=["chartPrimaryCategoryAxis","cpca"],l=["chartPrimaryValueAxis","cpva"],p=["chartTitle","ctt"],u=["chartType","ct"],k=["trendLines","tl"],w=["dataPoints","dp"],x=["seriesName","sn"],m=["dataLabel","sl"],I=["errorBar","eb"],g=["fill","f"],S=["line","l"],f=["rgb","rgb"],b=["id","i"],v=["foreColor","fc"],P=["position","p"],L=["type","t"],C=["name","n"],_=["direction","dir"],T=["endStyle","est"],A=["forward","fw"],B=["backward","bw"],M=["intercept","itr"],N=["categoryType","ct"],j=["hasMajorGridLines","hmajgl"],V=["hasMinorGridLines","hmingl"],D=["majorUnit","maju"],U=["isAutoMajor","iam"],O=["maximumValue","maxv"],F=["minimumValue","minv"],R=["categoryXName","cx"],z=["numberFormat","nf"],Y=["yValue","y"],E=["size","sz"],G=["seriesFormat","sf"];return e.ChartComponent=a,e.backwardProperty=B,e.categoryTypeProperty=N,e.categoryXNameProperty=R,e.chartCategoryProperty=d,e.chartDataProperty=s,e.chartLegendProperty=c,e.chartPrimaryCategoryAxisProperty=y,e.chartPrimaryValueAxisProperty=l,e.chartSeriesProperty=h,e.chartTitleProperty=p,e.chartTypeProperty=u,e.dataLabelProperty=m,e.dataPointsProperty=w,e.directionProperty=_,e.endStyleProperty=T,e.errorBarProperty=I,e.fillProperty=g,e.foreColorProperty=v,e.forwardProperty=A,e.hasMajorGridLinesProperty=j,e.hasMinorGridLinesProperty=V,e.heightProperty=o,e.idProperty=b,e.interceptProperty=M,e.isAutoMajorProperty=U,e.lineProperty=S,e.majorUnitProperty=D,e.maximumValueProperty=O,e.minimumValueProperty=F,e.nameProperty=C,e.numberFormatProperty=z,e.positionProperty=P,e.rgbProperty=f,e.seriesFormatProperty=G,e.seriesNameProperty=x,e.sizeProperty=E,e.trendLinesProperty=k,e.typeProperty=L,e.widthProperty=n,e.yValueProperty=Y,e}({},ej.charts,ej.svgbase,ej.base),this.ejs=ej;
//# sourceMappingURL=ej2-office-chart.min.js.map

@@ -0,1 +1,10 @@

/*!
* filename: index.d.ts
* version : 32.1.24
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
import * as _officechart from '@syncfusion/ej2-office-chart';

@@ -2,0 +11,0 @@

+2
-2
{
"name": "@syncfusion/ej2-office-chart",
"version": "32.1.19",
"version": "32.1.24",
"description": "Essential JS 2 Component",

@@ -11,3 +11,3 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-charts": "~32.1.19"
"@syncfusion/ej2-charts": "~32.1.24"
},

@@ -14,0 +14,0 @@ "devDependencies": {},