Hi,
Is there a way to make the pie charts responsive?
I'm using it to show from 1% to 100%, and it works fine on desktop but the circle becomes small when I use a mobile phone.
Please, let me know.
Thank you
7 replies · opened Jul 21, 2016
Hi,
Is there a way to make the pie charts responsive?
I'm using it to show from 1% to 100%, and it works fine on desktop but the circle becomes small when I use a mobile phone.
Please, let me know.
Thank you
Hello,
Pie Charts are already responsive and appears to be working fine for us. Can you please provide us with a Live URL so that we can check out the exact issue and provide you with a more accurate solution for this. Thanks for your Patience.
Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.
http://www.funcodelab.com/nextbit/
Thank you for your reply.
If you use your mobile to access the website, and scroll to "OUR SUCCESS RATES" you will see that the process circle becomes small.
The same this happens when I resize my web browser, refresh the page and scroll to the process circles.
Thank you.
Hi
Also, how can I make my Accordions to be all collapsed on load?
Thank you
Please help,
http://www.funcodelab.com/nextbit2/diagnostic-procedures.html
As you can see on this page, the progress pie chart is not responsive (resize the browser to small and refresh the page). Also, could you tell me how to make all the accordion collapsed on load?
Thank you
Hello,
canvas {
max-width: 100%;
height: auto !important;
}This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.
Hi,
Thank you for the reply.
I updated the website http://www.funcodelab.com/nextbit2/diagnostic-procedures.html
However, the pie chart becomes off and the static text is not in the center anymore on small devices.
Also, in the accordion section, is it possible to make the header clickable to collapse after it has been expanded?
Thank you for the help.
Hello,
Yes there appears to be a Minor Bug with the Code. Please find the following code in the js/functions.js File:
if( $body.hasClass('device-lg') || $body.hasClass('device-md') ){
element.css({'width':roundSkillSize+'px','height':roundSkillSize+'px','line-height':roundSkillSize+'px'}).animate({opacity:0}, 10);
element.appear( function(){
if (!element.hasClass('skills-animated')) {
var t = setTimeout( function(){ element.css({opacity: 1}); }, 100 );
SEMICOLON.widget.runRoundedSkills( element, properties );
element.addClass('skills-animated');
}
},{accX: 0, accY: -120},'easeInCubic');
} else {
SEMICOLON.widget.runRoundedSkills( element, properties );
}and replace it with:
element.css({'width':roundSkillSize+'px','height':roundSkillSize+'px','line-height':roundSkillSize+'px'}).animate({opacity:0}, 10);
element.appear( function(){
if (!element.hasClass('skills-animated')) {
var t = setTimeout( function(){ element.css({opacity: 1}); }, 100 );
SEMICOLON.widget.runRoundedSkills( element, properties );
element.addClass('skills-animated');
}
},{accX: 0, accY: -120},'easeInCubic');This should definitely fix the issue.
if( $(this).next().is(':hidden') ) {
element.find('.acctitle').removeClass('acctitlec').next().slideUp("normal");
$(this).toggleClass('acctitlec').next().slideDown("normal");
}and replace it with:
if( $(this).next().is(':hidden') ) {
element.find('.acctitle').removeClass('acctitlec').next().slideUp("normal");
$(this).toggleClass('acctitlec').next().slideDown("normal");
} else {
$(this).removeClass('acctitlec').next().slideUp("normal");
}This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard