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

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

Best Java code snippets using org.jfree.chart.plot.PiePlot.setOutlinePaint (Showing top 7 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.jvnet.hudson.plugins/dashboard-view

plot.setOutlinePaint(null);
plot.setForegroundAlpha(0.8f);
origin: org.sakaiproject.sitestats/sitestats-impl

plot.setInsets(new RectangleInsets(1,1,1,1));
plot.setOutlinePaint(null);
chart.setBorderVisible(true);
chart.setBorderPaint(parseColor("#cccccc"));
origin: com.atlassian.jira.plugins/jira-fisheye-plugin

public static ChartHelper generatePieChart(PieDataset dataset, String chartTitle, Color[][] colorScheme) {
  boolean legend = false;
  boolean tooltips = false;
  boolean urls = false;
  JFreeChart chart = ChartFactory.createPieChart(chartTitle, dataset, legend, tooltips, urls);
  chart.setBackgroundPaint(Color.white);
  chart.setBorderVisible(false);
  PiePlot plot = (PiePlot) chart.getPlot();
  // Make section labels in the format "<Key>"
  plot.setLabelGenerator(new StandardPieSectionLabelGenerator("{0}"));
  plot.setBackgroundPaint(Color.white);
  plot.setOutlinePaint(null);
  for(int i = 0; i < colorScheme.length; i++)
  {
    setSectionColor(dataset, plot, i, colorScheme[i][0], colorScheme[i][1]);
  }
  plot.setShadowXOffset(0);
  plot.setShadowYOffset(0);
  return new ChartHelper(chart);
}
origin: com.atlassian.jira/jira-api

plot.setOutlinePaint(Color.WHITE);
plot.setCircular(true);
plot.setDirection(Rotation.CLOCKWISE);
origin: com.atlassian.confluence.extra.chart/chart-plugin

plot.setOutlinePaint(ChartDefaults.transparent);
plot.setCircular(true);
plot.setDirection(Rotation.CLOCKWISE);
origin: com.manydesigns/portofino-chart

plot.setOutlinePaint(transparentColor);
origin: dhis2/dhis2-core

private JFreeChart getMultiplePieChart( BaseChart chart, CategoryDataset[] dataSets )
{
  JFreeChart multiplePieChart = ChartFactory.createMultiplePieChart( chart.getName(), dataSets[0], TableOrder.BY_ROW,
    !chart.isHideLegend(), false, false );
  setBasicConfig( multiplePieChart, chart );
  if ( multiplePieChart.getLegend() != null )
  {
    multiplePieChart.getLegend().setItemFont( SUB_TITLE_FONT );
  }
  MultiplePiePlot multiplePiePlot = (MultiplePiePlot) multiplePieChart.getPlot();
  JFreeChart pieChart = multiplePiePlot.getPieChart();
  pieChart.setBackgroundPaint( DEFAULT_BACKGROUND_COLOR );
  pieChart.getTitle().setFont( SUB_TITLE_FONT );
  PiePlot piePlot = (PiePlot) pieChart.getPlot();
  piePlot.setBackgroundPaint( DEFAULT_BACKGROUND_COLOR );
  piePlot.setOutlinePaint( DEFAULT_BACKGROUND_COLOR );
  piePlot.setLabelFont( LABEL_FONT );
  piePlot.setLabelGenerator( new StandardPieSectionLabelGenerator( "{2}" ) );
  piePlot.setSimpleLabels( true );
  piePlot.setIgnoreZeroValues( true );
  piePlot.setIgnoreNullValues( true );
  piePlot.setShadowXOffset( 0d );
  piePlot.setShadowYOffset( 0d );
  for ( int i = 0; i < dataSets[0].getColumnCount(); i++ )
  {
    piePlot.setSectionPaint( dataSets[0].getColumnKey( i ), COLORS[(i % COLORS.length)] );
  }
  return multiplePieChart;
}
org.jfree.chart.plotPiePlotsetOutlinePaint

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
  • setBaseSectionOutlinePaint
    Sets the base section paint.
  • setNoDataMessage,
  • setBaseSectionOutlinePaint,
  • setIgnoreNullValues,
  • setLabelGap,
  • <init>,
  • getDataset,
  • setBaseSectionOutlineStroke,
  • setDirection,
  • setInteriorGap

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • BoxLayout (javax.swing)
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