Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Support always showing legend.

Support three states for the hideLegend graph option:
  * missing (default): show legend if fewer than 10 metrics
  * 'on': always hide the legend
  * false: always show the legend
  • Loading branch information...
commit 3932bedbdf350668f5447d47019ade3318cfede6 1 parent d9987d7
Aaron Suggs ktheory authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 views/index.haml
7 views/index.haml
@@ -155,8 +155,11 @@
%label{for: 'check_hideAxes'} Hide Axes
%input{type: 'checkbox', id: 'check_hideAxes', name: 'options[hideAxes]'}
- %label{for: 'check_hideLegend'} Hide Legend
- %input{type: 'checkbox', id: 'check_hideLegend', name: 'options[hideLegend]'}
+ %label Hide Legend
+ %select{name: 'options[hideLegend]'}
+ %option
+ %option{value: 'on'} always hide
+ %option{value: 'false'} always show
%label{for: 'check_drawNullAsZero'} Draw Null as Zero
%input{type: 'checkbox', id: 'check_drawNullAsZero', name: 'options[drawNullAsZero]'}
Please sign in to comment.
Something went wrong with that request. Please try again.