Search in sources :

Example 6 with StandardGradientPaintTransformer

use of org.jfree.chart.util.StandardGradientPaintTransformer in project ES-LEI-2Sem-2022-Grupo-1 by tmrbo-iscte.

the class LegendItemTest method testEquals.

/**
 * Confirm that the equals method can distinguish all the required fields.
 */
@Test
public void testEquals() {
    LegendItem item1 = new LegendItem("Label", "Description", "ToolTip", "URL", true, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    LegendItem item2 = new LegendItem("Label", "Description", "ToolTip", "URL", true, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    assertEquals(item2, item1);
    item1 = new LegendItem("Label2", "Description", "ToolTip", "URL", true, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description", "ToolTip", "URL", true, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", true, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", true, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), true, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.RED, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, true, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.BLUE, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(1.2f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), true, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), false, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), false, new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), false, new Line2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(2.1f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), false, new Line2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(2.1f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), false, new Line2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(3.3f), Color.GREEN);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), false, new Line2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(3.3f), Color.GREEN);
    assertEquals(item1, item2);
    item1 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), false, new Line2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(3.3f), Color.WHITE);
    assertNotEquals(item1, item2);
    item2 = new LegendItem("Label2", "Description2", "ToolTip", "URL", false, new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), false, Color.BLACK, false, Color.YELLOW, new BasicStroke(2.1f), false, new Line2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(3.3f), Color.WHITE);
    assertEquals(item1, item2);
    // fillPaintTransformer
    item1.setFillPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.CENTER_VERTICAL));
    assertNotEquals(item1, item2);
    item2.setFillPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.CENTER_VERTICAL));
    assertEquals(item1, item2);
    // labelFont
    item1.setLabelFont(new Font("Dialog", Font.PLAIN, 13));
    assertNotEquals(item1, item2);
    item2.setLabelFont(new Font("Dialog", Font.PLAIN, 13));
    assertEquals(item1, item2);
    // labelPaint
    item1.setLabelPaint(Color.RED);
    assertNotEquals(item1, item2);
    item2.setLabelPaint(Color.RED);
    assertEquals(item1, item2);
    // fillPaint
    item1.setFillPaint(new GradientPaint(1.0f, 2.0f, Color.GREEN, 3.0f, 4.0f, Color.BLUE));
    assertNotEquals(item1, item2);
    item2.setFillPaint(new GradientPaint(1.0f, 2.0f, Color.GREEN, 3.0f, 4.0f, Color.BLUE));
    assertEquals(item1, item2);
    // outlinePaint
    item1.setOutlinePaint(new GradientPaint(1.1f, 2.2f, Color.GREEN, 3.3f, 4.4f, Color.BLUE));
    assertNotEquals(item1, item2);
    item2.setOutlinePaint(new GradientPaint(1.1f, 2.2f, Color.GREEN, 3.3f, 4.4f, Color.BLUE));
    assertEquals(item1, item2);
    // linePaint
    item1.setLinePaint(new GradientPaint(0.1f, 0.2f, Color.GREEN, 0.3f, 0.4f, Color.BLUE));
    assertNotEquals(item1, item2);
    item2.setLinePaint(new GradientPaint(0.1f, 0.2f, Color.GREEN, 0.3f, 0.4f, Color.BLUE));
    assertEquals(item1, item2);
}
Also used : BasicStroke(java.awt.BasicStroke) StandardGradientPaintTransformer(org.jfree.chart.util.StandardGradientPaintTransformer) LegendItem(org.jfree.chart.legend.LegendItem) Rectangle2D(java.awt.geom.Rectangle2D) GradientPaint(java.awt.GradientPaint) Line2D(java.awt.geom.Line2D) Font(java.awt.Font) Test(org.junit.jupiter.api.Test)

Example 7 with StandardGradientPaintTransformer

use of org.jfree.chart.util.StandardGradientPaintTransformer in project ES-LEI-2Sem-2022-Grupo-1 by tmrbo-iscte.

the class DialBackgroundTest method testEquals.

/**
 * Confirm that the equals method can distinguish all the required fields.
 */
@Test
public void testEquals() {
    DialBackground b1 = new DialBackground();
    DialBackground b2 = new DialBackground();
    assertEquals(b1, b2);
    // paint
    b1.setPaint(new GradientPaint(1.0f, 2.0f, Color.RED, 3.0f, 4.0f, Color.YELLOW));
    assertNotEquals(b1, b2);
    b2.setPaint(new GradientPaint(1.0f, 2.0f, Color.RED, 3.0f, 4.0f, Color.YELLOW));
    assertEquals(b1, b2);
    // gradient paint transformer
    b1.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.CENTER_VERTICAL));
    assertNotEquals(b1, b2);
    b2.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.CENTER_VERTICAL));
    assertEquals(b1, b2);
    // check an inherited attribute
    b1.setVisible(false);
    assertNotEquals(b1, b2);
    b2.setVisible(false);
    assertEquals(b1, b2);
}
Also used : StandardGradientPaintTransformer(org.jfree.chart.util.StandardGradientPaintTransformer) GradientPaint(java.awt.GradientPaint) Test(org.junit.jupiter.api.Test)

