当前位置: 首页>>代码示例>>Java>>正文


Java DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE属性代码示例

本文整理汇总了Java中org.jfree.chart.plot.DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE属性的典型用法代码示例。如果您正苦于以下问题:Java DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE属性的具体用法?Java DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE怎么用?Java DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.jfree.chart.plot.DefaultDrawingSupplier的用法示例。


在下文中一共展示了DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE属性的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setGeneralChart

private void setGeneralChart() {
	DefaultPieDataset dataset = new DefaultPieDataset();
	int different = HandlerProxy.getRepositoryHandler().getDifferentSongsPlayed();
	int total = HandlerProxy.getRepositoryHandler().getSongs().size();
	dataset.setValue(LanguageTool.getString("SONGS_PLAYED"), different);
	dataset.setValue(LanguageTool.getString("SONGS_NEVER_PLAYED"), total - different);
	JFreeChart chart = ChartFactory.createPieChart3D(LanguageTool.getString("SONGS_PLAYED"), dataset, false, false, false);
	chart.getTitle().setFont(new Font(Font.SANS_SERIF, Font.PLAIN, 11));
	chart.setBackgroundPaint(new GradientPaint(0, 0, ColorDefinitions.GENERAL_NON_PANEL_TOP_GRADIENT_COLOR, 0, 200, ColorDefinitions.GENERAL_NON_PANEL_BOTTOM_GRADIENT_COLOR));
	chart.setPadding(new RectangleInsets(5,0,0,0));
	chart.getPlot().setBackgroundPaint(new GradientPaint(0, 0, ColorDefinitions.GENERAL_NON_PANEL_TOP_GRADIENT_COLOR, 0, 200, ColorDefinitions.GENERAL_NON_PANEL_BOTTOM_GRADIENT_COLOR));
	DefaultDrawingSupplier drawingSupplier = new DefaultDrawingSupplier(new Paint[] {new Color(0,1,0,0.6f), new Color(1,0,0,0.6f)}, new Paint[] {new Color(0,1,0,0.4f), new Color(1,0,0,0.4f)}, 
			DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE, DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE, DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE);
	chart.getPlot().setDrawingSupplier(drawingSupplier);
	((StatsDialog)frameControlled).getGeneralChart().setIcon(new ImageIcon(chart.createBufferedImage(710, 250)));
}
 
开发者ID:michellemulkey,项目名称:aTunes,代码行数:16,代码来源:StatsDialogController.java

示例2: setChartTheme

public static void setChartTheme() {
    StandardChartTheme chartTheme = new StandardChartTheme("CN");
    chartTheme.setExtraLargeFont(FONT);
    chartTheme.setRegularFont(FONT);
    chartTheme.setLargeFont(FONT);
    chartTheme.setSmallFont(FONT);
    chartTheme.setTitlePaint(new Color(51, 51, 51));
    chartTheme.setSubtitlePaint(new Color(85, 85, 85));

    chartTheme.setLegendBackgroundPaint(Color.WHITE);
    chartTheme.setLegendItemPaint(Color.BLACK);//
    chartTheme.setChartBackgroundPaint(Color.WHITE);

    Paint[] OUTLINE_PAINT_SEQUENCE = new Paint[]{Color.WHITE};
    DefaultDrawingSupplier drawingSupplier = new DefaultDrawingSupplier(CHART_COLORS, CHART_COLORS, OUTLINE_PAINT_SEQUENCE,
            DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE, DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE,
            DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE);
    chartTheme.setDrawingSupplier(drawingSupplier);

    chartTheme.setPlotBackgroundPaint(Color.WHITE);
    chartTheme.setPlotOutlinePaint(Color.WHITE);
    chartTheme.setLabelLinkPaint(new Color(8, 55, 114));
    chartTheme.setLabelLinkStyle(PieLabelLinkStyle.CUBIC_CURVE);

    chartTheme.setAxisOffset(new RectangleInsets(5, 12, 5, 12));
    chartTheme.setDomainGridlinePaint(new Color(192, 208, 224));
    chartTheme.setRangeGridlinePaint(new Color(192, 192, 192));

    chartTheme.setBaselinePaint(Color.WHITE);
    chartTheme.setCrosshairPaint(Color.BLUE);
    chartTheme.setAxisLabelPaint(new Color(51, 51, 51));
    chartTheme.setTickLabelPaint(new Color(67, 67, 72));
    chartTheme.setBarPainter(new StandardBarPainter());
    chartTheme.setXYBarPainter(new StandardXYBarPainter());

    chartTheme.setItemLabelPaint(Color.black);
    chartTheme.setThermometerPaint(Color.white);

    ChartFactory.setChartTheme(chartTheme);
}
 
