[Rt-commit] rt branch, 4.4/configurable-chart-y-axis, repushed

Craig Kaiser craig at bestpractical.com
Thu Nov 29 16:41:59 EST 2018


The branch 4.4/configurable-chart-y-axis was deleted and repushed:
       was 3590bda74a03a66dbde419ac036b64dad6343717
       now 76c5fb2e6b050b43737445a847aab75499935cef

1: 3590bda74 ! 1: 76c5fb2e6 Make the Y axis for charts Min and Max value configurable from web UI
    @@ -11,8 +11,8 @@
      my @data = ([],[]);
     -my $max_value = 0;
     -my $min_value;
    -+my $max_value = $ARGS{ChartMax} =~ /^[+-]?\d+$/ ? $ARGS{ChartMax} : 0;
    -+my $min_value = $ARGS{ChartMin} =~ /^[+-]?\d+$/ ? $ARGS{ChartMin} : undef;
    ++my $max_value = $ARGS{ChartMax} ? $ARGS{ChartMax} : 0;
    ++my $min_value = $ARGS{ChartMin} ? $ARGS{ChartMin} : undef;
      my $max_key_length = 0;
      while ( my $entry = $report->Next ) {
          push @{ $data[0] }, [ map $entry->LabelValue( $_ ), @{ $columns{'Groups'} } ];



More information about the rt-commit mailing list