HI, I read:
http://docs.turbogears.org/1.0/GenerateFigures and http://media.liquidx.net/js/plotkit-doc/PlotKit.EasyPlot.html in my controller I have: from plotkit import EasyPlot class Root(controllers.RootController): @expose(template="wgtest.templates.welcome") def index(self): setA = [[0,0], [1,2], [2,3], [3,7], [4,8]] return dict(ep= EasyPlot(id="diag", style="bar", width="300", height="300", data=[setA, ], )) the graphic is ok, but , how I can show a label for each column? in http://media.liquidx.net/js/plotkit-doc/PlotKit.QuickStart.html I read the next: var options = { "IECanvasHTC": "/plotkit/iecanvas.htc", "colorScheme": PlotKit.Base.palette(PlotKit.Base.baseColors()[0]), "padding": {left: 0, right: 0, top: 10, bottom: 30}, "xTicks": [{v:0, label:"zero"}, {v:1, label:"one"}, {v:2, label:"two"}, {v:3, label:"three"}, {v:4, label:"four"}], "drawYAxis": false }; but how pass it in EasyPlot(id="diag", style="bar", width="300", height="300",data=[setA, ]) ? 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 -~----------~----~----~----~------~----~------~--~---

