| Package | Description |
|---|---|
| com.codename1.charts.renderers |
Provides renderer classes that keep the chart rendering / drawing styles.
|
| com.codename1.charts.views |
Provides the classes that handle the actual rendering / drawing of the charts, based on the provided model and renderer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DialRenderer
Dial chart renderer.
|
class |
XYMultipleSeriesRenderer
Multiple XY series renderer.
|
| Modifier and Type | Field and Description |
|---|---|
protected DefaultRenderer |
RoundChart.mRenderer
The series renderer.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultRenderer |
RoundChart.getRenderer()
Returns the renderer.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractChart.drawBackground(DefaultRenderer renderer,
Canvas canvas,
int x,
int y,
int width,
int height,
Paint paint,
boolean newColor,
int color)
Draws the chart background.
|
protected void |
AbstractChart.drawLabel(Canvas canvas,
String labelText,
DefaultRenderer renderer,
List<Rectangle2D> prevLabelsBounds,
int centerX,
int centerY,
float shortRadius,
float longRadius,
float currentAngle,
float angle,
int left,
int right,
int color,
Paint paint,
boolean line,
boolean display)
Draws a text label.
|
protected int |
AbstractChart.drawLegend(Canvas canvas,
DefaultRenderer renderer,
String[] titles,
int left,
int right,
int y,
int width,
int height,
int legendSize,
Paint paint,
boolean calculate)
Draws the chart legend.
|
protected boolean |
AbstractChart.getExceed(float currentWidth,
DefaultRenderer renderer,
int right,
int width)
Calculates if the current width exceeds the total width.
|
protected int |
AbstractChart.getLegendSize(DefaultRenderer renderer,
int defaultHeight,
float extraHeight)
Calculates the current legend size.
|
boolean |
AbstractChart.isVertical(DefaultRenderer renderer)
Checks if the current chart is rendered as vertical.
|
| Constructor and Description |
|---|
DoughnutChart(MultipleCategorySeries dataset,
DefaultRenderer renderer)
Builds a new doughnut chart instance.
|
PieChart(CategorySeries dataset,
DefaultRenderer renderer)
Builds a new pie chart instance.
|
RadarChart(AreaSeries dataset,
DefaultRenderer renderer)
Builds a new radar chart instance.
|
RoundChart(CategorySeries dataset,
DefaultRenderer renderer)
Round chart.
|
Copyright © 2023. All rights reserved.