com.googlecode.charts4j
Interface GridChart

All Known Implementing Classes:
AbstractAxisChart, AbstractMarkableChart, BarChart, LineChart, RadarChart, ScatterPlot, XYLineChart

public interface GridChart

Interface for all charts that support grids.

Author:
Julien Chastang (julien.c.chastang at gmail dot com)

Method Summary
 void setGrid(double xAxisStepSize, double yAxisStepSize, int lengthOfLineSegment, int lengthOfBlankSegment)
          Define a grid for this chart.
 

Method Detail

setGrid

void setGrid(double xAxisStepSize,
             double yAxisStepSize,
             int lengthOfLineSegment,
             int lengthOfBlankSegment)
Define a grid for this chart.

Parameters:
xAxisStepSize - x step size. must be > 0.
yAxisStepSize - y step size. must be > 0.
lengthOfLineSegment - length of line segment. must be >= 0.
lengthOfBlankSegment - length of blank segment. must be >= 0.