com.atlassian.jira.charts.portlet
Class PieChartPortlet
java.lang.Object
com.atlassian.jira.portal.PortletImpl
com.atlassian.jira.charts.portlet.AbstractChartPortlet
com.atlassian.jira.charts.portlet.PieChartPortlet
- All Implemented Interfaces:
- SearchRequestAwareChartPortlet, LazyLoadingPortlet, Portlet
public class PieChartPortlet
- extends AbstractChartPortlet
- implements SearchRequestAwareChartPortlet
Portlet that shows a pie chart for a particular filter/project and field.
- Since:
- v4.0
Methods inherited from class com.atlassian.jira.portal.PortletImpl |
equals, getCornerThumbnail, getCornerThumbnailPath, getDescription, getDescriptor, getId, getIssueConstant, getListFromMultiSelectValue, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getThumbnailPath, getViewHtml, hashCode, hasPermission, init, isEditablePortletConfig |
Methods inherited from interface com.atlassian.jira.portal.Portlet |
getCornerThumbnail, getDescription, getDescriptor, getId, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getViewHtml, hasPermission, init |
PieChartPortlet
public PieChartPortlet(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
ApplicationProperties applicationProperties,
VelocityRequestContextFactory velocityRequestContextFactory,
ChartUtils chartUtils,
ChartFactory chartFactory)
getVelocityParams
protected Map<String,Object> getVelocityParams(PortletConfiguration portletConfiguration)
- Description copied from class:
PortletImpl
- Allow for the addition of additional Velocity parameters to the context.
Sub-classes may wish to override this to add their own object to the velocity context
- Overrides:
getVelocityParams
in class PortletImpl
- Parameters:
portletConfiguration
- portlet configuration
- Returns:
- map of velocity parameters, never null
getSearchRequestViewHtml
public String getSearchRequestViewHtml(PortletConfiguration portletConfiguration,
SearchRequest searchRequest)
- Description copied from interface:
SearchRequestAwareChartPortlet
- Renders the SearchRequest View HTML for a given portlet configuration and searchrequest.
- Specified by:
getSearchRequestViewHtml
in interface SearchRequestAwareChartPortlet
- Parameters:
portletConfiguration
- The properties to use for the chart portlet to rendersearchRequest
- The search request, defining the data to chart
- Returns:
- The HTML of the chart portlet
Copyright © 2002-2011 Atlassian. All Rights Reserved.