public Component getPreviewChart() { previewChart = new GraphPanelChart(false, true); chartModel = new ConcurrentHashMap<>(); previewChart.setRows(chartModel); previewChart.setxAxisLabel("Elapsed Time"); previewChart.setBorder(BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); return previewChart; } }
public Component getPreviewChart() { previewChart = new GraphPanelChart(false, true); chartModel = new ConcurrentHashMap<>(); previewChart.setRows(chartModel); previewChart.setxAxisLabel("Elapsed Time"); previewChart.setBorder(BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); return previewChart; } }
public Component getPreviewChart() { previewChart = new GraphPanelChart(false, true); chartModel = new ConcurrentHashMap<>(); previewChart.setRows(chartModel); previewChart.setxAxisLabel("Elapsed Time"); previewChart.setBorder(BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); return previewChart; } }
protected final void init() { JMeterPluginsUtils.addHelpLinkToPanel(this, WIKIPAGE); JPanel containerPanel = new JPanel(new BorderLayout()); containerPanel.add(createParamsPanel(), BorderLayout.NORTH); chart = new GraphPanelChart(false, true); model = new ConcurrentHashMap<>(); chart.setRows(model); chart.getChartSettings().setDrawFinalZeroingLines(true); chart.setxAxisLabel("Elapsed time"); chart.setYAxisLabel("Number of active threads"); chart.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); containerPanel.add(GuiBuilderHelper.getComponentWithMargin(chart, 2, 2, 0, 2), BorderLayout.CENTER); add(containerPanel, BorderLayout.CENTER); // this magic LoopPanel provides functionality for thread loops createControllerPanel(); }
protected final void init() { JMeterPluginsUtils.addHelpLinkToPanel(this, WIKIPAGE); JPanel containerPanel = new JPanel(new BorderLayout()); containerPanel.add(createParamsPanel(), BorderLayout.NORTH); chart = new GraphPanelChart(false, true); model = new ConcurrentHashMap<>(); chart.setRows(model); chart.getChartSettings().setDrawFinalZeroingLines(true); chart.setxAxisLabel("Elapsed time"); chart.setYAxisLabel("Number of active threads"); chart.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); containerPanel.add(GuiBuilderHelper.getComponentWithMargin(chart, 2, 2, 0, 2), BorderLayout.CENTER); add(containerPanel, BorderLayout.CENTER); // this magic LoopPanel provides functionality for thread loops createControllerPanel(); }
protected final void init() { JMeterPluginsUtils.addHelpLinkToPanel(this, WIKIPAGE); JPanel containerPanel = new JPanel(new BorderLayout()); containerPanel.add(createParamsPanel(), BorderLayout.NORTH); chart = new GraphPanelChart(false, true); model = new ConcurrentHashMap<>(); chart.setRows(model); chart.getChartSettings().setDrawFinalZeroingLines(true); chart.setxAxisLabel("Elapsed time"); chart.setYAxisLabel("Number of active threads"); chart.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); containerPanel.add(GuiBuilderHelper.getComponentWithMargin(chart, 2, 2, 0, 2), BorderLayout.CENTER); add(containerPanel, BorderLayout.CENTER); // this magic LoopPanel provides functionality for thread loops createControllerPanel(); }
private Component createChart() { chart = new GraphPanelChart(false, true); model = new ConcurrentHashMap<>(); chart.setRows(model); chart.getChartSettings().setDrawFinalZeroingLines(true); chart.setxAxisLabel("Elapsed time"); chart.setYAxisLabel("Number of active threads"); chart.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); return chart; }
private Component createChart() { chart = new GraphPanelChart(false, true); model = new ConcurrentHashMap<String, AbstractGraphRow>(); chart.setRows(model); chart.getChartSettings().setDrawFinalZeroingLines(true); chart.setxAxisLabel("Elapsed Time"); chart.setYAxisLabel("Number of requests /sec"); chart.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); return chart; }
private Component createChart() { chart = new GraphPanelChart(false, true); model = new ConcurrentHashMap<>(); chart.setRows(model); chart.getChartSettings().setDrawFinalZeroingLines(true); chart.setxAxisLabel("Elapsed time"); chart.setYAxisLabel("Number of active threads"); chart.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); return chart; }
private Component createChart() { chart = new GraphPanelChart(false, true); model = new ConcurrentHashMap<>(); chart.setRows(model); chart.getChartSettings().setDrawFinalZeroingLines(true); chart.setxAxisLabel("Elapsed time"); chart.setYAxisLabel("Number of active threads"); chart.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); return chart; }
private Component createChart() { chart = new GraphPanelChart(false, true); model = new ConcurrentHashMap<String, AbstractGraphRow>(); chart.setRows(model); chart.getChartSettings().setDrawFinalZeroingLines(true); chart.setxAxisLabel("Elapsed Time"); chart.setYAxisLabel("Number of requests /sec"); chart.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); return chart; }
protected GraphPanel createGraphPanel() { graphPanel = new GraphPanel(); graphPanel.getGraphObject().setRows(model); graphPanel.getGraphObject().setPrecisionLabel(interval); setOptionsFromProperties(graphPanel.getGraphObject()); setExtraChartSettings(); // should be placed after creating graph panel settingsPanel = createSettingsPanel(); graphPanel.getSettingsTab().add(getSettingsPanel(), BorderLayout.CENTER); //graphPanel.setSettingsTabPanel(settingsPanel); return graphPanel; }
protected GraphPanel createGraphPanel() { graphPanel = new GraphPanel(); graphPanel.getGraphObject().setRows(model); graphPanel.getGraphObject().setPrecisionLabel(interval); setOptionsFromProperties(graphPanel.getGraphObject()); setExtraChartSettings(); // should be placed after creating graph panel settingsPanel = createSettingsPanel(); graphPanel.getSettingsTab().add(getSettingsPanel(), BorderLayout.CENTER); //graphPanel.setSettingsTabPanel(settingsPanel); return graphPanel; }
@Override public void switchModel(boolean aggregate) { ConcurrentSkipListMap<String, AbstractGraphRow> selectedModel; if (aggregate) { // issue 64: we must fail requests for aggregate in unsupported cases if (modelAggregate.isEmpty() && !model.isEmpty()) { throw new UnsupportedOperationException("Seems you've requested " + "aggregate mode for graph that don't support it. We apologize..."); } selectedModel = modelAggregate; } else { selectedModel = model; } graphPanel.getGraphObject().setRows(selectedModel); graphPanel.clearRowsTab(); for (AbstractGraphRow abstractGraphRow : selectedModel.values()) { graphPanel.addRow(abstractGraphRow); } isAggregate = aggregate; getSettingsPanel().setAggregateMode(aggregate); }
@Override public void switchModel(boolean aggregate) { ConcurrentSkipListMap<String, AbstractGraphRow> selectedModel; if (aggregate) { // issue 64: we must fail requests for aggregate in unsupported cases if (modelAggregate.isEmpty() && !model.isEmpty()) { throw new UnsupportedOperationException("Seems you've requested " + "aggregate mode for graph that don't support it. We apologize..."); } selectedModel = modelAggregate; } else { selectedModel = model; } graphPanel.getGraphObject().setRows(selectedModel); graphPanel.clearRowsTab(); for (AbstractGraphRow abstractGraphRow : selectedModel.values()) { graphPanel.addRow(abstractGraphRow); } isAggregate = aggregate; getSettingsPanel().setAggregateMode(aggregate); }