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

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

Best Java code snippets using org.jfree.chart.plot.PiePlot.setLabelOutlinePaint (Showing top 5 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: stackoverflow.com

PiePlot plot = (PiePlot) chart.getPlot();
 plot.setLabelBackgroundPaint(null);
 plot.setLabelOutlinePaint(null);
 plot.setLabelShadowPaint(null);
origin: jfree/eastwood

/**
 * Creates a pie chart.
 *
 * @return A pie chart.
 */
private static JFreeChart createPieChart() {
  JFreeChart chart = ChartFactory.createPieChart(null, null,
      false, true, false);
  chart.setBackgroundPaint(Color.white);
  PiePlot plot = (PiePlot) chart.getPlot();
  plot.setBackgroundPaint(null);
  plot.setInsets(RectangleInsets.ZERO_INSETS);
  plot.setInteriorGap(0.06);
  plot.setStartAngle(0.0);
  plot.setLabelGenerator(null);
  plot.setBaseSectionOutlinePaint(Color.white);
  plot.setBaseSectionOutlineStroke(new BasicStroke(1.2f,
      BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
  plot.setOutlineVisible(false);
  plot.setLabelBackgroundPaint(null);
  plot.setLabelOutlinePaint(null);
  plot.setLabelShadowPaint(null);
  plot.setLabelPadding(RectangleInsets.ZERO_INSETS);
  plot.setLabelFont(new Font("Dialog", Font.PLAIN, 12));
  plot.setLabelPaint(Color.gray);
  plot.setToolTipGenerator(new StandardPieToolTipGenerator("{2}"));
  return chart;
}
origin: com.atlassian.jira/jira-api

plot.setLabelGap(0.04);
plot.setLabelBackgroundPaint(Color.WHITE);
plot.setLabelOutlinePaint(Color.gray.brighter());
plot.setLabelShadowPaint(Color.WHITE);
plot.setLabelFont(ChartDefaults.defaultFont);
origin: com.atlassian.confluence.extra.chart/chart-plugin

plot.setLabelGap(0.04);
plot.setLabelBackgroundPaint(ChartDefaults.transparent);
plot.setLabelOutlinePaint(Color.gray.brighter());
plot.setLabelShadowPaint(ChartDefaults.transparent);
plot.setLabelFont(ChartDefaults.defaultFont);
origin: org.jboss.seam/jboss-seam-pdf

pieplot.setLabelOutlinePaint(findColor(labelOutlinePaint));
org.jfree.chart.plotPiePlotsetLabelOutlinePaint

Javadoc

Sets the section label outline paint 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

  • Creating JSON documents from java classes using gson
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • notifyDataSetChanged (ArrayAdapter)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JTextField (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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