Using Charts within Tabbed Content Boxes
-
Hi,
I’m using your charting plug in (thanks for it – it’s super easy to use!) and am having an issue. When I use the shortcodes in a regular page format (no other coding) it works just fine. I can put the charts in columns, or full width, etc.
However, when I try to use them in the tabbed content shortcode that comes with the theme I am using (Elegant Themes – Trim Theme) plus your chart codes it screws up the height. Essentially, it squishes the charts. I can still use them within columns, etc. and the width works but the height, no matter what I try, won’t work. I’ve included my code below. Any help? (Code abbreviated)
[tab][one_third][wp_charts title=”mydough” type=”doughnut” align=”alignleft” margin=”5px 5px” data=”30,10,55,25″ colors=”7AB800,#008FBE,#F78000,#929496″ width=”100%” height=”auto”][/one_third][one_third][wp_charts title=”mydough2″ type=”doughnut” align=”alignleft” margin=”5px 5px” data=”30,10,55,25″ colors=”7AB800,#008FBE,#F78000,#929496″ width=”100%” height=”auto”][/one_third][one_third_last][wp_charts title=”mydough3″ type=”doughnut” align=”alignleft” margin=”5px 5px” data=”30,10,55,25″ colors=”7AB800,#008FBE,#F78000,#929496″ width=”100%” height=”auto”][/one_third_last][/tab] [tab]Content goes here[/tab]
(Side note – changing height from auto to 100% doesn’t fix it).
Thanks!
- The topic ‘Using Charts within Tabbed Content Boxes’ is closed to new replies.