Tabnine Logo
WaterfallBarRenderer.setGradientPaintTransformer
Code IndexAdd Tabnine to your IDE (free)

How to use
setGradientPaintTransformer
method
in
org.jfree.chart.renderer.category.WaterfallBarRenderer

Best Java code snippets using org.jfree.chart.renderer.category.WaterfallBarRenderer.setGradientPaintTransformer (Showing top 3 results out of 315)

origin: org.codehaus.jtstand/jtstand-chart

this.positiveBarPaint = positiveBarPaint;
this.negativeBarPaint = negativeBarPaint;
setGradientPaintTransformer(new StandardGradientPaintTransformer(
    GradientPaintTransformType.CENTER_VERTICAL));
setMinimumBarLength(1.0);
origin: jfree/jfreechart

/**
 * Constructs a new waterfall renderer.
 *
 * @param firstBarPaint  the color of the first bar ({@code null} not
 *                       permitted).
 * @param positiveBarPaint  the color for bars with positive values
 *                          ({@code null} not permitted).
 * @param negativeBarPaint  the color for bars with negative values
 *                          ({@code null} not permitted).
 * @param lastBarPaint  the color of the last bar ({@code null} not
 *                      permitted).
 */
public WaterfallBarRenderer(Paint firstBarPaint, Paint positiveBarPaint,
    Paint negativeBarPaint, Paint lastBarPaint) {
  super();
  Args.nullNotPermitted(firstBarPaint, "firstBarPaint");
  Args.nullNotPermitted(positiveBarPaint, "positiveBarPaint");
  Args.nullNotPermitted(negativeBarPaint, "negativeBarPaint");
  Args.nullNotPermitted(lastBarPaint, "lastBarPaint");
  this.firstBarPaint = firstBarPaint;
  this.lastBarPaint = lastBarPaint;
  this.positiveBarPaint = positiveBarPaint;
  this.negativeBarPaint = negativeBarPaint;
  setGradientPaintTransformer(new StandardGradientPaintTransformer(
      GradientPaintTransformType.CENTER_VERTICAL));
  setMinimumBarLength(1.0);
}
origin: dynamicreports/dynamicreports

GradientPaintTransformer gradientPaintTransformer = categoryRenderer.getGradientPaintTransformer();
if (gradientPaintTransformer != null) {
  renderer.setGradientPaintTransformer(gradientPaintTransformer);
org.jfree.chart.renderer.categoryWaterfallBarRenderersetGradientPaintTransformer

Popular methods of WaterfallBarRenderer

  • <init>
    Constructs a new waterfall renderer.
  • addItemEntity
  • drawItemLabel
  • fireChangeEvent
  • getColumnCount
  • getFirstBarPaint
    Returns the paint used to draw the first bar.
  • getGradientPaintTransformer
  • getItemLabelGenerator
  • getItemMargin
  • getItemOutlinePaint
  • getItemOutlineStroke
  • getLastBarPaint
    Returns the paint used to draw the last bar.
  • getItemOutlineStroke,
  • getLastBarPaint,
  • getMinimumBarLength,
  • getNegativeBarPaint,
  • getPositiveBarPaint,
  • isDrawBarOutline,
  • isItemLabelVisible,
  • setMinimumBarLength,
  • setBaseItemLabelFont

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now