静态 Public 成员函数 | |
| static final GraphicalView | getLineChartView (Context context, XYMultipleSeriesDataset dataset, XYMultipleSeriesRenderer renderer) |
| static final GraphicalView | getBarChartView (Context context, XYMultipleSeriesDataset dataset, XYMultipleSeriesRenderer renderer, Type type) |
| static final GraphicalView | getPieChartView (Context context, CategorySeries dataset, DefaultRenderer renderer) |
| static final GraphicalView | getTimeChartView (Context context, XYMultipleSeriesDataset dataset, XYMultipleSeriesRenderer renderer, String format) |
| static final GraphicalView | getAreaChartView (Context context, XYMultipleSeriesDataset dataset, XYMultipleSeriesRenderer renderer, float smoothness) |
静态 Public 属性 | |
| static final String | CHART = "chart" |
| static final String | TITLE = "title" |
Private 成员函数 | |
| ChartFactory () | |
静态 Private 成员函数 | |
| static void | checkParameters (XYMultipleSeriesDataset dataset, XYMultipleSeriesRenderer renderer) |
| static void | checkParameters (CategorySeries dataset, DefaultRenderer renderer) |
| static void | checkParameters (MultipleCategorySeries dataset, DefaultRenderer renderer) |
| static boolean | checkMultipleSeriesItems (MultipleCategorySeries dataset, int value) |
Utility methods for creating chart views or intents.
|
inlineprivate |
Instantiates a new chart factory.
|
inlinestaticprivate |
Check multiple series items.
| dataset | the dataset |
| value | the value |
|
inlinestaticprivate |
检查参数.
| dataset | the multiple series dataset (cannot be null) |
| renderer | the multiple series renderer (cannot be null) |
|
inlinestaticprivate |
Checks the validity of the dataset and renderer parameters.
| dataset | the category series dataset (cannot be null) |
| renderer | the series renderer (cannot be null) |
|
inlinestaticprivate |
Checks the validity of the dataset and renderer parameters.
| dataset | the category series dataset (cannot be null) |
| renderer | the series renderer (cannot be null) |
|
inlinestatic |
描述:区域图表.
| context | the context |
| dataset | the dataset |
| renderer | the renderer |
| smoothness | 平滑度 |
|
inlinestatic |
柱状图.
| context | the context |
| dataset | the multiple series dataset (cannot be null) |
| renderer | the multiple series renderer (cannot be null) |
| type | the bar chart type BarChart.Type.DEFAULT BarChart.Type.STACKED |
|
inlinestatic |
折线图.
| context | the context |
| dataset | the multiple series dataset (cannot be null) |
| renderer | the multiple series renderer (cannot be null) |
|
inlinestatic |
饼图.
| context | the context |
| dataset | the category series dataset (cannot be null) |
| renderer | the series renderer (cannot be null) |
|
inlinestatic |
时间轴图表.
| context | the context |
| dataset | the multiple series dataset (cannot be null) |
| renderer | the multiple series renderer (cannot be null) |
| format | the date format pattern to be used for displaying the X axis date labels. If null, a default appropriate format will be used. |
|
static |
The key for the chart data.
|
static |
The key for the chart graphical activity title.
1.8.8