Manages the layout on plot chart panel. More...


Classes | |
| class | AxisLayoutData |
| Axis layout data. More... | |
Public Member Functions | |
| ChartLayout () | |
| Constructor. | |
Static Public Attributes | |
| static final int | MARGIN = 5 |
| the margin | |
| static final int | PADDING = 5 |
| the padding | |
Protected Member Functions | |
| Point | computeSize (Composite composite, int wHint, int hHint, boolean flushCache) |
| void | layout (Composite composite, boolean flushCache) |
Private Member Functions | |
| void | initWidgetSizeVariables () |
| Initializes the size variables of widgets. | |
| boolean | parseControls (Composite composite) |
| Parses the controls on given composite. | |
| void | initTitleAndLegendSize () |
| Initializes the size of title and legend. | |
| void | initAxisSize () |
| Initializes the size of axes. | |
| void | computePlotAreaSize (Rectangle r) |
| Computes the size of plot area. | |
| void | computeAxisSize (Rectangle r) |
| Computes the size of axes updating tick labels. | |
| void | adjustForRotatedTickLabels (Rectangle r) |
| Adjust the axis size for rotated tick labels. | |
| void | adjustForMostLeftRightTickLabel (Rectangle r) |
| Adjust the axis size for most left/right tick label. | |
| void | updateHorizontalAxisTick () |
| Updates the horizontal axis tick. | |
| void | updateVerticalAxisTick () |
| Updates the vertical axis tick. | |
| void | layoutTitle (Rectangle r) |
| Layouts the title. | |
| void | layoutLegend (Rectangle r) |
| Layouts the legend. | |
| void | layoutPlot (Rectangle r) |
| Layouts the plot. | |
| void | layoutAxes (Rectangle r) |
| Layouts the axes. | |
| void | layoutBottomAxis (Rectangle r, AxisLayoutData layoutData) |
| Layouts the bottom axis. | |
| void | layoutTopAxis (Rectangle r, AxisLayoutData layoutData) |
| Layouts the top axis. | |
| void | layoutLeftAxis (Rectangle r, AxisLayoutData layoutData) |
| Layouts the left axis. | |
| void | layoutRightAxis (Rectangle r, AxisLayoutData layoutData) |
| Layouts the right axis. | |
Private Attributes | |
| int | titleHeight |
| the title height | |
| int | titleWidth |
| the title width | |
| int | legendWidth |
| the legend width | |
| int | legendHeight |
| the legend height | |
| int | bottomAxisHeight |
| the bottom axis height | |
| int | topAxisHeight |
| the top axis height | |
| int | leftAxisWidth |
| the left axis width | |
| int | rightAxisWidth |
| the right axis width | |
| int | plotAreaWidth |
| the plot area width | |
| int | plotAreaHeight |
| the plot area height | |
| ChartTitle | title |
| the chart title | |
| Legend | legend |
| the legend | |
| PlotArea | plot |
| the plot area | |
| Axis[] | axes |
| the axes | |
| Axis[] | horizontalAxes |
| the horizontal axes | |
| Axis[] | verticalAxes |
| the vertical axes | |
| Map< Axis, AxisLayoutData > | axisLayoutDataMap |
| the map between axis and axis layout data | |
| int | bottomAxisOffset = 0 |
| the offset for bottom axis | |
| int | topAxisOffset = 0 |
| the offset for top axis | |
| int | leftAxisOffset = 0 |
| the offset for left axis | |
| int | rightAxisOffset = 0 |
| the offset for right axis | |
Manages the layout on plot chart panel.
Definition at line 30 of file ChartLayout.java.
| org.swtchart.internal.ChartLayout.ChartLayout | ( | ) |
Constructor.
Definition at line 104 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.axisLayoutDataMap, and org.swtchart.internal.ChartLayout.initWidgetSizeVariables().

