Файловый менеджер - Редактировать - /home/bean7936/deribos.com/wp-content3e392d/plugins/graphina-elementor-charts-and-graphs/dist/polar.js
Назад
import{G as n}from"./GraphinaApexChartBase.js";class s extends n{constructor(){super(),this.observer={}}setUpChartsHandler(){this.chartHandlers={polar:e=>this.observeChartElement(e,"polar")}}applyDataLabelFormatter(e,a,o=!1){let i=a.chart_datalabel_prefix??"",r=a.chart_datalabel_postfix??"";e.dataLabels||(e.dataLabels={}),a.chart_data_label_pointer?e.tooltip.y={formatter:l=>i+this.formatNumber(l,a.chart_datalabel_decimals_in_float)+r}:e.tooltip.y={formatter:l=>i+new Intl.NumberFormat(window.gcfe_public_localize.locale_with_hyphen,{minimumFractionDigits:a.chart_datalabel_decimals_in_float,maximumFractionDigits:a.chart_datalabel_decimals_in_float}).format(l)+r},e.dataLabels&&(e.dataLabels.formatter=(l,t)=>{if(o){let _=t.w.globals.seriesTotals.reduce((m,c)=>m+c,0);l=new Intl.NumberFormat(window.gcfe_public_localize.locale_with_hyphen,{minimumFractionDigits:a.chart_datalabel_decimals_in_float,maximumFractionDigits:a.chart_datalabel_decimals_in_float}).format(l/_*100)}return a.chart_datalabels_format_showlabel?t.w.globals.labels[t.seriesIndex]+"-"+i+new Intl.NumberFormat(window.gcfe_public_localize.locale_with_hyphen,{minimumFractionDigits:a.chart_datalabel_decimals_in_float,maximumFractionDigits:a.chart_datalabel_decimals_in_float}).format(l)+r:i+new Intl.NumberFormat(window.gcfe_public_localize.locale_with_hyphen,{minimumFractionDigits:a.chart_datalabel_decimals_in_float,maximumFractionDigits:a.chart_datalabel_decimals_in_float}).format(l)+"%"+r},a.chart_datalabels_format_showValue&&(e.dataLabels.formatter=(l,t)=>(l=t.w.globals.series[t.seriesIndex],a.chart_number_format_commas&&!a.chart_data_label_pointer&&(l=new Intl.NumberFormat(window.gcfe_public_localize.locale_with_hyphen,{minimumFractionDigits:a.chart_datalabel_decimals_in_float,maximumFractionDigits:a.chart_datalabel_decimals_in_float}).format(l)),a.chart_data_label_pointer&&(l=i+this.formatNumber(l,a.chart_datalabel_decimals_in_float)+r),a.chart_datalabels_format_showlabel?t.w.globals.labels[t.seriesIndex]+"-"+i+l+r:i+l+r)))}getChartOptions(e,a,o,i){return a==="polar"&&(e.labels=e.xaxis.categories,e.chart.events={mounted:(r,l)=>{const t=document.querySelector(`.graphina-elementor-chart[data-element_id="${i}"]`);t&&(t.style.height="")}}),e}}window.graphinaPolarChart=new s; //# sourceMappingURL=polar.js.map
| ver. 1.6 |
Github
|
.
| PHP 8.3.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка