com.jidesoft.chart.render
Interface LineRenderer2D
- All Superinterfaces:
- LineRenderer
- All Known Implementing Classes:
- SmoothLineRenderer
public interface LineRenderer2D
- extends LineRenderer
An interface for classes that can be used to render lines in a Chart
- Author:
- Simon White (swhite@catalysoft.com)
renderLine
Shape renderLine(Graphics2D g2d,
ChartModel m,
double[] xPoints,
double[] yPoints,
ChartStyle style)
- Render lines using the supplied arrays of x and y pixel coordinates onto the supplied Graphics context.
- Parameters:
g2d
- the Graphics contextm
- the ChartModel from which the points originatedxPoints
- an array of x coordinatesyPoints
- an array of y coordinatesstyle
- the suggested style for rendering (a custom renderer may choose to ignore this)