| void org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel | ( | Rectangle | r | ) | [private] |
Adjust the axis size for most left/right tick label.
| r | the rectangle to layout |
Definition at line 353 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.Legend.getPosition(), org.swtchart.internal.ChartLayout.horizontalAxes, org.swtchart.internal.ChartLayout.leftAxisWidth, org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.plotAreaWidth, org.swtchart.internal.ChartLayout.rightAxisWidth, and org.swtchart.internal.ChartLayout.updateHorizontalAxisTick().
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.adjustForRotatedTickLabels | ( | Rectangle | r | ) | [private] |
Adjust the axis size for rotated tick labels.
| r | the rectangle to layout |
Definition at line 313 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.axisLayoutDataMap, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickLabels, org.swtchart.internal.ChartLayout.bottomAxisHeight, org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.axis.AxisTickLabels.getFont(), org.swtchart.internal.ChartLayoutData.heightHint, org.swtchart.internal.ChartLayout.horizontalAxes, org.swtchart.internal.ChartLayout.AxisLayoutData.tickLabelsLayoutdata, org.swtchart.internal.ChartLayout.topAxisHeight, and org.swtchart.internal.ChartLayout.updateVerticalAxisTick().
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.computeAxisSize | ( | Rectangle | r | ) | [private] |
Computes the size of axes updating tick labels.
| r | the rectangle to layout |
Definition at line 281 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.axisLayoutDataMap, org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.leftAxisWidth, org.swtchart.internal.ChartLayout.rightAxisWidth, org.swtchart.internal.ChartLayout.AxisLayoutData.tickLabelsLayoutdata, org.swtchart.internal.ChartLayout.updateHorizontalAxisTick(), org.swtchart.internal.ChartLayout.updateVerticalAxisTick(), org.swtchart.internal.ChartLayout.verticalAxes, and org.swtchart.internal.ChartLayoutData.widthHint.
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.computePlotAreaSize | ( | Rectangle | r | ) | [private] |
Computes the size of plot area.
| r | the rectangle to layout |
Definition at line 253 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.bottomAxisHeight, org.swtchart.internal.Legend.getPosition(), org.swtchart.internal.ChartLayout.leftAxisWidth, org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendHeight, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.MARGIN, org.swtchart.internal.ChartLayout.PADDING, org.swtchart.internal.ChartLayout.plotAreaHeight, org.swtchart.internal.ChartLayout.plotAreaWidth, org.swtchart.internal.ChartLayout.rightAxisWidth, org.swtchart.internal.ChartLayout.titleHeight, and org.swtchart.internal.ChartLayout.topAxisHeight.
Referenced by org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), org.swtchart.internal.ChartLayout.adjustForRotatedTickLabels(), org.swtchart.internal.ChartLayout.computeAxisSize(), and org.swtchart.internal.ChartLayout.layout().


| Point org.swtchart.internal.ChartLayout.computeSize | ( | Composite | composite, | |
| int | wHint, | |||
| int | hHint, | |||
| boolean | flushCache | |||
| ) | [protected] |
Definition at line 129 of file ChartLayout.java.
| void org.swtchart.internal.ChartLayout.initAxisSize | ( | ) | [private] |
Initializes the size of axes.
Definition at line 212 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.axes, org.swtchart.internal.ChartLayout.axisLayoutDataMap, org.swtchart.internal.ChartLayout.bottomAxisHeight, org.swtchart.internal.ChartLayoutData.heightHint, org.swtchart.internal.ChartLayout.leftAxisWidth, org.swtchart.internal.ChartLayout.rightAxisWidth, org.swtchart.internal.ChartLayout.AxisLayoutData.tickLabelsLayoutdata, org.swtchart.internal.ChartLayout.AxisLayoutData.tickMarksLayoutdata, org.swtchart.internal.ChartLayout.AxisLayoutData.titleLayoutdata, org.swtchart.internal.ChartLayout.topAxisHeight, and org.swtchart.internal.ChartLayoutData.widthHint.
Referenced by org.swtchart.internal.ChartLayout.layout().

| void org.swtchart.internal.ChartLayout.initTitleAndLegendSize | ( | ) | [private] |
Initializes the size of title and legend.
Definition at line 202 of file ChartLayout.java.
References org.swtchart.internal.Title.getLayoutData(), org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendHeight, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.title, org.swtchart.internal.ChartLayout.titleHeight, and org.swtchart.internal.ChartLayout.titleWidth.
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.initWidgetSizeVariables | ( | ) | [private] |
Initializes the size variables of widgets.
Definition at line 112 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.bottomAxisHeight, org.swtchart.internal.ChartLayout.leftAxisWidth, org.swtchart.internal.ChartLayout.legendHeight, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.plotAreaHeight, org.swtchart.internal.ChartLayout.plotAreaWidth, org.swtchart.internal.ChartLayout.rightAxisWidth, org.swtchart.internal.ChartLayout.titleHeight, org.swtchart.internal.ChartLayout.titleWidth, and org.swtchart.internal.ChartLayout.topAxisHeight.
Referenced by org.swtchart.internal.ChartLayout.ChartLayout(), and org.swtchart.internal.ChartLayout.layout().

| void org.swtchart.internal.ChartLayout.layout | ( | Composite | composite, | |
| boolean | flushCache | |||
| ) | [protected] |
Definition at line 138 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), org.swtchart.internal.ChartLayout.adjustForRotatedTickLabels(), org.swtchart.internal.ChartLayout.computeAxisSize(), org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initAxisSize(), org.swtchart.internal.ChartLayout.initTitleAndLegendSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), org.swtchart.internal.ChartLayout.layoutAxes(), org.swtchart.internal.ChartLayout.layoutLegend(), org.swtchart.internal.ChartLayout.layoutPlot(), org.swtchart.internal.ChartLayout.layoutTitle(), and org.swtchart.internal.ChartLayout.parseControls().

| void org.swtchart.internal.ChartLayout.layoutAxes | ( | Rectangle | r | ) | [private] |
Layouts the axes.
| r | the rectangle to layout |
Definition at line 483 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.axes, org.swtchart.internal.ChartLayout.axisLayoutDataMap, org.swtchart.internal.ChartLayout.bottomAxisOffset, org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutRightAxis(), org.swtchart.internal.ChartLayout.layoutTopAxis(), org.swtchart.internal.ChartLayout.leftAxisOffset, org.swtchart.internal.ChartLayout.rightAxisOffset, and org.swtchart.internal.ChartLayout.topAxisOffset.
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.layoutBottomAxis | ( | Rectangle | r, | |
| AxisLayoutData | layoutData | |||
| ) | [private] |
Layouts the bottom axis.
| r | the rectangle | |
| layoutData | the layout data |
Definition at line 515 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickLabels, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickMarks, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTitle, org.swtchart.internal.ChartLayout.bottomAxisOffset, org.swtchart.internal.Legend.getPosition(), org.swtchart.internal.ChartLayoutData.heightHint, org.swtchart.internal.ChartLayout.leftAxisWidth, org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendHeight, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.MARGIN, org.swtchart.internal.ChartLayout.PADDING, org.swtchart.internal.ChartLayout.plotAreaWidth, org.swtchart.internal.axis.AxisTickMarks.setBounds(), org.swtchart.internal.axis.AxisTickLabels.setBounds(), org.swtchart.internal.Title.setBounds(), org.swtchart.internal.ChartLayout.AxisLayoutData.tickLabelsLayoutdata, org.swtchart.internal.ChartLayout.AxisLayoutData.tickMarksLayoutdata, org.swtchart.internal.ChartLayout.titleHeight, org.swtchart.internal.ChartLayout.AxisLayoutData.titleLayoutdata, and org.swtchart.internal.ChartLayoutData.widthHint.
Referenced by org.swtchart.internal.ChartLayout.layoutAxes().


| void org.swtchart.internal.ChartLayout.layoutLeftAxis | ( | Rectangle | r, | |
| AxisLayoutData | layoutData | |||
| ) | [private] |
Layouts the left axis.
| r | the rectangle | |
| layoutData | the layout data |
Definition at line 596 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickLabels, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickMarks, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTitle, org.swtchart.internal.Legend.getPosition(), org.swtchart.internal.ChartLayoutData.heightHint, org.swtchart.internal.ChartLayout.leftAxisOffset, org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendHeight, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.MARGIN, org.swtchart.internal.ChartLayout.PADDING, org.swtchart.internal.ChartLayout.plotAreaHeight, org.swtchart.internal.axis.AxisTickMarks.setBounds(), org.swtchart.internal.axis.AxisTickLabels.setBounds(), org.swtchart.internal.Title.setBounds(), org.swtchart.internal.ChartLayout.AxisLayoutData.tickLabelsLayoutdata, org.swtchart.internal.ChartLayout.AxisLayoutData.tickMarksLayoutdata, org.swtchart.internal.ChartLayout.titleHeight, org.swtchart.internal.ChartLayout.AxisLayoutData.titleLayoutdata, org.swtchart.internal.ChartLayout.topAxisHeight, and org.swtchart.internal.ChartLayoutData.widthHint.
Referenced by org.swtchart.internal.ChartLayout.layoutAxes().


| void org.swtchart.internal.ChartLayout.layoutLegend | ( | Rectangle | r | ) | [private] |
Layouts the legend.
| r | the rectangle to layout |
Definition at line 423 of file ChartLayout.java.
References org.swtchart.internal.Legend.getPosition(), org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendHeight, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.MARGIN, org.swtchart.internal.ChartLayout.PADDING, and org.swtchart.internal.ChartLayout.titleHeight.
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.layoutPlot | ( | Rectangle | r | ) | [private] |
Layouts the plot.
| r | the rectangle to layout |
Definition at line 460 of file ChartLayout.java.
References org.swtchart.internal.Legend.getPosition(), org.swtchart.internal.ChartLayout.leftAxisWidth, org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendHeight, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.MARGIN, org.swtchart.internal.ChartLayout.PADDING, org.swtchart.internal.ChartLayout.plot, org.swtchart.internal.ChartLayout.plotAreaHeight, org.swtchart.internal.ChartLayout.plotAreaWidth, org.swtchart.internal.PlotArea.setBounds(), org.swtchart.internal.ChartLayout.titleHeight, and org.swtchart.internal.ChartLayout.topAxisHeight.
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.layoutRightAxis | ( | Rectangle | r, | |
| AxisLayoutData | layoutData | |||
| ) | [private] |
Layouts the right axis.
| r | the rectangle | |
| layoutData | the layout data |
Definition at line 638 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickLabels, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickMarks, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTitle, org.swtchart.internal.Legend.getPosition(), org.swtchart.internal.ChartLayoutData.heightHint, org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendHeight, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.MARGIN, org.swtchart.internal.ChartLayout.PADDING, org.swtchart.internal.ChartLayout.plotAreaHeight, org.swtchart.internal.ChartLayout.rightAxisOffset, org.swtchart.internal.axis.AxisTickMarks.setBounds(), org.swtchart.internal.axis.AxisTickLabels.setBounds(), org.swtchart.internal.Title.setBounds(), org.swtchart.internal.ChartLayout.AxisLayoutData.tickLabelsLayoutdata, org.swtchart.internal.ChartLayout.AxisLayoutData.tickMarksLayoutdata, org.swtchart.internal.ChartLayout.titleHeight, org.swtchart.internal.ChartLayout.AxisLayoutData.titleLayoutdata, org.swtchart.internal.ChartLayout.topAxisHeight, and org.swtchart.internal.ChartLayoutData.widthHint.
Referenced by org.swtchart.internal.ChartLayout.layoutAxes().


| void org.swtchart.internal.ChartLayout.layoutTitle | ( | Rectangle | r | ) | [private] |
Layouts the title.
| r | the rectangle to layout |
Definition at line 408 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.MARGIN, org.swtchart.internal.Title.setBounds(), org.swtchart.internal.ChartLayout.title, org.swtchart.internal.ChartLayout.titleHeight, and org.swtchart.internal.ChartLayout.titleWidth.
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.layoutTopAxis | ( | Rectangle | r, | |
| AxisLayoutData | layoutData | |||
| ) | [private] |
Layouts the top axis.
| r | the rectangle | |
| layoutData | the layout data |
Definition at line 561 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickLabels, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTickMarks, org.swtchart.internal.ChartLayout.AxisLayoutData.axisTitle, org.swtchart.internal.Legend.getPosition(), org.swtchart.internal.ChartLayoutData.heightHint, org.swtchart.internal.ChartLayout.leftAxisWidth, org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.legendWidth, org.swtchart.internal.ChartLayout.MARGIN, org.swtchart.internal.ChartLayout.PADDING, org.swtchart.internal.ChartLayout.plotAreaWidth, org.swtchart.internal.axis.AxisTickMarks.setBounds(), org.swtchart.internal.axis.AxisTickLabels.setBounds(), org.swtchart.internal.Title.setBounds(), org.swtchart.internal.ChartLayout.AxisLayoutData.tickLabelsLayoutdata, org.swtchart.internal.ChartLayout.AxisLayoutData.tickMarksLayoutdata, org.swtchart.internal.ChartLayout.titleHeight, org.swtchart.internal.ChartLayout.AxisLayoutData.titleLayoutdata, org.swtchart.internal.ChartLayout.topAxisOffset, and org.swtchart.internal.ChartLayoutData.widthHint.
Referenced by org.swtchart.internal.ChartLayout.layoutAxes().


| boolean org.swtchart.internal.ChartLayout.parseControls | ( | Composite | composite | ) | [private] |
Parses the controls on given composite.
| composite | the composite |
Definition at line 167 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.axes, org.swtchart.IAxisSet.getAxes(), org.swtchart.IAxisSet.getXAxes(), org.swtchart.IAxisSet.getYAxes(), org.swtchart.internal.ChartLayout.horizontalAxes, org.swtchart.internal.ChartLayout.legend, org.swtchart.internal.ChartLayout.plot, org.swtchart.internal.ChartLayout.title, and org.swtchart.internal.ChartLayout.verticalAxes.
Referenced by org.swtchart.internal.ChartLayout.layout().


| void org.swtchart.internal.ChartLayout.updateHorizontalAxisTick | ( | ) | [private] |
Updates the horizontal axis tick.
Definition at line 387 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.horizontalAxes, and org.swtchart.internal.ChartLayout.plotAreaWidth.
Referenced by org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), and org.swtchart.internal.ChartLayout.computeAxisSize().

| void org.swtchart.internal.ChartLayout.updateVerticalAxisTick | ( | ) | [private] |
Updates the vertical axis tick.
Definition at line 396 of file ChartLayout.java.
References org.swtchart.internal.ChartLayout.plotAreaHeight, and org.swtchart.internal.ChartLayout.verticalAxes.
Referenced by org.swtchart.internal.ChartLayout.adjustForRotatedTickLabels(), and org.swtchart.internal.ChartLayout.computeAxisSize().

