Codota Logo
StatisticalBarRenderer.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.jfree.chart.renderer.category.StatisticalBarRenderer
constructor

Best Java code snippets using org.jfree.chart.renderer.category.StatisticalBarRenderer.<init> (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.aksw.beast/beast-viz-jfreechart

public static JFreeChart createStatisticalBarChart(CategoryDataset dataset) {
  final CategoryAxis xAxis = new CategoryAxis("Type");
  xAxis.setLowerMargin(0.01d); // percentage of space before first bar
  xAxis.setUpperMargin(0.01d); // percentage of space after last bar
  xAxis.setCategoryMargin(0.3d); // percentage of space between
                  // categories
  xAxis.setCategoryLabelPositions(CategoryLabelPositions.UP_45);
  final LogarithmicAxis yAxis = new LogarithmicAxis("Time (s)");//new NumberAxis("Value");
  yAxis.setAutoRange(true);
  //yAxis.setAutoRangeMinimumSize(/size);
  yAxis.setLowerBound(0.0001);
  yAxis.setMinorTickMarksVisible(true);
  yAxis.setAutoRangeIncludesZero(false);
  yAxis.setStrictValuesFlag(false);
  // define the plot
  final CategoryItemRenderer renderer = new StatisticalBarRenderer();
  final CategoryPlot plot = new CategoryPlot(dataset, xAxis, yAxis, renderer);
  final JFreeChart chart = new JFreeChart("Performance Comparison", new Font("Helvetica", Font.BOLD, 14),
      plot, true);
  return chart;
}
org.jfree.chart.renderer.categoryStatisticalBarRenderer<init>

Javadoc

Default constructor.

Popular methods of StatisticalBarRenderer

  • addItemEntity
  • drawHorizontalItem
    Draws an item for a plot with a horizontal orientation.
  • drawItemLabel
  • drawVerticalItem
    Draws an item for a plot with a vertical orientation.
  • findRangeBounds
  • fireChangeEvent
  • getGradientPaintTransformer
  • getItemLabelGenerator
  • getItemOutlinePaint
  • getItemOutlineStroke
  • getItemPaint
  • getLowerClip
  • getItemPaint,
  • getLowerClip,
  • getUpperClip,
  • isDrawBarOutline,
  • isItemLabelVisible,
  • setErrorIndicatorPaint,
  • calculateBarW0,
  • getColumnCount,
  • getItemMargin

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • putExtra (Intent)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now