diff --git a/examples/ScatterCtrl_Demo/tab4.cpp b/examples/ScatterCtrl_Demo/tab4.cpp index 783efbb36..a486aa983 100644 --- a/examples/ScatterCtrl_Demo/tab4.cpp +++ b/examples/ScatterCtrl_Demo/tab4.cpp @@ -11,13 +11,13 @@ void Tab4::Init() scatter.SetMouseHandling(true).ShowContextMenu(); s1 <(); + scatter.AddSeries(s2).Legend("2006").Units("ºC").MarkStyle(); scatter.Graduation_FormatX(ScatterCtrl::MON) - .SetLabelY("Temperature [176 C]") + .SetLabelY("Temperature") .SetMarkWidth(1, 4) .SetMinXmin(0).SetMaxXmax(13); } diff --git a/examples/ScatterCtrl_Demo/tab7.cpp b/examples/ScatterCtrl_Demo/tab7.cpp index 2d93b64ce..e8ce6207f 100644 --- a/examples/ScatterCtrl_Demo/tab7.cpp +++ b/examples/ScatterCtrl_Demo/tab7.cpp @@ -5,6 +5,7 @@ void Tab7::Init() { CtrlLayout(*this); HSizePos().VSizePos(); + scatter.SetRange(80, 100); bAddSeries <<= THISBACK(AddSeries); bRemoveLastSeries <<= THISBACK(RemoveLastSeries); diff --git a/examples/ScatterCtrl_Demo/tab8.cpp b/examples/ScatterCtrl_Demo/tab8.cpp index 87a22bcdb..4616c2431 100644 --- a/examples/ScatterCtrl_Demo/tab8.cpp +++ b/examples/ScatterCtrl_Demo/tab8.cpp @@ -13,17 +13,17 @@ void Tab8::Init() scatter.AddSeries(s3).Legend("Device 1").PlotStyle(barWidth).NoMark().Stroke(2, Gray()).Dash(LINE_SOLID).Fill(LtGray()); s1<(); + scatter.AddSeries(s1).Legend("Temperature").Units("ºC").Stroke(3, Null).Dash(LINE_DASHED).MarkStyle(); s2 <