| Package | Description |
|---|---|
| com.codename1.charts |
The main ChartComponent Package
|
| 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 |
|---|---|
Point |
ChartComponent.chartToScreenCoord(int x,
int y)
Returns the screen position from a chart coordinate
|
Point |
ChartComponent.screenToChartCoord(int x,
int y)
Converts screen coordinates to chart coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
double |
PieMapper.getAngle(Point screenPoint)
Fetches angle relative to pie chart center point where 3 O'Clock is 0 and
12 O'Clock is 270degrees
|
SeriesSelection |
AbstractChart.getSeriesAndPointForScreenCoordinate(Point screenPoint)
Given screen coordinates, returns the series and point indexes of a chart
element.
|
SeriesSelection |
PieChart.getSeriesAndPointForScreenCoordinate(Point screenPoint) |
SeriesSelection |
XYChart.getSeriesAndPointForScreenCoordinate(Point screenPoint) |
SeriesSelection |
PieMapper.getSeriesAndPointForScreenCoordinate(Point screenPoint)
Fetches the SeriesSelection for the PieSegment selected.
|
boolean |
PieMapper.isOnPieChart(Point screenPoint)
Checks if Point falls within PieChart
|
Copyright © 2023. All rights reserved.