public interface

DialScale

implements DialLayer
org.jfree.chart.plot.dial.DialScale
Known Indirect Subclasses

Class Overview

A dial scale is a specialised layer that has the ability to convert data values into angles.

Summary

Public Methods
abstract double angleToValue(double angle)
Converts an angle (in degrees) to a data value.
abstract double valueToAngle(double value)
Converts a data value to an angle (in degrees, using the same specification as Java's Arc2D class).
[Expand]
Inherited Methods
From interface org.jfree.chart.plot.dial.DialLayer

Public Methods

public abstract double angleToValue (double angle)

Converts an angle (in degrees) to a data value.

Parameters
angle the angle (in degrees).
Returns
  • The data value.

public abstract double valueToAngle (double value)

Converts a data value to an angle (in degrees, using the same specification as Java's Arc2D class).

Parameters
value the data value.
Returns
  • The angle in degrees.