org.sonar.web.charts.deprecated
Class BarChart
java.lang.Object
org.sonar.web.charts.deprecated.BaseChart
org.sonar.web.charts.deprecated.BaseChartWeb
org.sonar.web.charts.deprecated.BarChart
- All Implemented Interfaces:
- DeprecatedChart
- Direct Known Subclasses:
- CustomBarChart
public class BarChart
- extends BaseChartWeb
- implements DeprecatedChart
Field Summary |
protected org.jfree.chart.axis.CategoryAxis |
categoryAxis
|
protected org.jfree.data.category.DefaultCategoryDataset |
dataset
|
protected org.jfree.chart.axis.NumberAxis |
numberAxis
|
Fields inherited from class org.sonar.web.charts.deprecated.BaseChartWeb |
BAR_CHART_HORIZONTAL, BAR_CHART_VERTICAL, BAR_CHART_VERTICAL_CUSTOM, CHART_PARAM_CATEGORIES, CHART_PARAM_CATEGORIES_AXISMARGIN_LOWER, CHART_PARAM_CATEGORIES_AXISMARGIN_UPPER, CHART_PARAM_CATEGORIES_AXISMARGIN_VISIBLE, CHART_PARAM_COLORS, CHART_PARAM_DIMENSIONS, CHART_PARAM_INSETS, CHART_PARAM_OUTLINE_RANGEGRIDLINES_VISIBLE, CHART_PARAM_OUTLINE_VISIBLE, CHART_PARAM_RANGEAXIS_VISIBLE, CHART_PARAM_RANGEMAX, CHART_PARAM_SERIES, CHART_PARAM_SERIES_AXISMARGIN_LOWER, CHART_PARAM_SERIES_AXISMARGIN_TICKUNIT, CHART_PARAM_SERIES_AXISMARGIN_UPPER, CHART_PARAM_TITLE, CHART_PARAM_TYPE, CHART_PARAM_VALUES, DEFAULT_CATEGORIES_AXISMARGIN, DEFAULT_FONT, DEFAULT_HEIGHT, DEFAULT_MESSAGE_NODATA, DEFAULT_NAME_CATEGORY, DEFAULT_NAME_SERIE, DEFAULT_SERIES_AXISMARGIN, DEFAULT_WIDTH, jfreechart, params, PIE_CHART, SPARKLINES_CHART, STACKED_BAR_CHART |
Constructor Summary |
BarChart(java.util.Map<java.lang.String,java.lang.String> params)
|
Methods inherited from class org.sonar.web.charts.deprecated.BaseChart |
configureChart, configureChart, configureChartTitle, exportChartAsPNG, exportChartAsPNG, getBufferedImage, getDashedStroke, getDashedStroke, getFont, getHeight, getWidth, setHeight, setWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataset
protected org.jfree.data.category.DefaultCategoryDataset dataset
categoryAxis
protected org.jfree.chart.axis.CategoryAxis categoryAxis
numberAxis
protected org.jfree.chart.axis.NumberAxis numberAxis
BarChart
public BarChart(java.util.Map<java.lang.String,java.lang.String> params)
getChartImage
protected java.awt.image.BufferedImage getChartImage()
throws java.io.IOException
- Specified by:
getChartImage
in class BaseChart
- Throws:
java.io.IOException
configure
protected void configure()
configureCategoryPlot
protected void configureCategoryPlot()
configureCategoryDataset
protected void configureCategoryDataset()
configureCategoryAxis
protected void configureCategoryAxis()
configureRenderer
protected void configureRenderer()
configureRangeAxis
protected void configureRangeAxis()
applyCommomParamsBar
protected void applyCommomParamsBar()
Copyright © 2008 SonarSource SA. All Rights Reserved.