Modifier and Type | Method and Description |
---|---|
Chart |
Chart.backgroundColor(int newBackgroundColor)
Sets the color as ARGB int, e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
BarChart
This class represents a
Chart that displays some bars to compare values. |
Modifier and Type | Method and Description |
---|---|
Chart |
BarChart.defaultBarColor(int newDefaultBarColor)
Sets the default color of the bars as ARGB int, e.g.
|
Modifier and Type | Class and Description |
---|---|
class |
LineChart
This class represents a
Chart that displays lines of some sort inside a
coordinate system. |
Modifier and Type | Class and Description |
---|---|
class |
PieChart
This class represents a
Chart that displays a circle with sections representing
percentages. |
Modifier and Type | Method and Description |
---|---|
Chart |
PieChart.pieColor(int newPieColor)
Sets the color of the pie as ARGB int, e.g.
|
Modifier and Type | Method and Description |
---|---|
Chart |
ChartControl.getModel()
Returns the
Chart that gets displayed by this control. |
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
SwingChartUtil.createImage(Chart chart,
int imageWidth,
int imageHeight)
Creates an
BufferedImage from a chart. |
ChartControl |
ChartControl.model(Chart newModel)
Sets the
Chart that gets displayed by this control. |
void |
ChartControl.setModel(Chart model)
Sets the
Chart that gets displayed by this control. |
Constructor and Description |
---|
ChartControl(Chart model)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Chart |
ChartControl.getModel()
Returns the
Chart that gets displayed by this control. |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.swt.graphics.Image |
SwtChartUtil.createImage(Chart chart,
int imageWidth,
int imageHeight)
Creates an
Image from a chart. |
ChartControl |
ChartControl.model(Chart newModel)
Sets the
Chart that gets displayed by this control. |
void |
ChartControl.setModel(Chart model)
Sets the
Chart that gets displayed by this control. |
Modifier and Type | Class and Description |
---|---|
class |
AllMethodsChart
A chart that paints all methods of the
GraphicContext . |
Copyright © 2020. All rights reserved.