Fix: Periodic slots are not repeated in graphs [5495] (2) Bug Number: 5495 Release notes (y/n): Yes For Release Nums: 6.5 This, and the prior commit, provide a revised implementation for plotting periodic slots. This addresses Gnats 5495. With these changes, Periodic Slots ALWAYS fill the plot's visible time range. (Suggested demonstration: In a plot page including Periodic Slots, try holding down the Left and Right arrow buttons to repeat-scroll forward and backward in time. The Periodic Slot data is shown across the full time range. Always. Note: As indicated in the tooltip on those buttons, also holding down the Shift key while pressing the mouse button on those those arrow buttons scrolls _more rapidly_). We had _considered_ removing the Periodic Slot Curve's "Time Range" options in the curve configuration dialog. See the first of these screenshots: http://cadswes2.colorado.edu/~philw/2014/bugs/5495/Ref3B.png http://cadswes2.colorado.edu/~philw/2014/bugs/5495/Ref2.png However, this was retained. But these changes were made: (1) BUG FIX: When bringing up the Periodic Curve Configuration dialog, the "Default" Time Range setting was always shown as selected -- even if the "Specify Time Range" choice was internally active. This led to very confusing behavior. (2) The "Specify Time Range" dates no longer represent the range of the plotted curve. Instead it just imposes a minimal time range for the overall plot when AUTO-SCALING is applied. The following is now the plot's Auto-Scaling algorithm for plots containing Periodic Slots: (1) The new time range includes the full time ranges of all of the plot's series slots. (2) The new time range also includes the ENABLED "Specified Time Ranges" from the plot's Periodic Slot Curves. (3) If neither of the prior two types of items provide a time range (no series slots or specified time ranges from periodic slots), the auto-scaled time is the model's run period. These changes DO NOT accommodate a new requirement mentioned by David in the context of the bug model's plot ... "The plot TVA actually wants to see would have a range from 1/1/14 to 12/31/14." I understand this is to be an automatic and dynamic application of the "current water year*" -- ideally (I believe) not requiring the user to apply the "AUTO-SCALE" operation. I have a question about whether the current water year is (a) the wall-clock water year, (b) the water year containing the beginning of the run period, or (c) the water year containing the end of the run period. If it's reasonable to actually require an "AUTO-SCALE" operation to update this (minimal?) dynamic time range specification, this mode of operation _could_ be added as a third choice in the Periodic Slot Curve's "Time Range" settings. Alternatively, this could be a setting on the overall Plot Page. I propose that all of this be worked out as an enhancement apart from Gnats 5495. *The RiverWare Water Year is a model-wide setting accessible from the Simulation Controller's Run Configuration. The water year can start at the beginning of any month. Here is a screenshot of that configuration, and its current application. (See the bottom of the first dialog): http://cadswes2.colorado.edu/~philw/2014/bugs/5495/WaterYear.png ---