Hey Christopher, 2011/1/17 Christopher Covington <[email protected]>: > http://eceapps.files.wordpress.com/2010/12/gtkwave_vs_jupiter_2011-01-17.png > > The top graph one is where the real issue is. I'll probably turn off > labels on the other graphs (their values are just zero or one). You can > ignore the other window in the picture (it's one of the programs I'd > like my web application to potentially replace). > > I've considered only graphing i.e. every other point, but I'd really > like to find a better solution. While my test data is quite periodic, > the input is ultimately arbitrary, user-defined hardware description > language code, so I'd like to not lose resolution if at all possible.
The library will not attempt to avoid overlapping text (nor has it the necessary font metrics to do this correctly anyway). I think you should consider two options: - use a separate series only for the labels (If necessary, we should provide an explicit style 'invisible' for the series rendering itself), which has sparse values - specialize the paintEvent() and add labels using custom painting. You can map logical coordinates to device coordinates using WCartesianChart::mapToDevice() Have you considered custom painting ? A lot of the complexity of WCartesianChart is not used anyway, and at the same time, you may have some requirements that do not fit well the cartesian chart. Regards, koen ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
