hi.
Sometimes my graph labels get cut-off.

I another post in the plotkit list, I see:

...If you add padding:{left: 90, right:20, top: 10, bottom: 10} to the
options (documented in the Renderer part of the documentation, then it
will display the full label. The reason is there is not enough space
between the edge of the container div and the canvas...

My Code:

data = [[0,0], [1,2], [2,3], [3,7], [4,8], [5,6]]
option='''{"xTicks":[{label: "zero", v: 0}, {label: "one", v:
1},{label: "two", v: 2}, {label: "three", v: 3},{label: "four", v:
4},{label: "five", v: 5}], "barOrientation":"horizontal" }'''
return dict(ep= EasyPlot(id="diag", style="bar", option=option,
data=[data]) )

How can I change de "padding" in Easy-Plot ? I put:
 ... "barOrientation":"horizontal" ,"padding":"{left: 90, right:20,
top: 10, bottom: 10}"

but not work...

Thanks...
-- 
maram
http://maram.com.ar - http://geine.maram.com.ar
Ubuntu Linux User - TurboGears User


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to