Example usage for org.jfree.chart.plot MeterInterval getLabel

List of usage examples for org.jfree.chart.plot MeterInterval getLabel

Introduction

In this page you can find the example usage for org.jfree.chart.plot MeterInterval getLabel.

Prototype

public String getLabel() 

Source Link

Document

Returns the label.

Usage

From source file:net.sf.dynamicreports.test.jasper.chart.MeterChartTest.java

private void intervalTest(MeterInterval interval, String label, Color backgroundColor, double rangeLow,
        double rangeHigh) {
    Assert.assertEquals("interval label", label, interval.getLabel());
    Assert.assertEquals("interval background color", backgroundColor, interval.getBackgroundPaint());
    Assert.assertEquals("interval data range low", rangeLow, interval.getRange().getLowerBound());
    Assert.assertEquals("interval data range high", rangeHigh, interval.getRange().getUpperBound());
}