Add chart data entries section to readme
This commit is contained in:
parent
002a95b96b
commit
f4084f9d1d
19
README.md
19
README.md
@ -11,6 +11,12 @@ Create easily animated pie charts and radial charts by providing them with data
|
||||
|
||||
Check the examples folder for the source code for the above screenshots.
|
||||
|
||||
## Contents:
|
||||
- [Installation](#installation)
|
||||
- [Getting Started](#getting-started)
|
||||
- [Details](#details)
|
||||
- [Chart data entries](#chart-data-entries)
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
@ -82,4 +88,17 @@ void _cycleSamples() {
|
||||
}
|
||||
```
|
||||
|
||||
## Details
|
||||
|
||||
### Chart data entries:
|
||||
|
||||
Charts expect a list of `CircularStackEntry` objects containing the data they need to be drawn.
|
||||
|
||||
Each `CircularStackEntry` corresponds to a complete circle in the chart. For radial charts that is one of the rings, for pie charts it is the whole pie.
|
||||
|
||||
Radial charts with multiple `CircularStackEntry`s will display them as concentric circles.
|
||||
|
||||
Each `CircularStackEntry` is composed of multiple `CircularSegmentEntry`s containing the value of a data point. In radial charts a segment corresponds to an arc segment of the current ring, for pie charts it is an individual slice.
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user