remove timestamp column from hide column list
[MojoFacets.git] / templates / data / items.html.ep
index bdefbf2..9d17120 100644 (file)
@@ -61,7 +61,8 @@ with:
 <div style="float: right">
 Hide from graph:
 <ul>
-%  foreach my $column ( @$columns ) {
+%  my @hide_columns = @$columns; shift @hide_columns;
+%  foreach my $column ( @hide_columns ) {
  <li><label><%= check_box gnuplot_hide => $column %><%= $column %></label></li>
 %  }
 </ul>