Codota Logo
PiePlot.setLabelLinkStyle
Code IndexAdd Codota to your IDE (free)

How to use
setLabelLinkStyle
method
in
org.jfree.chart.plot.PiePlot

Best Java code snippets using org.jfree.chart.plot.PiePlot.setLabelLinkStyle (Showing top 3 results out of 315)

  • Common ways to obtain PiePlot
private void myMethod () {
PiePlot p =
  • Codota IconJFreeChart chart;(PiePlot) chart.getPlot()
  • Codota IconPieDataset dataset;new PiePlot(dataset)
  • Smart code suggestions by Codota
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Applies the attributes of this theme to a {@link PiePlot} instance.
 * This method also clears any set values for the section paint, outline
 * etc, so that the theme's {@link DrawingSupplier} will be used.
 *
 * @param plot  the plot (<code>null</code> not permitted).
 */
protected void applyToPiePlot(PiePlot plot) {
  plot.setLabelLinkPaint(this.labelLinkPaint);
  plot.setLabelLinkStyle(this.labelLinkStyle);
  plot.setLabelFont(this.regularFont);
  // clear the section attributes so that the theme's DrawingSupplier
  // will be used
  if (plot.getAutoPopulateSectionPaint()) {
    plot.clearSectionPaints(false);
  }
  if (plot.getAutoPopulateSectionOutlinePaint()) {
    plot.clearSectionOutlinePaints(false);
  }
  if (plot.getAutoPopulateSectionOutlineStroke()) {
    plot.clearSectionOutlineStrokes(false);
  }
}
origin: jfree/jfreechart

/**
 * Applies the attributes of this theme to a {@link PiePlot} instance.
 * This method also clears any set values for the section paint, outline
 * etc, so that the theme's {@link DrawingSupplier} will be used.
 *
 * @param plot  the plot ({@code null} not permitted).
 */
protected void applyToPiePlot(PiePlot plot) {
  plot.setLabelLinkPaint(this.labelLinkPaint);
  plot.setLabelLinkStyle(this.labelLinkStyle);
  plot.setLabelFont(this.regularFont);
  plot.setShadowGenerator(this.shadowGenerator);
  // clear the section attributes so that the theme's DrawingSupplier
  // will be used
  if (plot.getAutoPopulateSectionPaint()) {
    plot.clearSectionPaints(false);
  }
  if (plot.getAutoPopulateSectionOutlinePaint()) {
    plot.clearSectionOutlinePaints(false);
  }
  if (plot.getAutoPopulateSectionOutlineStroke()) {
    plot.clearSectionOutlineStrokes(false);
  }
}
origin: datacleaner/DataCleaner

piePlot.setLabelPaint(WidgetUtils.BG_COLOR_DARK);
piePlot.setSectionOutlinesVisible(false);
piePlot.setLabelLinkStyle(PieLabelLinkStyle.QUAD_CURVE);
piePlot.setDrawingSupplier(new DCDrawingSupplier());
org.jfree.chart.plotPiePlotsetLabelLinkStyle

Javadoc

Sets the label link style and sends a PlotChangeEvent to all registered listeners.

Popular methods of PiePlot

  • setLabelGenerator
    Sets the section label generator and sends a PlotChangeEvent to all registered listeners.
  • setSectionPaint
    Sets the paint associated with the specified key, and sends a PlotChangeEvent to all registered list
  • setLabelFont
    Sets the section label font and sends a PlotChangeEvent to all registered listeners.
  • setToolTipGenerator
    Sets the tool tip generator and sends a PlotChangeEvent to all registered listeners. Set the generat
  • setBackgroundPaint
  • setCircular
    Sets the circular attribute and, if requested, sends a PlotChangeEvent to all registered listeners.
  • setLabelBackgroundPaint
    Sets the section label background paint and sends a PlotChangeEvent to all registered listeners.
  • setStartAngle
    Sets the starting angle and sends a PlotChangeEvent to all registered listeners. The initial default
  • setURLGenerator
    Sets the URL generator and sends a PlotChangeEvent to all registered listeners.
  • setExplodePercent
    Sets the amount that a pie section should be exploded and sends a PlotChangeEvent to all registered
  • setNoDataMessage
  • setOutlinePaint
  • setNoDataMessage,
  • setOutlinePaint,
  • setBaseSectionOutlinePaint,
  • setIgnoreNullValues,
  • setLabelGap,
  • <init>,
  • getDataset,
  • setBaseSectionOutlineStroke,
  • setDirection,
  • setInteriorGap

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • Collectors (java.util.stream)
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Runner (org.openjdk.jmh.runner)
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