Using Wt 3.2.2-p1: If I plot data that has the constant value of 2000.0, with scale_ = LinearScale, the assertion at the end of WAxis.C fails:
assert (segment.renderMinimum < segment.renderMaximum) The problem appears to be in the calculation of 'resolution'. if (scale_ == LinearScale) resolution =1e3 * std::numeric_limits<double>::epsilon() since resolution has the value 2.2204460492503131e-13, it is too small to add or subtract to segment.renderMinimum or segment.renderMaximum to cause these two values to differ. A fix that works for me is to calculate resolution based on the segment limits: resolution = 1e-3 * segment.renderMinimum ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest