RadChartView for Android is a charting component that has been designed for the mobile environment. It offers great performance in loading time, drawing capabilities and real-time updates. Its intuitive object model and public API allow you to easily setup complex chart objects and integrate them into your application. The control supports different chart types (and series) organized in hierarchies, depending on the coordinate system, used to plot the data points—for example Cartesian (RadCartesianChartView) and radial (RadPieChartView) coordinate systems.
A charting component in general is used to visualize (or plot) some data in a human-readable way through different representations like lines, areas, bars, pies, etc. Each series has a collection of data points—the data equivalent of a 2D point—and knows how to visualize them. Different series types may process certain types of data points—for example categorical series may contain categorical data points. An intuitive data binding mechanism transforms the raw data to appropriate data points depending on the chosen series.
Depending on the coordinate system that you want to use for visualization of the data points, you can use the following chart types:
If you choose the Cartesian chart, you need to specify the type of each of the axes—horizontal and vertical—and the type of the series. Depending on the type of the series, you will need to choose axes that can visualize category or value (usually one axis to visualize the category and one to visualize value).
java.util.Calendarstructure as its value for this axis. The points are grouped by a user-defined date-time component (Year, Month, Day, etc.) and then the groups are sorted chronologically.
java.util.Calendarstructure as its value for this axis. You can think of DateTimeContinuousAxis as a timeline where the coordinate of each data point is calculated depending on the position of its associated DateTime on the timeline. The base unit (or the timeline step) of the axis is calculated depending on the smallest difference between any two dates.
The Pie chart doesn't have any axes. You just need to define the series that will contain the data. This chart supports these types of series:
Each chart can support different behaviors, which allow a certain interactivity. A behavior is generally an abstraction that handles user input in a RadChartView instance and optionally provides visual feedback upon some action. Currently RadChartView supports the following behavior:
RadChartView allows custom decoration over its plot area. You can adds lines and stripes which connect the tick of each axis. You can set a new grid with the method setGrid(CartesianChartGrid) in your chart instance. Read the Grid Section for more information.
The Chart Palettes are a set of predefined values that you can use to set colors of a chart. RadChartView gives you options to define your own palettes and to use the ones we have prepared for you as well: "Light" and "Dark".
Another feature of RadChartView is the ability to show annotations. They are visual elements that can be used to highlight certain areas on the plot area and denote statistical significance. The provided types of annotations include:
RadChartView can display different labels for the series and axes that are displayed. The labels can be fully customized according to your preferences.
RadChartView supports a legend that facilitates the reading and understanding of the displayed information. The legend can be used to easily associate the displayed visualizations with the actual data.