JIDE 3.5.15

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)

Method Summary
 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.
 

Method Detail

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 context
m - the ChartModel from which the points originated
xPoints - an array of x coordinates
yPoints - an array of y coordinates
style - the suggested style for rendering (a custom renderer may choose to ignore this)

JIDE 3.5.15