• Hi,

    I have problems with graphs using the Graphina add-on.

    As soon as I work in edit mode on Elementor, I’m able to see the graph showing correctly, but once I go into preview mode, this is what I’m getting back displayed on the page:

    “‘ } return seriesName } }, tooltip: { enabled: ‘1’, theme: ‘dark’, style: { fontSize: ’14px’, fontFamily: ‘Lato’ }, y: { formatter: function(val) { let valueInStringShow = ‘no’ let valueInString = ‘0’ let prefix = ” let postfix = ” if(”){ val= val.toLocaleString(‘en-US’) }else{ val = valueInStringShow == ‘no’ ? val : graphinaAbbrNum(val , valueInString); } return prefix + val + postfix } } }, stroke: { show: ”, width: parseInt(‘0’) }, responsive: [{ breakpoint: 1024, options: { chart: { height: parseInt(‘350’) } } }, { breakpoint: 674, options: { chart: { height: parseInt(‘350’) } } } ] }; if(“”){ let valueInStringShow = ‘no’ let valueInStringValue = ‘0’ let showlabel = ‘no’ let showValue = ‘no’ let prefix = ” let postfix = ” let numberformat = ‘no’ if(typeof chartDatalabelsFormat !== “undefined”){ chartDatalabelsFormat(donutOptions, showlabel, showValue, numberformat, prefix, postfix ,valueInStringShow, valueInStringValue); } } if (typeof initNowGraphina !== “undefined”) { initNowGraphina( myElement, { ele: document.querySelector(“.donut-chart-bdba64f”), options: donutOptions, series: [{name: ”, data: []}], animation: true }, ‘bdba64f’ ); } if (window.ajaxIntervalGraphina_bdba64f !== undefined) { clearInterval(window.ajaxIntervalGraphina_bdba64f) }”

    2nd graph error :

    “‘ } return seriesName } }, tooltip: { enabled: ‘1’, theme: ‘dark’, style: { fontSize: ’14px’, fontFamily: ‘Lato’ }, y: { formatter: function(val) { let valueInStringShow = ‘no’ let valueInString = ‘0’ let prefix = ” let postfix = ” if(”){ val= val.toLocaleString(‘en-US’) }else{ val = valueInStringShow == ‘no’ ? val : graphinaAbbrNum(val , valueInString); } return prefix + val + postfix } } }, stroke: { show: ”, width: parseInt(‘0’) }, responsive: [{ breakpoint: 1024, options: { chart: { height: parseInt(‘350’) } } }, { breakpoint: 674, options: { chart: { height: parseInt(‘350’) } } } ] }; if(“”){ let valueInStringShow = ‘no’ let valueInStringValue = ‘0’ let showlabel = ‘no’ let showValue = ‘no’ let prefix = ” let postfix = ” let numberformat = ‘no’ if(typeof chartDatalabelsFormat !== “undefined”){ chartDatalabelsFormat(donutOptions, showlabel, showValue, numberformat, prefix, postfix ,valueInStringShow, valueInStringValue); } } if (typeof initNowGraphina !== “undefined”) { initNowGraphina( myElement, { ele: document.querySelector(“.donut-chart-17e002e”), options: donutOptions, series: [{name: ”, data: []}], animation: true }, ’17e002e’ ); } if (window.ajaxIntervalGraphina_17e002e !== undefined) { clearInterval(window.ajaxIntervalGraphina_17e002e) }”

    3rd :

    “‘ } return seriesName } }, tooltip: { enabled: ‘yes’, theme: ‘light’, shared: ‘yes’ === “yes”, style: { fontSize: ’13px’, fontFamily: ‘Lato’ } }, responsive: [{ breakpoint: 1024, options: { chart: { height: parseInt(‘350’) }, } }, { breakpoint: 674, options: { chart: { height: parseInt(‘350’) }, } } ] }; if (“” === “yes”) { columnOptions.yaxis.labels.formatter = function (val) { if(‘1’){ let decimal = parseInt(‘0’) || 0; if(“1”){ val = val.toLocaleString(‘en-US’,{maximumFractionDigits: decimal}) } else if(“” && typeof graphinaAbbrNum !== “undefined”){ val = graphinaAbbrNum(val , parseInt(“”) || 0 ); }else{ val = parseFloat(val).toFixed(decimal) } } return ” + val + ”; } } if(“1”){ columnOptions.yaxis.tickAmount = parseInt(“0″); columnOptions.dataLabels.formatter = function (val) { if(Number.isNaN(val)){ return ”; } if(“”){ val = val.toLocaleString(‘en-US’) } else if(“” && typeof graphinaAbbrNum !== “undefined”){ val = graphinaAbbrNum(val , parseInt(“”) || 0 ); } return ” + val + ”; }; }else{ columnOptions.dataLabels.formatter = function (val) { if(Number.isNaN(val)){ return val; } val = parseFloat(val).toFixed(parseInt(“0”) || 0 ) ; if(“”){ val = parseFloat(val).toLocaleString(‘en-US’) } val = ” + val + ”; return val; }; } if (“yes” ) { columnOptions.tooltip[‘enabledOnSeries’] = [0]; } if (“”) { columnOptions[‘annotations’] = { yaxis: [ { y: 0, strokeDashArray: parseInt(“0”), borderColor: ‘#000000′ } ] }; } if(“”){ let style ={ color:’#183D70′, fontSize: ’13px’, fontFamily: ‘Lato’, fontWeight: ”, } let title = ”; let xaxisYoffset =’bottom’ === ‘top’ ? -95 : 0; if(typeof axisTitle !== “undefined”){ axisTitle(columnOptions, ‘xaxis’ ,title, style ,xaxisYoffset); } } if(“”){ let style ={ color:”, fontSize: ’13px’, fontFamily: ‘Lato’, fontWeight: ”, } let title = ”; if(typeof axisTitle !== “undefined”){ axisTitle(columnOptions, ‘yaxis’ ,title, style ); } } if(”){ columnOptions.xaxis.tickAmount = parseInt(“6”) || 6; columnOptions.xaxis.min = parseInt(‘0’) || 0; columnOptions.xaxis.max = parseInt(‘0’) || 200; } if(‘1’){ columnOptions.yaxis.tickAmount = parseInt(“0”) || 6; columnOptions.yaxis.min = parseFloat(‘0’) || 0; columnOptions.yaxis.max = parseFloat(‘6′) || 200; } if(“”){ let style = { color:”, fontSize: ’13px’, fontFamily: ‘Lato’, fontWeight: ”, } columnOptions[‘yaxis’] = [columnOptions.yaxis] let columnYaxisTemp ={ opposite: ‘1’, labels: { show: ”, formatter: function (val) { if(“” ){ val = val.toLocaleString(‘en-US’) } return ” + val + ” }, style }, tickAmount: parseInt(”), title: { text: ”, style } } if(‘1’){ columnYaxisTemp.tickAmount = parseInt(”) || 6; columnYaxisTemp.min = parseFloat(‘0’) || 0; columnYaxisTemp.max = parseFloat(‘6’) || 200; } columnOptions.yaxis.push(columnYaxisTemp) } if (typeof initNowGraphina !== “undefined”) { initNowGraphina( myElement, { ele: document.querySelector(“.column-chart-b08573b”), options: columnOptions, series: [{name: ”, data: []}], animation: true }, ‘b08573b’ ); } if (window.ajaxIntervalGraphina_b08573b !== undefined) { clearInterval(window.ajaxIntervalGraphina_b08573b) }”

    4th :

    “‘ } return seriesName } }, tooltip: { enabled: ‘1’, theme: ‘dark’, style: { fontSize: ’14px’, fontFamily: ‘Lato’ }, y: { formatter: function(val) { let valueInStringShow = ‘no’ let valueInString = ‘0’ let prefix = ” let postfix = ‘%’ if(”){ val= val.toLocaleString(‘en-US’) }else{ val = valueInStringShow == ‘no’ ? val : graphinaAbbrNum(val , valueInString); } return prefix + val + postfix } } }, stroke: { show: ”, width: parseInt(‘0’) }, responsive: [{ breakpoint: 1024, options: { chart: { height: parseInt(‘350’) } } }, { breakpoint: 674, options: { chart: { height: parseInt(‘350’) } } } ] }; if(“”){ let valueInStringShow = ‘no’ let valueInStringValue = ‘0’ let showlabel = ‘no’ let showValue = ‘no’ let prefix = ” let postfix = ‘%’ let numberformat = ‘no’ if(typeof chartDatalabelsFormat !== “undefined”){ chartDatalabelsFormat(donutOptions, showlabel, showValue, numberformat, prefix, postfix ,valueInStringShow, valueInStringValue); } } if (typeof initNowGraphina !== “undefined”) { initNowGraphina( myElement, { ele: document.querySelector(“.donut-chart-e592b5b”), options: donutOptions, series: [{name: ”, data: []}], animation: true }, ‘e592b5b’ ); } if (window.ajaxIntervalGraphina_e592b5b !== undefined) { clearInterval(window.ajaxIntervalGraphina_e592b5b) }”

    In May and june, everything was ok. I tried to go the precedent version but it doesn’t work too.

    I see many tickets on the forum. But Can you help me please.

    The URL : https://www.grisbee.fr/grisbee_fonds_star-2/ and elementor screenshot (files)

    Thanks,

    Marine

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter mgrisbee

    (@mgrisbee)

    To precise, I had the latest version (1.7) >> doesn’t work so I Tried with an old version and it doesn’t work too.

    Thread Starter mgrisbee

    (@mgrisbee)

    Hello,

    I can’t create a ticket because I have to indicate my licence Graphina pro and I don’t have.

    – Elementor Pro version 3.7.5
    – Graphina version 1.7.1

    Thanks

    • This reply was modified 2 years, 2 months ago by mgrisbee.
    Plugin Author Iqonic Design

    (@iqonicdesign)

    Hello,
    /wp-content/plugins/graphina-lite/elementor/charts/donut/widget/donut_chart.php

    line no- 418
    replace with this

    return <div class="legend-info"><span>${seriesName}</span>:<strong>${opts.w.globals.series[opts.seriesIndex]}</strong></div>;

    /wp-content/plugins/graphina-lite/elementor/charts/donut/widget/column_chart.php

    line no- 711
    replace with this

    return <div class="legend-info"><span>${seriesName}</span>:<strong>${opts.w.globals.series[opts.seriesIndex][opts.dataPointIndex]}</strong></div>

    Thank You.

    Plugin Author Iqonic Design

    (@iqonicdesign)

    Hello,

    -> if issue still occurs comment this both lines and check.

    Thank You.

    • This reply was modified 2 years, 2 months ago by Iqonic Design.
    Thread Starter mgrisbee

    (@mgrisbee)

    Hello,

    Thanks.

    How Can I do that with elementor ?

    I have to do with html code ?

    Marine

    Plugin Author Iqonic Design

    (@iqonicdesign)

    Hello,
    You can edit plugins from plugins -> plugin file editor.

    flameshot_screenshot

    Thread Starter mgrisbee

    (@mgrisbee)

    Hi,

    Unfortunately it’s doesn’t work ??

    I have the same probleme on the page : https://www.grisbee.fr/grisbee_vie/fonds-carmignac-portfolio-patrimoine-europe-lu1744628287/

    ' } return seriesName } }, tooltip: { enabled: 'yes', theme: 'light', shared: 'yes' === "yes", intersect:!('yes' === "yes"), style: { fontSize: '12px', fontFamily: 'Helvetica' } }, responsive: [{ breakpoint: 1024, options: { chart: { height: parseInt('350') }, } }, { breakpoint: 674, options: { chart: { height: parseInt('350') }, } } ] }; if ("yes" === "yes") { columnOptions.yaxis.labels.formatter = function (val) { if('1'){ let decimal = parseInt('2') || 0; if(""){ val = graphinNumberWithCommas(val,',',decimal) } else if("" && typeof graphinaAbbrNum !== "undefined"){ val = graphinaAbbrNum(val , parseInt("") || 0 ); }else{ val = parseFloat(val).toFixed(decimal) } } return '' + val + '%'; } } if("1"){ columnOptions.yaxis.tickAmount = parseInt("0"); columnOptions.dataLabels.formatter = function (val) { if(Number.isNaN(val)){ return ''; } if(""){ val = graphinNumberWithCommas(val,',') } else if("" && typeof graphinaAbbrNum !== "undefined"){ val = graphinaAbbrNum(val , parseInt("") || 0 ); } return '' + val + ''; }; }else{ columnOptions.dataLabels.formatter = function (val) { if(Number.isNaN(val)){ return val; } val = parseFloat(val).toFixed(parseInt("0") || 0 ) ; if(""){ val = parseFloat(val).toLocaleString(',') } val = '' + val + ''; return val; }; } if ("yes" ) { columnOptions.tooltip['enabledOnSeries'] = [0]; } if ("") { columnOptions['annotations'] = { yaxis: [ { y: 0, strokeDashArray: parseInt("0"), borderColor: '#000000' } ] }; } if(""){ let style ={ color:'#183D70', fontSize: '12px', fontFamily: 'Helvetica', fontWeight: '', } let title = ''; let xaxisYoffset ='bottom' === 'top' ? -95 : 0; if(typeof axisTitle !== "undefined"){ axisTitle(columnOptions, 'xaxis' ,title, style ,xaxisYoffset); } } if(""){ let style ={ color:'', fontSize: '12px', fontFamily: 'Helvetica', fontWeight: '', } let title = ''; if(typeof axisTitle !== "undefined"){ axisTitle(columnOptions, 'yaxis' ,title, style ); } } if(''){ columnOptions.xaxis.tickAmount = parseInt("30") || 6; columnOptions.xaxis.min = parseInt('0') || 0; columnOptions.xaxis.max = parseInt('0') || 200; } if(''){ columnOptions.yaxis.tickAmount = parseInt("0") || 6; columnOptions.yaxis.min = parseFloat('0') || 0; columnOptions.yaxis.max = parseFloat('0') || 200; } if(""){ let style = { color:'', fontSize: '12px', fontFamily: 'Helvetica', fontWeight: '', } columnOptions['yaxis'] = [columnOptions.yaxis] let columnYaxisTemp ={ opposite: '1', labels: { show: '', formatter: function (val) { if("" ){ val = graphinNumberWithCommas(val,',') } return '' + val + '' }, style }, tickAmount: parseInt(''), title: { text: '', style } } if(''){ columnYaxisTemp.tickAmount = parseInt('') || 6; columnYaxisTemp.min = parseFloat('0') || 0; columnYaxisTemp.max = parseFloat('0') || 200; } columnOptions.yaxis.push(columnYaxisTemp) } if (typeof initNowGraphina !== "undefined") { initNowGraphina( myElement, { ele: document.querySelector(".column-chart-2b78592"), options: columnOptions, series: [{name: '', data: []}], animation: true }, '2b78592' ); } if (window.ajaxIntervalGraphina_2b78592 !== undefined) { clearInterval(window.ajaxIntervalGraphina_2b78592) }

    Plugin Author Iqonic Design

    (@iqonicdesign)

    Hello,
    We have released a new version of the graphina plugin (version 1.7.8), Kindly update your plugin to the latest version. If you still face any issues after that please let us know.

    Thank You.

    Thread Starter mgrisbee

    (@mgrisbee)

    Hi,

    Unfortunately, it’s still doesn’t work…

    Marine

    Thread Starter mgrisbee

    (@mgrisbee)

    Hi,

    All new versions don’t work ??

    Can you please help us ?

    We want to buy pro but it’s does’nt work so…

    Thanks

    Marine

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Graph doesn’t work in public but ok in elementor edit’ is closed to new replies.