-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get_panel() threw an error when 'on' is negative because you cannot subset a list with a negative value. When 'on' is negative, the added action should be rendered before all existing series actions. Add function add_panel_action() to handle negative values for 'on'. Update the panel's add_action() function to append the new action to the correct place in the 'actions' list. The header action is always the panel's first action, and the grid lines should be rendered before all series actions. Aside: the "background" value for 'where' will handle cases where the action should be rendered before the grid lines. For example, when adding shading for a time range (e.g. recession shading). Fixes #409.
- Loading branch information
1 parent
24f7546
commit 198e4f3
Showing
1 changed file
with
48 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters