Package | Description |
---|---|
org.swtchart.internal | |
org.swtchart.internal.axis | |
org.swtchart.internal.series |
Modifier and Type | Field and Description |
---|---|
private Axis[] |
ChartLayout.axes
the axes
|
private Axis |
Grid.axis
the axis
|
private Axis[] |
ChartLayout.horizontalAxes
the horizontal axes
|
private Axis[] |
ChartLayout.verticalAxes
the vertical axes
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Axis,ChartLayout.AxisLayoutData> |
ChartLayout.axisLayoutDataMap
the map between axis and axis layout data
|
Constructor and Description |
---|
AxisLayoutData(Axis axis)
Constructor.
|
Grid(Axis axis)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
private Axis |
AxisTickLabels.axis
the axis
|
private Axis |
AxisTick.axis
the axis
|
private Axis |
AxisTitle.axis
the axis
|
private Axis |
AxisTickMarks.axis
the axis
|
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.Integer,Axis> |
AxisSet.xAxisMap
the set of X axes
|
private java.util.HashMap<java.lang.Integer,Axis> |
AxisSet.yAxisMap
the set of Y axes
|
Modifier and Type | Method and Description |
---|---|
Axis |
AxisTickMarks.getAxis()
Gets the associated axis.
|
Modifier and Type | Method and Description |
---|---|
private java.util.HashMap<java.lang.Integer,Axis> |
AxisSet.getAxisMap(IAxis.Direction direction)
Gets the axis map for given direction.
|
Constructor and Description |
---|
AxisTick(Chart chart,
Axis axis)
Constructor.
|
AxisTickLabels(Chart chart,
Axis axis)
Constructor.
|
AxisTickMarks(Chart chart,
Axis axis)
Constructor.
|
AxisTitle(Chart chart,
int style,
Axis axis,
IAxis.Direction direction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
Series.draw(org.eclipse.swt.graphics.GC gc,
int width,
int height,
Axis xAxis,
Axis yAxis)
Draws series.
|
protected void |
LineSeries.draw(org.eclipse.swt.graphics.GC gc,
int width,
int height,
Axis xAxis,
Axis yAxis) |
protected void |
BarSeries.draw(org.eclipse.swt.graphics.GC gc,
int width,
int height,
Axis xAxis,
Axis yAxis) |
private void |
ErrorBar.draw(org.eclipse.swt.graphics.GC gc,
int h,
int v,
Axis axis,
double plusError,
double minusError)
Draws the error bar.
|
protected void |
ErrorBar.draw(org.eclipse.swt.graphics.GC gc,
int h,
int v,
Axis axis,
int seriesIndex)
Draws error bar.
|
private static void |
LineSeries.drawLine(org.eclipse.swt.graphics.GC gc,
Axis xAxis,
Axis yAxis,
double[] xseries,
double[] yseries,
boolean isHorizontal) |
private void |
LineSeries.drawLineAndArea(org.eclipse.swt.graphics.GC gc,
int width,
int height,
Axis xAxis,
Axis yAxis)
Draws the line and area.
|
private static void |
LineSeries.drawLineWithStyle(org.eclipse.swt.graphics.GC gc,
Axis xAxis,
Axis yAxis,
double[] xseries,
double[] yseries,
boolean isHorizontal)
Draws the line segments with line style.
|
private void |
LineSeries.drawSymbolAndLabel(org.eclipse.swt.graphics.GC gc,
int width,
int height,
Axis xAxis,
Axis yAxis)
Draws series symbol, label and error bars.
|
abstract Range |
Series.getAdjustedRange(Axis axis,
int length)
Gets the adjusted range to show all series in screen.
|
Range |
LineSeries.getAdjustedRange(Axis axis,
int length) |
Range |
BarSeries.getAdjustedRange(Axis axis,
int length) |
private int[] |
LineSeries.getLinePoints(double[] xseries,
double[] yseries,
int[] indexes,
int index,
Axis xAxis,
Axis yAxis)
Gets the line points to draw line and area.
|
protected Range |
Series.getRangeWithMargin(int lowerPlotMargin,
int upperPlotMargin,
int length,
Axis axis,
Range range)
Gets the range with given margin.
|
private int |
BarSeries.getRiserWidth(double[] series,
int index,
Axis xAxis,
double min,
double max)
Gets the riser width.
|
void |
SeriesSet.updateCompressor(Axis axis)
Updates the compressor associated with the given axis.
|