some tweaks to the size of circles in a scatter plot

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1258 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-12-28 02:48:07 +00:00
parent dfc614849e
commit eae8757d9e
4 changed files with 53 additions and 9 deletions
+3 -1
View File
@@ -212,7 +212,9 @@ class ScatterGraph : public Graph2D {
virtual bool findItem(const RealPoint& pos, const RealRect& rect, bool tight, vector<int>& out) const;
virtual void setData(const GraphDataP& d);
protected:
UInt max_value; ///< highest value
UInt max_value;
double max_value_x, max_value_y; ///< highest sum of two adjacent scaled values (radii)
static double scale(double x); ///< nonlinear scaling
};
/// A scatter plot with an extra dimension