| Package | Description |
|---|---|
| com.codename1.charts.compat |
This package contains compatibility classes for internal use
|
| 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 | Method and Description |
|---|---|
void |
GradientDrawable.draw(Canvas canvas) |
| Modifier and Type | Method and Description |
|---|---|
void |
DoughnutChart.draw(Canvas canvas,
int x,
int y,
int width,
int height,
Paint paint)
The graphical representation of the doughnut chart.
|
abstract void |
AbstractChart.draw(Canvas canvas,
int x,
int y,
int width,
int height,
Paint paint)
The graphical representation of the chart.
|
void |
PieChart.draw(Canvas canvas,
int x,
int y,
int width,
int height,
Paint paint)
The graphical representation of the pie chart.
|
void |
RadarChart.draw(Canvas canvas,
int x,
int y,
int width,
int height,
Paint paint)
The graphical representation of the radar chart.
|
void |
XYChart.draw(Canvas canvas,
int x,
int y,
int width,
int height,
Paint paint)
The graphical representation of the XY chart.
|
void |
DialChart.draw(Canvas canvas,
int x,
int y,
int width,
int height,
Paint paint)
The graphical representation of the dial chart.
|
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 |
BarChart.drawBar(Canvas canvas,
float xMin,
float yMin,
float xMax,
float yMax,
float halfDiffX,
int seriesNr,
int seriesIndex,
Paint paint)
Draws a bar.
|
protected void |
BarChart.drawBar(Canvas canvas,
float xMin,
float yMin,
float xMax,
float yMax,
int scale,
int seriesIndex,
Paint paint)
Draws a bar.
|
protected void |
XYChart.drawChartValuesText(Canvas canvas,
XYSeries series,
XYSeriesRenderer renderer,
Paint paint,
List<Float> points,
int seriesIndex,
int startIndex)
The graphical representation of the series values as text.
|
protected void |
BarChart.drawChartValuesText(Canvas canvas,
XYSeries series,
XYSeriesRenderer renderer,
Paint paint,
List<Float> points,
int seriesIndex,
int startIndex)
The graphical representation of the series values as text.
|
protected void |
RangeBarChart.drawChartValuesText(Canvas canvas,
XYSeries series,
XYSeriesRenderer renderer,
Paint paint,
List<Float> points,
int seriesIndex,
int startIndex)
The graphical representation of the series values as text.
|
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.
|
void |
BubbleChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
void |
DoughnutChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
void |
LineChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
void |
CombinedXYChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
abstract void |
AbstractChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
void |
ScatterChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
void |
RadarChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
void |
RoundChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
void |
BarChart.drawLegendShape(Canvas canvas,
SimpleSeriesRenderer renderer,
float x,
float y,
int seriesIndex,
Paint paint)
The graphical representation of the legend shape.
|
protected void |
AbstractChart.drawPath(Canvas canvas,
float[] points,
Paint paint,
boolean circular)
The graphical representation of a path.
|
protected void |
AbstractChart.drawPath(Canvas canvas,
List<Float> points,
Paint paint,
boolean circular)
The graphical representation of a path.
|
protected void |
CubicLineChart.drawPath(Canvas canvas,
List<Float> points,
Paint paint,
boolean circular) |
protected void |
XYChart.drawPoints(Canvas canvas,
Paint paint,
List<Float> pointsList,
XYSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
int startIndex)
Draws the series points.
|
protected void |
CubicLineChart.drawPoints(Canvas canvas,
Paint paint,
List<Float> pointsList,
XYSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
int startIndex)
Draws the series points.
|
void |
BubbleChart.drawSeries(Canvas canvas,
Paint paint,
List<Float> points,
XYSeriesRenderer renderer,
float yAxisValue,
int seriesIndex,
int startIndex)
The graphical representation of a series.
|
void |
LineChart.drawSeries(Canvas canvas,
Paint paint,
List<Float> points,
XYSeriesRenderer renderer,
float yAxisValue,
int seriesIndex,
int startIndex)
The graphical representation of a series.
|
void |
CombinedXYChart.drawSeries(Canvas canvas,
Paint paint,
List<Float> points,
XYSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
int startIndex)
The graphical representation of a series.
|
void |
ScatterChart.drawSeries(Canvas canvas,
Paint paint,
List<Float> points,
XYSeriesRenderer renderer,
float yAxisValue,
int seriesIndex,
int startIndex)
The graphical representation of a series.
|
abstract void |
XYChart.drawSeries(Canvas canvas,
Paint paint,
List<Float> points,
XYSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
int startIndex)
The graphical representation of a series.
|
void |
BarChart.drawSeries(Canvas canvas,
Paint paint,
List<Float> points,
XYSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
int startIndex)
The graphical representation of a series.
|
void |
RangeBarChart.drawSeries(Canvas canvas,
Paint paint,
List<Float> points,
XYSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
int startIndex)
The graphical representation of a series.
|
protected void |
CombinedXYChart.drawSeries(XYSeries series,
Canvas canvas,
Paint paint,
List<Float> pointsList,
XYSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
XYMultipleSeriesRenderer.Orientation or,
int startIndex) |
protected void |
XYChart.drawSeries(XYSeries series,
Canvas canvas,
Paint paint,
List<Float> pointsList,
XYSeriesRenderer seriesRenderer,
float yAxisValue,
int seriesIndex,
XYMultipleSeriesRenderer.Orientation or,
int startIndex)
Draws the series.
|
protected void |
AbstractChart.drawString(Canvas canvas,
String text,
float x,
float y,
Paint paint)
Draw a multiple lines string.
|
protected void |
XYChart.drawText(Canvas canvas,
String text,
float x,
float y,
Paint paint,
float extraAngle)
The graphical representation of a text, to handle both HORIZONTAL and
VERTICAL orientations and extra rotation angles.
|
void |
RoundChart.drawTitle(Canvas canvas,
int x,
int y,
int width,
Paint paint)
The graphical representation of the round chart title.
|
protected void |
XYChart.drawXLabels(List<Double> xLabels,
Double[] xTextLabelLocations,
Canvas canvas,
Paint paint,
int left,
int top,
int bottom,
double xPixelsPerUnit,
double minX,
double maxX)
The graphical representation of the labels on the X axis.
|
protected void |
TimeChart.drawXLabels(List<Double> xLabels,
Double[] xTextLabelLocations,
Canvas canvas,
Paint paint,
int left,
int top,
int bottom,
double xPixelsPerUnit,
double minX,
double maxX)
The graphical representation of the labels on the X axis.
|
protected void |
XYChart.drawXTextLabels(Double[] xTextLabelLocations,
Canvas canvas,
Paint paint,
boolean showLabels,
int left,
int top,
int bottom,
double xPixelsPerUnit,
double minX,
double maxX)
The graphical representation of the text labels on the X axis.
|
protected void |
XYChart.drawYLabels(Map<Integer,List<Double>> allYLabels,
Canvas canvas,
Paint paint,
int maxScaleNumber,
int left,
int right,
int bottom,
double[] yPixelsPerUnit,
double[] minY)
The graphical representation of the labels on the Y axis.
|
Copyright © 2023. All rights reserved.