com.jidesoft.chart.render
Interface LineRenderer
- All Known Subinterfaces:
- LineRenderer2D
- All Known Implementing Classes:
- AbstractLineRenderer, DefaultLineRenderer, SmoothLineRenderer, StepLineRenderer
public interface LineRenderer
An interface for classes that can be used to render lines in a Chart
- Author:
- Simon White (swhite@catalysoft.com)
renderLine
Shape renderLine(Graphics g,
ChartModel m,
int[] xPoints,
int[] yPoints,
ChartStyle style)
- Render lines using the supplied arrays of x and y pixel coordinates onto the supplied Graphics context.
- Parameters:
g
- 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)