On Feb 4, 2008 2:23 PM, Ed Leafe <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008, at 2:18 PM, Nate Lowrie wrote: > > > Very soon I am going to need a widget for a bar graph and one for a > > pie graph. The dLinePlot widget subclasses wx and is very handy. > > However, there is nothing in wx to do these type of plots. The wx > > widget that dLinePlot subclasses is basically a subclassed wx.panel > > that invokes a bunch of drawing methods. I am thinking that I can > > subclass a dPanel and invoke drawing functions to create these graphs > > pretty easily and tie everything together into a nice class. Ed and > > Paul, would y'all be opposed to doing this since it is not a native wx > > widget? > > > It really isn't important if it is a native wx widget. What matters > is that it doesn't rely on any other toolkit.
Got it... > > Have you looked at Andrea Gavana's stuff to see if he's already done > this? Specifically, http://xoomer.alice.it/infinity77/main/ > PieCtrl.html looks like a great implementation of pie charts. And > unless this was something that was generic enough to be used by a lot > of people, it might make a cool add-on to Dabo, rather than a base > class. Haven't checked out the PieCtrl but I have used others. I'll shoot Andrea an email and ask if I could use his code. If yes, I will just daboize the front end methods and conform it to dabo standards. Thanks for pointing this out. Nate L. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]