开发者ID:Fanping,项目名称:iveely.ml,代码行数:40,代码来源:ChartUtils.java

示例3: createDarknessTheme

/**
 * Creates and returns a theme called "Darkness".  In this theme, the
 * charts have a black background.
 *
 * @return The "Darkness" theme.
 */
public static ChartTheme createDarknessTheme() {
    StandardChartTheme theme = new StandardChartTheme("Darkness");
    theme.titlePaint = Color.white;
    theme.subtitlePaint = Color.white;
    theme.legendBackgroundPaint = Color.black;
    theme.legendItemPaint = Color.white;
    theme.chartBackgroundPaint = Color.black;
    theme.plotBackgroundPaint = Color.black;
    theme.plotOutlinePaint = Color.yellow;
    theme.baselinePaint = Color.white;
    theme.crosshairPaint = Color.red;
    theme.labelLinkPaint = Color.lightGray;
    theme.tickLabelPaint = Color.white;
    theme.axisLabelPaint = Color.white;
    theme.shadowPaint = Color.darkGray;
    theme.itemLabelPaint = Color.white;
    theme.drawingSupplier = new DefaultDrawingSupplier(
            new Paint[] {Color.decode("0xFFFF00"),
                    Color.decode("0x0036CC"), Color.decode("0xFF0000"),
                    Color.decode("0xFFFF7F"), Color.decode("0x6681CC"),
                    Color.decode("0xFF7F7F"), Color.decode("0xFFFFBF"),
                    Color.decode("0x99A6CC"), Color.decode("0xFFBFBF"),
                    Color.decode("0xA9A938"), Color.decode("0x2D4587")},
            new Paint[] {Color.decode("0xFFFF00"),
                    Color.decode("0x0036CC")},
            new Stroke[] {new BasicStroke(2.0f)},
            new Stroke[] {new BasicStroke(0.5f)},
            DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE);
    theme.wallPaint = Color.darkGray;
    theme.errorIndicatorPaint = Color.lightGray;
    theme.gridBandPaint = new Color(255, 255, 255, 20);
    theme.gridBandAlternatePaint = new Color(255, 255, 255, 40);
    theme.shadowGenerator = null;
    return theme;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:41,代码来源:StandardChartTheme.java

示例4: createDarknessTheme

/**
 * Creates and returns a theme called "Darkness".  In this theme, the
 * charts have a black background.
 *
 * @return The "Darkness" theme.
 */
public static ChartTheme createDarknessTheme() {
    StandardChartTheme theme = new StandardChartTheme("Darkness");
    theme.titlePaint = Color.WHITE;
    theme.subtitlePaint = Color.WHITE;
    theme.legendBackgroundPaint = Color.BLACK;
    theme.legendItemPaint = Color.WHITE;
    theme.chartBackgroundPaint = Color.BLACK;
    theme.plotBackgroundPaint = Color.BLACK;
    theme.plotOutlinePaint = Color.YELLOW;
    theme.baselinePaint = Color.WHITE;
    theme.crosshairPaint = Color.RED;
    theme.labelLinkPaint = Color.LIGHT_GRAY;
    theme.tickLabelPaint = Color.WHITE;
    theme.axisLabelPaint = Color.WHITE;
    theme.shadowPaint = Color.DARK_GRAY;
    theme.itemLabelPaint = Color.WHITE;
    theme.drawingSupplier = new DefaultDrawingSupplier(
            new Paint[] {Color.decode("0xFFFF00"),
                    Color.decode("0x0036CC"), Color.decode("0xFF0000"),
                    Color.decode("0xFFFF7F"), Color.decode("0x6681CC"),
                    Color.decode("0xFF7F7F"), Color.decode("0xFFFFBF"),
                    Color.decode("0x99A6CC"), Color.decode("0xFFBFBF"),
                    Color.decode("0xA9A938"), Color.decode("0x2D4587")},
            new Paint[] {Color.decode("0xFFFF00"),
                    Color.decode("0x0036CC")},
            new Stroke[] {new BasicStroke(2.0f)},
            new Stroke[] {new BasicStroke(0.5f)},
            DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE);
    theme.errorIndicatorPaint = Color.LIGHT_GRAY;
    theme.gridBandPaint = new Color(255, 255, 255, 20);
    theme.gridBandAlternatePaint = new Color(255, 255, 255, 40);
    theme.shadowGenerator = null;
    return theme;
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:40,代码来源:StandardChartTheme.java

示例5: createDarknessTheme

/**
 * Creates and returns a theme called "Darkness".  In this theme, the
 * charts have a black background.
 *
 * @return The "Darkness" theme.
 */
public static ChartTheme createDarknessTheme() {
    StandardChartTheme theme = new StandardChartTheme("Darkness");
    theme.titlePaint = Color.white;
    theme.subtitlePaint = Color.white;
    theme.legendBackgroundPaint = Color.black;
    theme.legendItemPaint = Color.white;
    theme.chartBackgroundPaint = Color.black;
    theme.plotBackgroundPaint = Color.black;
    theme.plotOutlinePaint = Color.yellow;
    theme.crosshairPaint = Color.red;
    theme.labelLinkPaint = Color.lightGray;
    theme.tickLabelPaint = Color.white;
    theme.axisLabelPaint = Color.white;
    theme.shadowPaint = Color.darkGray;
    theme.itemLabelPaint = Color.white;
    theme.drawingSupplier = new DefaultDrawingSupplier(
            new Paint[] { Color.decode("0xFFFF00"),
                    Color.decode("0x0036CC"), Color.decode("0xFF0000"),
                    Color.decode("0xFFFF7F"), Color.decode("0x6681CC"),
                    Color.decode("0xFF7F7F"), Color.decode("0xFFFFBF"),
                    Color.decode("0x99A6CC"), Color.decode("0xFFBFBF"),
                    Color.decode("0xA9A938"), Color.decode("0x2D4587")},
            new Paint[] { Color.decode("0xFFFF00"),
                    Color.decode("0x0036CC")},
            new Stroke[] { new BasicStroke(2.0f)},
            new Stroke[] { new BasicStroke(0.5f)},
            DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE);
    theme.wallPaint = Color.darkGray;
    theme.errorIndicatorPaint = Color.lightGray;
    theme.gridBandPaint = new Color(255, 255, 255, 20);
    theme.gridBandAlternatePaint = new Color(255, 255, 255, 40);
    return theme;
}
 
开发者ID:SOCR,项目名称:HTML5_WebSite,代码行数:39,代码来源:StandardChartTheme.java

示例6: createDarknessTheme

/**
 * Creates and returns a theme called "Darkness".  In this theme, the
 * charts have a black background.
 *
 * @return The "Darkness" theme.
 */
public static ChartTheme createDarknessTheme() {
    StandardChartTheme theme = new StandardChartTheme("Darkness");
    theme.titlePaint = Color.white;
    theme.subtitlePaint = Color.white;
    theme.legendBackgroundPaint = Color.black;
    theme.legendItemPaint = Color.white;
    theme.chartBackgroundPaint = Color.black;
    theme.plotBackgroundPaint = Color.black;
    theme.plotOutlinePaint = Color.yellow;
    theme.baselinePaint = Color.white;
    theme.crosshairPaint = Color.red;
    theme.labelLinkPaint = Color.lightGray;
    theme.tickLabelPaint = Color.white;
    theme.axisLabelPaint = Color.white;
    theme.shadowPaint = Color.darkGray;
    theme.itemLabelPaint = Color.white;
    theme.drawingSupplier = new DefaultDrawingSupplier(
            new Paint[] {Color.decode("0xFFFF00"),
                    Color.decode("0x0036CC"), Color.decode("0xFF0000"),
                    Color.decode("0xFFFF7F"), Color.decode("0x6681CC"),
                    Color.decode("0xFF7F7F"), Color.decode("0xFFFFBF"),
                    Color.decode("0x99A6CC"), Color.decode("0xFFBFBF"),
                    Color.decode("0xA9A938"), Color.decode("0x2D4587")},
            new Paint[] {Color.decode("0xFFFF00"),
                    Color.decode("0x0036CC")},
            new Stroke[] {new BasicStroke(2.0f)},
            new Stroke[] {new BasicStroke(0.5f)},
            DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE);
    theme.wallPaint = Color.darkGray;
    theme.errorIndicatorPaint = Color.lightGray;
    theme.gridBandPaint = new Color(255, 255, 255, 20);
    theme.gridBandAlternatePaint = new Color(255, 255, 255, 40);
    return theme;
}
 
开发者ID:lulab,项目名称:PI,代码行数:40,代码来源:StandardChartTheme.java

示例7: drawingSupplier

private static DrawingSupplier drawingSupplier() {
  Stroke[] strokes = new Stroke[] { stroke(), stroke(5,5),
      stroke(20,5,5,5), stroke(10,10), stroke(20,5,5,5,5,5)};
  return new DefaultDrawingSupplier(
      DefaultDrawingSupplier.DEFAULT_PAINT_SEQUENCE,
      DefaultDrawingSupplier.DEFAULT_FILL_PAINT_SEQUENCE,
      DefaultDrawingSupplier.DEFAULT_OUTLINE_PAINT_SEQUENCE,
      strokes,
      DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE,
      DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE);
}
 
开发者ID:uq-eresearch,项目名称:aorra,代码行数:11,代码来源:MarineTrends.java

示例8: plainDrawingSupplier

public static DrawingSupplier plainDrawingSupplier(Color c)
{
    Paint black[] = new Paint[1];
    black[0] = c;
    return new DefaultDrawingSupplier(
          black,
          DefaultDrawingSupplier.DEFAULT_OUTLINE_PAINT_SEQUENCE,
          DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE,
          DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE,
          DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE
    );
 }
 
开发者ID:dhmay,项目名称:msInspect,代码行数:12,代码来源:Utils.java

示例9: setPlotDrawingDefaults

protected void setPlotDrawingDefaults(Plot p, JRChartPlot jrPlot)
{
	@SuppressWarnings("unchecked")
	List<Paint> defaultSeriesColors = (List<Paint>)getDefaultValue(defaultChartPropertiesMap, ChartThemesConstants.SERIES_COLORS);
	Paint[] defaultPlotOutlinePaintSequence = 
		getDefaultValue(defaultPlotPropertiesMap, ChartThemesConstants.PLOT_OUTLINE_PAINT_SEQUENCE) != null ?
		(Paint[])getDefaultValue(defaultPlotPropertiesMap, ChartThemesConstants.PLOT_OUTLINE_PAINT_SEQUENCE) :
		DefaultDrawingSupplier.DEFAULT_OUTLINE_PAINT_SEQUENCE;
		
	Stroke[] defaultPlotStrokeSequence = 
		getDefaultValue(defaultPlotPropertiesMap, ChartThemesConstants.PLOT_STROKE_SEQUENCE) != null ?
		(Stroke[])getDefaultValue(defaultPlotPropertiesMap, ChartThemesConstants.PLOT_STROKE_SEQUENCE) :
		DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE;
		
	Stroke[] defaultPlotOutlineStrokeSequence = 
		getDefaultValue(defaultPlotPropertiesMap, ChartThemesConstants.PLOT_OUTLINE_STROKE_SEQUENCE) != null ?
		(Stroke[])getDefaultValue(defaultPlotPropertiesMap, ChartThemesConstants.PLOT_OUTLINE_STROKE_SEQUENCE) :
		DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE;
		
	Shape[] defaultPlotShapeSequence = 
		getDefaultValue(defaultPlotPropertiesMap, ChartThemesConstants.PLOT_SHAPE_SEQUENCE) != null ?
		(Shape[])getDefaultValue(defaultPlotPropertiesMap, ChartThemesConstants.PLOT_SHAPE_SEQUENCE) :
		DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE;
	// Set color series
	Paint[] colors = null;
	SortedSet<JRSeriesColor> seriesColors = jrPlot.getSeriesColors();
	Paint[] colorSequence = null;
	if (seriesColors != null && seriesColors.size() > 0)
	{
		int seriesColorsSize = seriesColors.size();
		
		colors = new Paint[DefaultDrawingSupplier.DEFAULT_PAINT_SEQUENCE.length + seriesColorsSize];

		JRSeriesColor[] jrColorSequence = new JRSeriesColor[seriesColorsSize];
		seriesColors.toArray(jrColorSequence);
		colorSequence = new Paint[seriesColorsSize];
		
		for (int i = 0; i < seriesColorsSize; i++)
		{
			colorSequence[i] = jrColorSequence[i].getColor();
		}
		populateSeriesColors(colors, colorSequence);
	}
	else if (defaultSeriesColors != null && defaultSeriesColors.size() > 0)
	{
		colors = new Paint[DefaultDrawingSupplier.DEFAULT_PAINT_SEQUENCE.length + defaultSeriesColors.size()];
		colorSequence = new Paint[defaultSeriesColors.size()];
		defaultSeriesColors.toArray(colorSequence);
		populateSeriesColors(colors, colorSequence);
	}
	else
	{
		colors = DefaultDrawingSupplier.DEFAULT_PAINT_SEQUENCE;
	}
	
	p.setDrawingSupplier(new DefaultDrawingSupplier(
			colors,
			defaultPlotOutlinePaintSequence,
			defaultPlotStrokeSequence,
			defaultPlotOutlineStrokeSequence,
			defaultPlotShapeSequence
			)
		);
	
}
 
开发者ID:TIBCOSoftware,项目名称:jasperreports,代码行数:65,代码来源:GenericChartTheme.java

示例10: createDrawingSupplier

public static DrawingSupplier createDrawingSupplier()
{
	//Our paint sequence (the default contains very light yellow, which is not legible
	Paint[] paintSequence = new Paint[] {
            new Color(0xFF, 0x55, 0x55),
            new Color(0x55, 0x55, 0xFF),
            new Color(0x55, 0xFF, 0x55),
            new Color(0xFF, 0x55, 0xFF),
            new Color(0x55, 0xFF, 0xFF),
            Color.pink,
            Color.gray,
            ChartColor.DARK_RED,
            ChartColor.DARK_BLUE,
            ChartColor.DARK_GREEN,
            ChartColor.DARK_YELLOW,
            ChartColor.DARK_MAGENTA,
            ChartColor.DARK_CYAN,
            Color.darkGray,
            ChartColor.LIGHT_RED,
            ChartColor.LIGHT_BLUE,
            ChartColor.LIGHT_GREEN,
            ChartColor.LIGHT_YELLOW,
            ChartColor.LIGHT_MAGENTA,
            ChartColor.LIGHT_CYAN,
            Color.lightGray,
            ChartColor.VERY_DARK_RED,
            ChartColor.VERY_DARK_BLUE,
            ChartColor.VERY_DARK_GREEN,
            ChartColor.VERY_DARK_YELLOW,
            ChartColor.VERY_DARK_MAGENTA,
            ChartColor.VERY_DARK_CYAN,
            ChartColor.VERY_LIGHT_RED,
            ChartColor.VERY_LIGHT_BLUE,
            ChartColor.VERY_LIGHT_GREEN,
            ChartColor.VERY_LIGHT_YELLOW,
            ChartColor.VERY_LIGHT_MAGENTA,
            ChartColor.VERY_LIGHT_CYAN
        };		
	
	//Replace the drawing supplier with a supplier with all defaults, but a different paint sequence
	return new DefaultDrawingSupplier(paintSequence,
			DefaultDrawingSupplier.DEFAULT_FILL_PAINT_SEQUENCE, 
			DefaultDrawingSupplier.DEFAULT_OUTLINE_PAINT_SEQUENCE, 
			DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE,
			DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE,
			DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE);

	
}
 
开发者ID:cas-bioinf,项目名称:cy-dataseries,代码行数:49,代码来源:ChartUtils.java

示例11: init

public void init(){
	CLEAR_BUTTON = false;
	LEGEND_SWITCH= false;
	//DefaultDrawingSupplier supplier = new DefaultDrawingSupplier();
	DrawingSupplier supplier = new DefaultDrawingSupplier(
            DefaultDrawingSupplier.DEFAULT_PAINT_SEQUENCE,
            DefaultDrawingSupplier.DEFAULT_OUTLINE_PAINT_SEQUENCE,
            DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE,
            DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE,
            DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE
        );
	//series_shapes = supplier.createStandardSeriesShapes();
	
	//color_mainGroup = supplier.getNextPaint(); //moved to EM
	for (int i=0; i<10; i++){
		//color_kernels[i] = supplier.getNextPaint();
		//series_strokes[i] = supplier.getNextStroke();
		series_shapes[i] = supplier.getNextShape();
	}
	
	series_strokes[0] =new BasicStroke(1.0f, BasicStroke.CAP_SQUARE, 
			                    BasicStroke.JOIN_BEVEL);
	
	series_strokes[1] =new BasicStroke(2.0f, BasicStroke.CAP_SQUARE, 
               BasicStroke.JOIN_BEVEL);
	
	series_strokes[2] =new BasicStroke(3.0f, BasicStroke.CAP_SQUARE, 
               BasicStroke.JOIN_BEVEL);
	
	series_strokes[3] = new BasicStroke(
               1.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 
               1.0f, new float[] {10.0f, 6.0f}, 0.0f
           );
	series_strokes[4] = new BasicStroke(
               2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 
               1.0f, new float[] {10.0f, 6.0f}, 0.0f
           );
	
	series_strokes[5] = new BasicStroke(
               3.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 
               1.0f, new float[] {10.0f, 6.0f}, 0.0f
           );
	series_strokes[6]= new BasicStroke(
               1.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
               1.0f, new float[] {6.0f, 6.0f}, 0.0f
           );
	series_strokes[7]= new BasicStroke(
               2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
               1.0f, new float[] {6.0f, 6.0f}, 0.0f
           );
	series_strokes[8]= new BasicStroke(
               3.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
               1.0f, new float[] {6.0f, 6.0f}, 0.0f
           );
	
	series_strokes[9]= new BasicStroke(
               2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
               1.0f, new float[] {2.0f, 6.0f}, 0.0f
           );
		
	controlPanel = new JPanel();
	modelAllSelected = TOGETHER; 
	num_series=1;
	mEMexperiment  = new MixtureEMExperiment[num_series];
	mEMexperiment[0] = new MixtureEMExperiment();
	resultsTables= new CustomJTable[num_series];
	resultsTables[0] = mEMexperiment[0].getResultsTable();
	
	initControlPanel();
	//initResutlsTable();
	SHOW_STATUS_TEXTAREA = false;

	super.init();

	indLabel = new JLabel("X");
	depLabel = new JLabel("Y");
	
	mEMexperiment[0].resetSize();
	
	packControlArea();
}
 
开发者ID:SOCR,项目名称:HTML5_WebSite,代码行数:81,代码来源:SOCR_EM_MixtureModelChartDemo.java


注:本文中的org.jfree.chart.plot.DefaultDrawingSupplier.DEFAULT_SHAPE_SEQUENCE属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。