Hey there, Awesome Customers!

Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.

During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.

We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.

Thanks a bunch for your understanding and support!

Catch you on the flip side!

Warm regards,

TMS

Okay
  Public Ticket #1460176
Simple Charts won't display
Closed

Comments

  • EricMichaelSay started the conversation

    Upon installation and configuration of the plugin, I've attempted to create simple, 2 value doughnut-chart using a ChartJS style. I've created 2 of the 4 charts that I need, but have not been able to get them working.

    I do not have any console errors pertinent to the plugin, and the only issue I can see is that the JS and Div ID appear to be mismatched.

    The charts appear near 3/4 down on the website, in the four-column section. They should appear in the two modules on the left.


    <script type="text/javascript">if(typeof(wpDataCharts)=='undefined'){wpDataCharts = {};}; wpDataCharts[1] = {render_data: {"options":{"data":{"labels":["null","Positive"],"datasets":[{"label":"Value 1","backgroundColor":["#ff6384","#36a2eb","#ffce56","#4bc0c0","#9966ff","#ff9f40","#a6cee3","#6a3d9a","#b15928","#fb9a99"],"borderWidth":1,"data":[22,78]}]},"options":{"maintainAspectRatio":false,"scales":{"xAxes":[{"display":false,"scaleLabel":{"display":true,"labelString":""}}],"yAxes":[{"display":false,"scaleLabel":{"display":true,"labelString":""},"ticks":{"beginAtZero":true,"min":0}}]},"title":{"display":false,"position":"top","fontFamily":"Arial","fontStyle":"bold","fontColor":"#666"},"tooltips":{"enabled":false,"mode":"single","backgroundColor":"rgb(0,0,0)","cornerRadius":3},"legend":{"display":false,"position":"top"}},"globalOptions":{"defaultFontSize":"","defaultFontFamily":"Arial","defaultFontStyle":"bold","defaultFontColor":""}},"configurations":{"type":"chartjs_doughnut_chart","container":{"height":"400","width":"400"},"canvas":{"backgroundColor":"","borderWidth":"NaN","borderColor":"","borderRadius":""}}}, engine: "chartjs", type: "chartjs_doughnut_chart", title: "Doughnut 1", container: "wpDataChart_1", follow_filtering: 0, wpdatatable_id: 1, group_chart: 0}</script>

    <div id="chartJSContainer_1">

            <canvas id="chartJSCanvas_1"></canvas>
        </div>



  •  471
    Isidora replied

    Hi EricMichaelSay,
    Thank you for your purchase.

    We notice that you are using jquery version 2.1.0. Our plugin is using built in jquery version of wordpress that is 1.12. and this should be a reason why you have issue with the charts. Is it possible to use default version of the wordpress which is 1.12?

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  • EricMichaelSay replied

    Unfortunately no. I am using the Foundation framework using the Foundationpress Wordpress theme, and it requires v2.1.0. Is there a workaround?

  •  471
    Isidora replied

    Hi EricMichaelSay,

    There is some solution that you can use more versions of jquery. You can take a look on this link.


    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables