Author Topic: Change Chart Size  (Read 5050 times)

flowofsoma_com

  • Tadpole
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • Email
Change Chart Size
« on: May 06, 2011, 03:42:19 PM »
Hi Everyone,

First of all, thanks for a really cool plug-in!

I'm not very experienced with neither wordpress nor CSS/HTML so my question might be a rather stupid one.

I used your plug-in to make a line-chart in this post: http://flowofsoma.com/2011/05/two-months-of-blogging-marchapril-2011/.

Here is my question: How can I make the chart smaller?
I adjusted the pixel size but somehow this does nothing. I'm not sure if my theme is overriding it or what is going on, but I don't seem to be able to change it.

I would also like to align it to the left, if possible, although that is not so important.

Finally it would be great to leave the label for the line off completely as I am only displaying one variable. Is that possible? I remember seeing that it says this is a 'required' parameter. Again, this one is not so crucial, but adjusting the chart size is.

Thanks so much :)!

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Change Chart Size
« Reply #1 on: May 07, 2011, 12:22:56 PM »
The size parameters are used to create the aspect ration and then fill the device showing your web page (such as a web browser or iphone).  You can capture the graph in a div tag:
Code: [Select]
<div style="width=200px;height:200px;" align="left">
doshortcode
</div>


There currently isn't a way to hide the label.  You can play with the axis parameter perhaps.

Parameters are defined here:
http://www.dyerware.com/main/products/easy-chart-builder-plugin-parameters.html

Chris

  • Guest
Re: Change Chart Size
« Reply #2 on: May 30, 2011, 06:28:29 AM »
I tried to shrink the chart to size 200 (h,w) but it doesn't work: Neither with a div, nor with the settings.
Is there another option to shrink from 600:600 in 200:200 (with the whole displayed chart)?

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Change Chart Size
« Reply #3 on: May 30, 2011, 12:52:16 PM »
I'll take a look

the1gofer

  • Tadpole
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Change Chart Size
« Reply #4 on: April 06, 2012, 08:12:56 PM »
Div doesn't work for me either.  It would be nice to specify a fixed size and have it honored regardless in some situations.

 

anything