Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


What

buttonSettings element in TimeSeriesDisplayConfig.xml

Config group

SystemConfigFiles

Required

no

Description

Configuration element for button (and menu-item) visibility

schema location

http://fews.wldelft.nl/schemas/version1.0/timeSeriesDisplay.xsd

Contents

Table of Contents
excludeContents

...

Some buttons and menu-times are automatically hidden by FEWS when they are not relevant. For example, the menu item that controls whether the table shows threshold crossings (showThresholdCrossings) is only visible if at least one threshold value set is configured. This may result in buttons or menu-items remaining invisible, even though they are configured as visible="true" in the buttonSettings.

The ButtonSetting element has two more attributes namely: permission and selected. If permission is set, the button is shown to the current user if the user has the permission to view the button. If selected is set, then the button is shown as selected when FEWS is running. The default for selected is true.

Code Block
titleExample config for the buttonSettings in TimeSeriesDisplayConfig.xml
<buttonSettings>
		...
		<moveBackHalfViewPeriod visible="false"/>
		<moveForwardHalfViewPeriod visible="false"/>
		<moveForwardOneViewPeriod/>
		<showAllData/>
		<switchReferenceLevel/>
		<setViewPeriod/>
		<copyTimeSeries visible="false"/>
		<pasteTimeSeries visible="false"/>
		...
</buttonSettings>

...

Code Block
titleAll Available Button Visibility Settings
 <buttonSettings>
		<showDisplayGroups/>
		<showTable/>
		<showValidationColumn/>
		<showValidationStepsColumn/>
		<showUsersColumn/>
		<showCommentsColumn/>
		<showUnitsColumn/>
		<showLocationNamesInTableHeader/>
		<showLocationIdsInTableHeader/>
		<showModuleInstanceInTableHeader/>
		<showForecastTimesInTableHeader/>
		<showColumnStatistics/>
		<showThresholdCrossings/>
		<twentyFourHourOptions/>
		<groupTableByTimeSeries/>
		<reverseTimeSeriesOrder/>
		<showTwentyFourHour/>
		<showChart/>
		<toggleGraphSplitting/>
		<toggleGraphEqualScale/>
		<toggleGraphGroupByRun/>
		<scaleToShowUnreliableData/>
		<showDataLabels/>
		<switchFilterAndShortcuts/>
		<hideUnreliableData/>
		<stackPlot/>
		<legendDisplayOptions/>
		<hideFooter/>
		<thresholdDisplayOptions/>
		<useColorMap/>
		<toggleValidationInChart/>
		<toggleUsersInChart/>
		<toggleCommentsInChart/>
		<toggleProductInfoInChart/>
		<toggleLongitudinalProfileMarkers/>
		<showStatistics/>
		<showLookupTable/>
		<rotateChartAndTable/>
		<zoomIn/>
		<zoomOut/>
		<zoomToDefault/>
		<selectPreviousZoomLevel/>
		<selectNextZoomLevel/>
		<moveToFistDataPoint visible="true"/>
		<moveBackOneViewPeriod/>
		<moveBackHalfViewPeriod/>
		<moveForwardHalfViewPeriod/>
		<moveForwardOneViewPeriod/>
		<moveToLastDataPoint/>
		<showAllData/>
		<switchReferenceLevel/>
		<setViewPeriod/>
		<copyTimeSeries/>
		<pasteTimeSeries/>
		<lockSelection/>
		<runWorkflow/>
		<undoTimeSeriesChanges/>
		<saveTimeSeriesChanges/>
		<setTimeSeriesEditableByClicking/>
		<useGraphicalEditorMovePointMode/>
		<useSetToMissingBetweenSelectedPointsMode/>
		<useInterpolateBetweenSelectedPointsMode/>
		<useGraphicalEditorQuadraticInterpolationMode/>
		<useGraphicalEditorVerticalMoveMode/>
		<useNoGraphicalEditMode/>
		<selectPoints/>
		<deselectPoints/>
		<selectOrDeselectPoint/>
		<openManualEditor/>
		<moveHighLightedTimeStepToLeft/>
		<moveHighLightedTimeStepToRight/>
		<moveTimeCursorToLeft/>
		<moveTimeCursorToRight/>
		<increaseValue/>
		<decreaseValue/>
		<undoEdit/>
		<cancelEdit/>
		<showThresholdWarningLevels/>
		<printChart/>
		<saveChartAsPicture/>
		<showLongTermScroller/>
		<searchAndSelectForecasts/>
		<setTimeSeriesVisibility/>
		<setTimeSeriesResampling/>
		<hideEmptyTimeSeries/>
		<showValidationRules/>
		<showTimeSeriesLister/>
	</buttonSettings>

...

Menu-item in the showGraph drop-down menu with icon  and label "hide unreliables and label "Hide unreliables".

Using this button hides unreliable data. 

stackPlot

Menu-item in the showGraph drop-down menu with label "stack plot".

Using this button hides unreliable data. toggles the graph(s) between a stack plot and a normal plot.

legendDisplayOptions

Controls visibility of several menu-items in the showGraph drop-down menu:

...

Menu-item in the showGraph drop-down menu with icon  and label "Comments".

Using this button shows comments (on a time series) in the graph.

toggleProductInfoInChart

Menu-item in the showGraph drop-down menu with icon Image Added and label "Product Info".

Using this button shows comments (on a the product info (of the time series) in the graph.

Since 2019.02.

toggleLongitudinalProfileMarkers

...

Drop-down button with icon: 

Button to control Using this button toggles a panel showing the lookup tables table / rating curvescurve. This button is automatically made invisible when no lookup table config file is available, nor a rating curve stage / discharche parameter are configured (in Parameters.xml). The button will also automatically be disabled (still visible but not clickable) if the current data selection does not contain a lookup table / rating curve.

...

Note: this button appears on the left part of the toolbar, in the first section. It is located between the showChart and showStatistics buttons

showHistoricalAnalysis

Button with icon: Image Added

Use this button to show a panel that lists the time series available in the Archive

Note: this button appears on the middle part of the toolbar