Axis [] org.swtchart.internal.ChartLayout.axes [private] |
the axes
Definition at line 72 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.initAxisSize(), org.swtchart.internal.ChartLayout.layoutAxes(), and org.swtchart.internal.ChartLayout.parseControls().
Map<Axis, AxisLayoutData> org.swtchart.internal.ChartLayout.axisLayoutDataMap [private] |
the map between axis and axis layout data
Definition at line 81 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForRotatedTickLabels(), org.swtchart.internal.ChartLayout.ChartLayout(), org.swtchart.internal.ChartLayout.computeAxisSize(), org.swtchart.internal.ChartLayout.initAxisSize(), and org.swtchart.internal.ChartLayout.layoutAxes().
int org.swtchart.internal.ChartLayout.bottomAxisHeight [private] |
the bottom axis height
Definition at line 45 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForRotatedTickLabels(), org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initAxisSize(), and org.swtchart.internal.ChartLayout.initWidgetSizeVariables().
int org.swtchart.internal.ChartLayout.bottomAxisOffset = 0 [private] |
the offset for bottom axis
Definition at line 84 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.layoutAxes(), and org.swtchart.internal.ChartLayout.layoutBottomAxis().
Axis [] org.swtchart.internal.ChartLayout.horizontalAxes [private] |
the horizontal axes
Definition at line 75 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), org.swtchart.internal.ChartLayout.adjustForRotatedTickLabels(), org.swtchart.internal.ChartLayout.parseControls(), and org.swtchart.internal.ChartLayout.updateHorizontalAxisTick().
int org.swtchart.internal.ChartLayout.leftAxisOffset = 0 [private] |
the offset for left axis
Definition at line 90 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.layoutAxes(), and org.swtchart.internal.ChartLayout.layoutLeftAxis().
int org.swtchart.internal.ChartLayout.leftAxisWidth [private] |
the left axis width
Definition at line 51 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), org.swtchart.internal.ChartLayout.computeAxisSize(), org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initAxisSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutPlot(), and org.swtchart.internal.ChartLayout.layoutTopAxis().
the legend
Definition at line 66 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initTitleAndLegendSize(), org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutLegend(), org.swtchart.internal.ChartLayout.layoutPlot(), org.swtchart.internal.ChartLayout.layoutRightAxis(), org.swtchart.internal.ChartLayout.layoutTopAxis(), and org.swtchart.internal.ChartLayout.parseControls().
int org.swtchart.internal.ChartLayout.legendHeight [private] |
the legend height
Definition at line 42 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initTitleAndLegendSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutLegend(), org.swtchart.internal.ChartLayout.layoutPlot(), and org.swtchart.internal.ChartLayout.layoutRightAxis().
int org.swtchart.internal.ChartLayout.legendWidth [private] |
the legend width
Definition at line 39 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initTitleAndLegendSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutLegend(), org.swtchart.internal.ChartLayout.layoutPlot(), org.swtchart.internal.ChartLayout.layoutRightAxis(), and org.swtchart.internal.ChartLayout.layoutTopAxis().
final int org.swtchart.internal.ChartLayout.MARGIN = 5 [static] |
the margin
Definition at line 96 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutLegend(), org.swtchart.internal.ChartLayout.layoutPlot(), org.swtchart.internal.ChartLayout.layoutRightAxis(), org.swtchart.internal.ChartLayout.layoutTitle(), and org.swtchart.internal.ChartLayout.layoutTopAxis().
final int org.swtchart.internal.ChartLayout.PADDING = 5 [static] |
the padding
Definition at line 99 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutLegend(), org.swtchart.internal.ChartLayout.layoutPlot(), org.swtchart.internal.ChartLayout.layoutRightAxis(), and org.swtchart.internal.ChartLayout.layoutTopAxis().
the plot area
Definition at line 69 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.layoutPlot(), and org.swtchart.internal.ChartLayout.parseControls().
int org.swtchart.internal.ChartLayout.plotAreaHeight [private] |
the plot area height
Definition at line 60 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutPlot(), org.swtchart.internal.ChartLayout.layoutRightAxis(), and org.swtchart.internal.ChartLayout.updateVerticalAxisTick().
int org.swtchart.internal.ChartLayout.plotAreaWidth [private] |
the plot area width
Definition at line 57 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutPlot(), org.swtchart.internal.ChartLayout.layoutTopAxis(), and org.swtchart.internal.ChartLayout.updateHorizontalAxisTick().
int org.swtchart.internal.ChartLayout.rightAxisOffset = 0 [private] |
the offset for right axis
Definition at line 93 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.layoutAxes(), and org.swtchart.internal.ChartLayout.layoutRightAxis().
int org.swtchart.internal.ChartLayout.rightAxisWidth [private] |
the right axis width
Definition at line 54 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForMostLeftRightTickLabel(), org.swtchart.internal.ChartLayout.computeAxisSize(), org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initAxisSize(), and org.swtchart.internal.ChartLayout.initWidgetSizeVariables().
the chart title
Definition at line 63 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.initTitleAndLegendSize(), org.swtchart.internal.ChartLayout.layoutTitle(), and org.swtchart.internal.ChartLayout.parseControls().
int org.swtchart.internal.ChartLayout.titleHeight [private] |
the title height
Definition at line 33 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initTitleAndLegendSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), org.swtchart.internal.ChartLayout.layoutBottomAxis(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutLegend(), org.swtchart.internal.ChartLayout.layoutPlot(), org.swtchart.internal.ChartLayout.layoutRightAxis(), org.swtchart.internal.ChartLayout.layoutTitle(), and org.swtchart.internal.ChartLayout.layoutTopAxis().
int org.swtchart.internal.ChartLayout.titleWidth [private] |
the title width
Definition at line 36 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.initTitleAndLegendSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), and org.swtchart.internal.ChartLayout.layoutTitle().
int org.swtchart.internal.ChartLayout.topAxisHeight [private] |
the top axis height
Definition at line 48 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.adjustForRotatedTickLabels(), org.swtchart.internal.ChartLayout.computePlotAreaSize(), org.swtchart.internal.ChartLayout.initAxisSize(), org.swtchart.internal.ChartLayout.initWidgetSizeVariables(), org.swtchart.internal.ChartLayout.layoutLeftAxis(), org.swtchart.internal.ChartLayout.layoutPlot(), and org.swtchart.internal.ChartLayout.layoutRightAxis().
int org.swtchart.internal.ChartLayout.topAxisOffset = 0 [private] |
the offset for top axis
Definition at line 87 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.layoutAxes(), and org.swtchart.internal.ChartLayout.layoutTopAxis().
Axis [] org.swtchart.internal.ChartLayout.verticalAxes [private] |
the vertical axes
Definition at line 78 of file ChartLayout.java.
Referenced by org.swtchart.internal.ChartLayout.computeAxisSize(), org.swtchart.internal.ChartLayout.parseControls(), and org.swtchart.internal.ChartLayout.updateVerticalAxisTick().
1.6.1