Java org.jfree.chart.plot.dial DialPlot fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.plot.dial DialPlot fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.plot.dial DialPlot.

The text is from its open source code.

Subclass

org.jfree.chart.plot.dial.DialPlot has subclasses.
Click this link to see all its subclasses.

Constructor

DialPlot()
Creates a new instance of DialPlot.
DialPlot(ValueDataset dataset)
Creates a new instance of DialPlot.

Method

voidaddLayer(DialLayer layer)
Adds a layer to the plot and sends a PlotChangeEvent to all registered listeners.
voidaddPointer(DialPointer pointer)
Adds a pointer to the plot and sends a PlotChangeEvent to all registered listeners.
voidaddScale(int index, DialScale scale)
Adds a dial scale to the plot and sends a PlotChangeEvent to all registered listeners.
DialLayergetCap()
Returns the cap.
DialFramegetDialFrame()
Returns the dial's frame.
DialPointergetPointerForDataset(int datasetIndex)
Returns the dial pointer that is associated with the specified dataset, or null.
DialScalegetScale(int index)
Returns the scale at the given index.
DialScalegetScaleForDataset(int datasetIndex)
Returns the dial scale for a specific dataset.
doublegetValue(int datasetIndex)
Returns the value from the specified dataset.
doublegetViewHeight()
Returns the height of the viewing rectangle.
doublegetViewY()
Returns the y-coordinate of the viewing rectangle.
voidmapDatasetToScale(int index, int scaleIndex)
Maps a dataset to a particular scale.
Rectangle2DrectangleByRadius(Rectangle2D rect, double radiusW, double radiusH)
A utility method that computes a rectangle using relative radius values.
voidremovePointer(int index)
Removes the pointer at the specified index and sends a PlotChangeEvent to all registered listeners.
voidremovePointer(DialPointer pointer)
Removes the specified pointer and sends a PlotChangeEvent to all registered listeners.
voidsetBackground(DialLayer background)
Sets the background layer and sends a PlotChangeEvent to all registered listeners.
voidsetCap(DialLayer cap)
Sets the cap and sends a PlotChangeEvent to all registered listeners.
voidsetDataset(int index, ValueDataset dataset)
Sets a dataset for the plot.
voidsetDataset(ValueDataset dataset)
Sets the dataset for the plot, replacing the existing dataset, if there is one, and sends a PlotChangeEvent to all registered listeners.
voidsetDialFrame(DialFrame frame)
Sets the dial's frame and sends a PlotChangeEvent to all registered listeners.
voidsetInsets(RectangleInsets insets)
Sets the insets for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetView(double x, double y, double w, double h)
Sets the viewing rectangle, relative to the dial's framing rectangle, and sends a PlotChangeEvent to all registered listeners.