Smart :-) And with a proxy model you can make this generic with a nice interface...
Regards, Wim. 2009/10/15 Hubbard, Charles W <[email protected]>: > Hi Richard, > > I set up a WStandardItemModel model and populated it like shown in your > proposed work-around, but the data doesn't plot correctly. Apparently > WCartesianChart doesn't like the uninitialized cells spread throughout > the model after all. > > But here's something interesting. I rearranged the ordering in the > model like so... > > xaxis y1 y2 > 0 10 > 10 20 > 20 30 > 30 40 > 40 50 > > 3 11 > 7 12 > 17 14 > 25 90 > 33 77 > 38 21 > 39 20 > > And that seemed to work just fine! I'm hoping to try this out on my > real data sets in the next day or two. My only concern now is, I think > that it's just lucky that this technique works with the current > WChart2DRenderer class, and, because it's undocumented (I guess), it may > quit working with some future version of Wt. > > Anyway, thanks for the tip. Looks like I might have a pure Wt solution > now that will get me what I need. > > > Charlie > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
