ultimatepp/examples/ScatterCtrl_Demo/tab13.cpp
koldo 298f76840e ScatterCtrl_Demo: Added LinkedWith()
git-svn-id: svn://ultimatepp.org/upp/trunk@7126 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-01 19:34:11 +00:00

23 lines
602 B
C++

#include "ScatterCtrl_Demo.h"
void Tab12::Init()
{
CtrlLayout(*this);
HSizePos().VSizePos();
s1 << Pointf(50, 10) << Pointf(100, 20) << Pointf(150, 30) << Pointf(200, 20) << Pointf(250, 10);
scatter.AddSeries(s1).Legend("Series 1").Fill();
scatter.SetXYMin(50, 0).SetRange(200, 40).SetMajorUnits(50, 10).SetPolar();
scatter.ShowInfo().ShowContextMenu().ShowPropertiesDlg().SetPopText("h", "v", "v2").SetMouseHandling(true, true);
}
ScatterDemo *Construct12()
{
static Tab12 tab;
return &tab;
}
INITBLOCK {
RegisterExample("Polar plot", Construct12, __FILE__);
}