[%# 1.0@bugzilla.org %]
[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Test Runner System.
  #
  # The Initial Developer of the Original Code is Maciej Maczynski.
  # Portions created by Maciej Maczynski are Copyright (C) 2001
  # Maciej Maczynski. All Rights Reserved.
  #
  # Contributor(s): Greg Hendricks <ghendricks@novell.com>
  #%]

<p>
  Choose one or more fields as your axes, and then refine your set of 
  [% obj.type FILTER none %]s using the rest of the form.
</p>


<table align="center">
  <tr>
    <td>
    </td>
    <td align="center">
      <b>Horizontal Axis:</b>
          [% PROCESS select sel = { name  => 'x_axis_field',
                                list      => obj.report_columns } %]

    </td>
  </tr>

  <tr>
    <td valign="middle" align="center">
      <b>Vertical Axis:</b><br>
          [% PROCESS select sel = { name  => 'y_axis_field',
                                list      => obj.report_columns } %]

    </td>
    <td width="150" height="150">
      <table border="1" width="100%" height="100%">
        <tr>
          <td align="center" valign="middle">
            <b>Multiple Tables:</b><br>
          [% PROCESS select sel = { name  => 'z_axis_field',
                                list      => obj.report_columns } %]

          </td>
        </tr>
      </table>
    </td>
    <td rowspan="2">
      <b>Format:</b><br>
        <input name="format" value="table" checked="checked" type="radio">Table<br>
        <input name="format" value="line" type="radio">Line Graph<br>
        <input name="format" value="bar"  type="radio">Bar Chart<br>
<!--        <input id="pie_selector" name="format" value="pie" onchange="chartTypeChanged()" type="radio">Pie Chart<br> -->
    </td>
  </tr>
</table>

<br>
<input type="hidden" name="report_action" value="data" />
<input type="hidden" name="report" value="1" />