Example 8 with StandardGradientPaintTransformer

use of org.jfree.chart.util.StandardGradientPaintTransformer in project ES-LEI-2Sem-2022-Grupo-1 by tmrbo-iscte.

the class BarRendererTest method testEquals.

/**
 * Test that the equals() method distinguishes all fields.
 */
@Test
public void testEquals() {
    BarRenderer r1 = new BarRenderer();
    BarRenderer r2 = new BarRenderer();
    assertEquals(r1, r2);
    assertEquals(r2, r1);
    // base value
    r1.setBase(0.123);
    assertNotEquals(r1, r2);
    r2.setBase(0.123);
    assertEquals(r1, r2);
    // itemMargin
    r1.setItemMargin(0.22);
    assertNotEquals(r1, r2);
    r2.setItemMargin(0.22);
    assertEquals(r1, r2);
    // drawBarOutline
    r1.setDrawBarOutline(!r1.isDrawBarOutline());
    assertNotEquals(r1, r2);
    r2.setDrawBarOutline(!r2.isDrawBarOutline());
    assertEquals(r1, r2);
    // maximumBarWidth
    r1.setMaximumBarWidth(0.11);
    assertNotEquals(r1, r2);
    r2.setMaximumBarWidth(0.11);
    assertEquals(r1, r2);
    // minimumBarLength
    r1.setMinimumBarLength(0.04);
    assertNotEquals(r1, r2);
    r2.setMinimumBarLength(0.04);
    assertEquals(r1, r2);
    // gradientPaintTransformer
    r1.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.CENTER_VERTICAL));
    assertNotEquals(r1, r2);
    r2.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.CENTER_VERTICAL));
    assertEquals(r1, r2);
    // positiveItemLabelPositionFallback
    r1.setPositiveItemLabelPositionFallback(new ItemLabelPosition(ItemLabelAnchor.INSIDE1, TextAnchor.CENTER));
    assertNotEquals(r1, r2);
    r2.setPositiveItemLabelPositionFallback(new ItemLabelPosition(ItemLabelAnchor.INSIDE1, TextAnchor.CENTER));
    assertEquals(r1, r2);
    // negativeItemLabelPositionFallback
    r1.setNegativeItemLabelPositionFallback(new ItemLabelPosition(ItemLabelAnchor.INSIDE1, TextAnchor.CENTER));
    assertNotEquals(r1, r2);
    r2.setNegativeItemLabelPositionFallback(new ItemLabelPosition(ItemLabelAnchor.INSIDE1, TextAnchor.CENTER));
    assertEquals(r1, r2);
    // barPainter
    r1.setBarPainter(new GradientBarPainter(0.1, 0.2, 0.3));
    assertNotEquals(r1, r2);
    r2.setBarPainter(new GradientBarPainter(0.1, 0.2, 0.3));
    assertEquals(r1, r2);
    // shadowsVisible
    r1.setShadowVisible(false);
    assertNotEquals(r1, r2);
    r2.setShadowVisible(false);
    assertEquals(r1, r2);
    r1.setShadowPaint(Color.RED);
    assertNotEquals(r1, r2);
    r2.setShadowPaint(Color.RED);
    assertEquals(r1, r2);
    // shadowXOffset
    r1.setShadowXOffset(3.3);
    assertNotEquals(r1, r2);
    r2.setShadowXOffset(3.3);
    assertEquals(r1, r2);
    // shadowYOffset
    r1.setShadowYOffset(3.3);
    assertNotEquals(r1, r2);
    r2.setShadowYOffset(3.3);
    assertEquals(r1, r2);
}
Also used : StandardGradientPaintTransformer(org.jfree.chart.util.StandardGradientPaintTransformer) ItemLabelPosition(org.jfree.chart.labels.ItemLabelPosition) Test(org.junit.jupiter.api.Test)

Example 9 with StandardGradientPaintTransformer

use of org.jfree.chart.util.StandardGradientPaintTransformer in project ES-LEI-2Sem-2022-Grupo-1 by tmrbo-iscte.

the class XYSplineRendererTest method testEquals.

/**
 * Test that the equals() method distinguishes all fields.
 */
