mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
.TestScatter: More new features in demo
git-svn-id: svn://ultimatepp.org/upp/trunk@2246 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f774b1d879
commit
eab2ded2e6
1 changed files with 3 additions and 3 deletions
|
|
@ -366,14 +366,14 @@ Tab8::Tab8()
|
|||
scatter8.SetMouseHandling(true, true);
|
||||
Vector<XY> s1,s2, s3;
|
||||
s1<<XY(1,-6)<<XY(2,-4)<<XY(3,2)<<XY(4,8)<<XY(5,8)<<XY(6,15)<<XY(7,20)<<XY(8,25)<<XY(9,14)<<XY(10,10)<<XY(11,3)<<XY(12,-11);;
|
||||
scatter8.AddSeries(s1,"Temperature",true,LtGreen,10,15).SetPattern(LINE_DASHED);
|
||||
scatter8.AddSeries(s1,"Temperature",true).SetPattern(LINE_DASHED);
|
||||
|
||||
s2<<XY(1,1010)<<XY(2,1012)<<XY(3,1015)<<XY(4,1013)<<XY(5,1017)<<XY(6,1018)<<XY(7,1010)<<XY(8,1007)<<XY(9,1003)<<XY(10,1001)<<XY(11,1000)<<XY(12,1002);
|
||||
scatter8.AddSeries(s2,"Pressure",true,LtRed,10,15).SetPattern("oooooo...ooo...o...ooo...").SetDataPrimaryY(1, false);
|
||||
scatter8.AddSeries(s2,"Pressure",true,LtRed).SetPattern("oooooo...ooo...o...ooo...").SetDataPrimaryY(1, false);
|
||||
scatter8.SetDrawY2Reticle();
|
||||
|
||||
s3<<XY(1,-20)<<XY(2,-20)<<XY(2,-10)<<XY(3,-10)<<XY(3,0)<<XY(4,0)<<XY(4,10)<<XY(5,10)<<XY(5,20)<<XY(6,20)<<XY(6,30)<<XY(7,30)<<XY(7,20)<<XY(8,20)<<XY(8,10);
|
||||
scatter8.AddSeries(s3,"Device 1",true,LtBlue,1,1);
|
||||
scatter8.AddSeries(s3,"Device 1",true);
|
||||
|
||||
scatter8.cbModifFormatX = THISBACK(MyFormat);
|
||||
scatter8.SetMaxZoom(40).SetMinZoom(2, 20);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue