Example usage for Java org.jfree.chart.plot.dial DialPlot fields, constructors, methods, implement or subclass
The text is from its open source code.
DialPlot() Creates a new instance of DialPlot . | |
DialPlot(ValueDataset dataset) Creates a new instance of DialPlot . |
void | addLayer(DialLayer layer) Adds a layer to the plot and sends a PlotChangeEvent to all registered listeners. |
void | addPointer(DialPointer pointer) Adds a pointer to the plot and sends a PlotChangeEvent to all registered listeners. |
void | addScale(int index, DialScale scale) Adds a dial scale to the plot and sends a PlotChangeEvent to all registered listeners. |
DialLayer | getCap() Returns the cap. |
DialFrame | getDialFrame() Returns the dial's frame. |
DialPointer | getPointerForDataset(int datasetIndex) Returns the dial pointer that is associated with the specified dataset, or null . |
DialScale | getScale(int index) Returns the scale at the given index. |
DialScale | getScaleForDataset(int datasetIndex) Returns the dial scale for a specific dataset. |
double | getValue(int datasetIndex) Returns the value from the specified dataset. |
double | getViewHeight() Returns the height of the viewing rectangle. |
double | getViewY() Returns the y-coordinate of the viewing rectangle. |
void | mapDatasetToScale(int index, int scaleIndex) Maps a dataset to a particular scale. |
Rectangle2D | rectangleByRadius(Rectangle2D rect, double radiusW, double radiusH) A utility method that computes a rectangle using relative radius values. |
void | removePointer(int index) Removes the pointer at the specified index and sends a PlotChangeEvent to all registered listeners. |
void | removePointer(DialPointer pointer) Removes the specified pointer and sends a PlotChangeEvent to all registered listeners. |
void | setBackground(DialLayer background) Sets the background layer and sends a PlotChangeEvent to all registered listeners. |
void | setCap(DialLayer cap) Sets the cap and sends a PlotChangeEvent to all registered listeners. |
void | setDataset(int index, ValueDataset dataset) Sets a dataset for the plot. |
void | setDataset(ValueDataset dataset) Sets the dataset for the plot, replacing the existing dataset, if there is one, and sends a PlotChangeEvent to all registered listeners. |
void | setDialFrame(DialFrame frame) Sets the dial's frame and sends a PlotChangeEvent to all registered listeners. |
void | setInsets(RectangleInsets insets) Sets the insets for the plot and sends a PlotChangeEvent to all registered listeners. |
void | setView(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. |