@Test
public void testEquals() {
    XYSplineRenderer r1 = new XYSplineRenderer();
    XYSplineRenderer r2 = new XYSplineRenderer();
    assertEquals(r1, r2);
    assertEquals(r2, r1);
    r1.setPrecision(9);
    assertNotEquals(r1, r2);
    r2.setPrecision(9);
    assertEquals(r1, r2);
    r1.setFillType(XYSplineRenderer.FillType.TO_ZERO);
    assertNotEquals(r1, r2);
    r2.setFillType(XYSplineRenderer.FillType.TO_ZERO);
    assertEquals(r1, r2);
    r1.setGradientPaintTransformer(null);
    assertNotEquals(r1, r2);
    r2.setGradientPaintTransformer(null);
    assertEquals(r1, r2);
    r1.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.HORIZONTAL));
    assertNotEquals(r1, r2);
    r2.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.HORIZONTAL));
    assertEquals(r1, r2);
}
Also used : StandardGradientPaintTransformer(org.jfree.chart.util.StandardGradientPaintTransformer) Test(org.junit.jupiter.api.Test)

Example 10 with StandardGradientPaintTransformer

use of org.jfree.chart.util.StandardGradientPaintTransformer in project ES-LEI-2Sem-2022-Grupo-1 by tmrbo-iscte.

the class XYBarRendererTest method testEquals.

/**
 * Test that the equals() method distinguishes all fields.
 */
@Test
public void testEquals() {
    // default instances
    XYBarRenderer r1 = new XYBarRenderer();
    XYBarRenderer r2 = new XYBarRenderer();
    assertEquals(r1, r2);
    assertEquals(r2, r1);
    // setBase()
    r1.setBase(1.0);
    assertNotEquals(r1, r2);
    r2.setBase(1.0);
    assertEquals(r1, r2);
    // setUseYInterval
    r1.setUseYInterval(!r1.getUseYInterval());
    assertNotEquals(r1, r2);
    r2.setUseYInterval(!r2.getUseYInterval());
    assertEquals(r1, r2);
    // setMargin()
    r1.setMargin(0.10);
    assertNotEquals(r1, r2);
    r2.setMargin(0.10);
    assertEquals(r1, r2);
    // setDrawBarOutline()
    r1.setDrawBarOutline(!r1.isDrawBarOutline());
    assertNotEquals(r1, r2);
    r2.setDrawBarOutline(!r2.isDrawBarOutline());
    assertEquals(r1, r2);
    // setGradientPaintTransformer()
    r1.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.CENTER_HORIZONTAL));
    assertNotEquals(r1, r2);
    r2.setGradientPaintTransformer(new StandardGradientPaintTransformer(GradientPaintTransformType.CENTER_HORIZONTAL));
    assertEquals(r1, r2);
    // legendBar
    r1.setLegendBar(new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0));
    assertNotEquals(r1, r2);
    r2.setLegendBar(new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0));
    assertEquals(r1, r2);
    // positiveItemLabelFallbackPosition
    r1.setPositiveItemLabelPositionFallback(new ItemLabelPosition());
    assertNotEquals(r1, r2);
    r2.setPositiveItemLabelPositionFallback(new ItemLabelPosition());
    assertEquals(r1, r2);
    // negativeItemLabelFallbackPosition
    r1.setNegativeItemLabelPositionFallback(new ItemLabelPosition());
    assertNotEquals(r1, r2);
    r2.setNegativeItemLabelPositionFallback(new ItemLabelPosition());
    assertEquals(r1, r2);
    // barPainter
    r1.setBarPainter(new GradientXYBarPainter(0.11, 0.22, 0.33));
    assertNotEquals(r1, r2);
    r2.setBarPainter(new GradientXYBarPainter(0.11, 0.22, 0.33));
    assertEquals(r1, r2);
    // shadowsVisible
    r1.setShadowVisible(false);
    assertNotEquals(r1, r2);
    r2.setShadowVisible(false);
    assertEquals(r1, r2);
    // shadowXOffset
    r1.setShadowXOffset(3.3);
    assertNotEquals(r1, r2);
    r2.setShadowXOffset(3.3);
    assertEquals(r1, r2);
    // shadowYOffset
    r1.setShadowYOffset(3.3);
    assertNotEquals(r1, r2);
    r2.setShadowYOffset(3.3);
    assertEquals(r1, r2);
}
Also used : StandardGradientPaintTransformer(org.jfree.chart.util.StandardGradientPaintTransformer) Rectangle2D(java.awt.geom.Rectangle2D) ItemLabelPosition(org.jfree.chart.labels.ItemLabelPosition) Test(org.junit.jupiter.api.Test)

Aggregations

StandardGradientPaintTransformer (org.jfree.chart.util.StandardGradientPaintTransformer)10 Test (org.junit.jupiter.api.Test)10 GradientPaint (java.awt.GradientPaint)4 Rectangle2D (java.awt.geom.Rectangle2D)4 BasicStroke (java.awt.BasicStroke)2 Line2D (java.awt.geom.Line2D)2 ItemLabelPosition (org.jfree.chart.labels.ItemLabelPosition)2 Font (java.awt.Font)1 LegendItem (org.jfree.chart.legend.LegendItem)1 GradientPaintTransformer (org.jfree.chart.util.GradientPaintTransformer)1