From 9ed0c141eb741a217378e506ffebf77b52b7b343 Mon Sep 17 00:00:00 2001 From: koldo Date: Wed, 17 Mar 2010 21:12:27 +0000 Subject: [PATCH] TestScatter2: Added line style git-svn-id: svn://ultimatepp.org/upp/trunk@2241 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/TestScatter2/TestScatter2.h | 19 ++++++++++++++----- bazaar/TestScatter2/TestScatter2.iml | 1 + bazaar/TestScatter2/TestScatter2.lay | 2 +- bazaar/TestScatter2/main.cpp | 2 +- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/bazaar/TestScatter2/TestScatter2.h b/bazaar/TestScatter2/TestScatter2.h index f342a2348..75b43e66b 100644 --- a/bazaar/TestScatter2/TestScatter2.h +++ b/bazaar/TestScatter2/TestScatter2.h @@ -348,6 +348,12 @@ public: typedef Tab8 CLASSNAME; Tab8(); + void MyFormat(String& s, int i, double d) + { + s=Format("%Mon",fround(d)); + if (!s.IsEmpty()) + s << "\n2011"; + } }; Tab8::Tab8() @@ -358,16 +364,19 @@ Tab8::Tab8() scatter8.SetMajorUnits(1,10); scatter8.SetXYMin(0,-20, 1000); scatter8.SetMouseHandling(true, true); - Vector s1,s2; + Vector s1,s2, s3; s1<