From 45814d129c90228fb533533b29b3ccd4dcd7fab2 Mon Sep 17 00:00:00 2001 From: Seeker4 Date: Fri, 6 Sep 2019 22:16:35 -0700 Subject: [PATCH] Update release notes, add documentation about graph ordering --- oscar/daily.cpp | 7 +++++++ oscar/docs/release_notes.html | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/oscar/daily.cpp b/oscar/daily.cpp index b4b029b5..f320fff3 100644 --- a/oscar/daily.cpp +++ b/oscar/daily.cpp @@ -64,6 +64,13 @@ inline QString channelInfo(ChannelID code) { // + (schema::channel[code].units() != "0" ? "\n("+schema::channel[code].units()+")" : ""); } +// Charts displayed on the Daily page are defined in the Daily::Daily constructor. They consist of some hard-coded charts and a table +// of channel codes for which charts are generated. If the list of channel codes is changed, the graph order lists below will need to +// be changed correspondingly. +// +// Note that "graph codes" are strings used to identify graphs and are not the same as "channel codes." The mapping between channel codes +// and graph codes is found in schema.cpp. (What we here call 'graph cdoes' are called 'lookup codes' in schema.cpp.) +// // // List here the graph codes in the order they are to be displayed. // Do NOT list a code twice, or Oscar will crash when the profile is closed! diff --git a/oscar/docs/release_notes.html b/oscar/docs/release_notes.html index f4f87ed9..f78c2466 100644 --- a/oscar/docs/release_notes.html +++ b/oscar/docs/release_notes.html @@ -10,8 +10,10 @@ Which was written and copyright 2011-2018 © Mark Watkins Changes and fixes in OSCAR **AFTER** v1.1.0-testing-4