/openshift/adei

To get this branch, use:
bzr branch http://darksoft.org/webbzr/openshift/adei

« back to all changes in this revision

Viewing changes to modules/plot.php

  • Committer: Suren A. Chilingaryan
  • Date: 2021-07-15 15:23:07 UTC
  • Revision ID: csa@suren.me-20210715152307-otk9cxx0g0ro03vd
Support different modes of assigning axes to the channels

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
function plotJS() {?>
5
5
 
6
 
    plot = new PLOT("plot_sel");
 
6
    plot = new PLOT("plot_sel", "axes_sel");
7
7
    adei.AttachPlotModule(plot);
8
8
<?}
9
9
 
14
14
            <tr><?
15
15
                echo "<td>" . _("Plot Type") . "</td><td><select id=\"plot_sel\" onchange=\"javascript:plot.UpdatePlotMode(this.value)\"><option>Loading...</option></select></td>";
16
16
            ?></tr>
 
17
            <tr><?
 
18
                echo "<td>" . _("Axes Mode") . "</td><td><select id=\"axes_sel\" onchange=\"javascript:plot.UpdateAxesMode(this.value)\"><option>Loading...</option></select></td>";
 
19
            ?></tr>
17
20
            <tr class="export_apply">
18
21
                <td colspan="2"><button id="export_button" type="button" onclick="javascript:plot.Apply()"><?echo translate("Apply");?></button></td>
19
22
            </tr>