/** {@inheritDoc} */ @Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected JFreeChart createChart(final CategoryDataset dataSet) { return createAreaChart(dataSet); }
/** {@inheritDoc} */ @java.lang.SuppressWarnings("serial") @SuppressWarnings("SIC") @Override protected CategoryItemRenderer createRenderer(final GraphConfiguration configuration, final String pluginName, final ToolTipProvider toolTipProvider) { CategoryUrlBuilder url = new UrlBuilder(getRootUrl(), pluginName); ToolTipBuilder toolTip = new ToolTipBuilder(toolTipProvider) { /** {@inheritDoc} */ @Override protected String getShortDescription(final int row) { if (row == 0) { return Messages.Trend_PriorityLow(); } else if (row == 1) { return Messages.Trend_PriorityNormal(); } else { return Messages.Trend_PriorityHigh(); } } }; if (configuration.useBuildDateAsDomain()) { return new ToolTipAreaRenderer(toolTip); } else { return new AreaRenderer(url, toolTip); } } // CHECKSTYLE:ON
/** * Returns whether this instance is initialized with its default values. * * @return <code>true</code> if this instance is initialized with its default values. */ // CHECKSTYLE:OFF public boolean isDefault() { return width == DEFAULT_WIDTH && height == DEFAULT_HEIGHT && graphType.getId() == createDefaultGraph().getId() // NOPMD && buildCount == DEFAULT_BUILD_COUNT && dayCount == DEFAULT_DAY_COUNT && useBuildDate == DEFAULT_USE_BUILD_DATE && parameterName == DEFAULT_NAME && parameterValue == DEFAULT_VALUE; } // CHECKSTYLE:ON
@SuppressWarnings("serial") @SuppressFBWarnings("SIC") @Override protected CategoryItemRenderer createRenderer(final GraphConfiguration configuration, final String pluginName, final ToolTipProvider toolTipProvider) { CategoryUrlBuilder url = new UrlBuilder(getRootUrl(), pluginName); ToolTipBuilder toolTip = new ToolTipBuilder(toolTipProvider) { @Override protected String getShortDescription(final int row) { if (row == 0) { return Messages.Trend_PriorityLow(); } else if (row == 1) { return Messages.Trend_PriorityNormal(); } else { return Messages.Trend_PriorityHigh(); } } }; if (configuration.useBuildDateAsDomain()) { return new ToolTipAreaRenderer(toolTip); } else { return new AreaRenderer(url, toolTip); } } // CHECKSTYLE:ON
/** {@inheritDoc} */ @Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected JFreeChart createChart(final CategoryDataset dataSet) { return createAreaChart(dataSet); }
@Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
/** {@inheritDoc} */ @Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
/** {@inheritDoc} */ @Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
/** {@inheritDoc} */ @Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
/** {@inheritDoc} */ @Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
/** {@inheritDoc} */ @Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }
@Override protected BuildResultGraph getGraphType() { return new PriorityGraph(); }