本文整理汇总了Java中org.achartengine.renderer.DialRenderer类的典型用法代码示例。如果您正苦于以下问题:Java DialRenderer类的具体用法?Java DialRenderer怎么用?Java DialRenderer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DialRenderer类属于org.achartengine.renderer包,在下文中一共展示了DialRenderer类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getDialChartIntent
import org.achartengine.renderer.DialRenderer; //导入依赖的package包/类
public static final Intent getDialChartIntent(Context context, CategorySeries categoryseries, DialRenderer dialrenderer, String s)
{
a(categoryseries, dialrenderer);
Intent intent = new Intent(context, org/achartengine/GraphicalActivity);
intent.putExtra("chart", new DialChart(categoryseries, dialrenderer));
intent.putExtra("title", s);
return intent;
}
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:9,代码来源:ChartFactory.java
示例2: getDialChartView
import org.achartengine.renderer.DialRenderer; //导入依赖的package包/类
public static final GraphicalView getDialChartView(Context context, CategorySeries categoryseries, DialRenderer dialrenderer)
{
a(categoryseries, dialrenderer);
return new GraphicalView(context, new DialChart(categoryseries, dialrenderer));
}
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:6,代码来源:ChartFactory.java
示例3: DialChart
import org.achartengine.renderer.DialRenderer; //导入依赖的package包/类
public DialChart(CategorySeries categoryseries, DialRenderer dialrenderer)
{
super(categoryseries, dialrenderer);
b = dialrenderer;
}
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:6,代码来源:DialChart.java
示例4: getDialChartView
import org.achartengine.renderer.DialRenderer; //导入依赖的package包/类
/**
* Creates a dial chart view that can be used to start the graphical view
* activity.
*
* @param context the context
* @param dataset the category series dataset (cannot be null)
* @param renderer the dial renderer (cannot be null)
* @return a pie chart view
* @throws IllegalArgumentException if dataset is null or renderer is null or
* if the dataset number of items is different than the number of
* series renderers
*/
public static final GraphicalView getDialChartView(Context context, CategorySeries dataset,
DialRenderer renderer) {
checkParameters(dataset, renderer);
DialChart chart = new DialChart(dataset, renderer);
return new GraphicalView(context, chart);
}
开发者ID:sdrausty,项目名称:buildAPKsApps,代码行数:19,代码来源:ChartFactory.java
示例5: getDialChartIntent
import org.achartengine.renderer.DialRenderer; //导入依赖的package包/类
/**
* Creates a dial chart intent that can be used to start the graphical view
* activity.
*
* @param context the context
* @param dataset the category series dataset (cannot be null)
* @param renderer the dial renderer (cannot be null)
* @param activityTitle the graphical chart activity title
* @return a dial chart intent
* @throws IllegalArgumentException if dataset is null or renderer is null or
* if the dataset number of items is different than the number of
* series renderers
*/
public static final Intent getDialChartIntent(Context context, CategorySeries dataset,
DialRenderer renderer, String activityTitle) {
checkParameters(dataset, renderer);
Intent intent = new Intent(context, GraphicalActivity.class);
DialChart chart = new DialChart(dataset, renderer);
intent.putExtra(CHART, chart);
intent.putExtra(TITLE, activityTitle);
return intent;
}
开发者ID:sdrausty,项目名称:buildAPKsApps,代码行数:23,代码来源:ChartFactory.java
示例6: DialChart
import org.achartengine.renderer.DialRenderer; //导入依赖的package包/类
/**
* Builds a new dial chart instance.
*
* @param dataset the series dataset
* @param renderer the dial renderer
*/
public DialChart(CategorySeries dataset, DialRenderer renderer) {
super(dataset, renderer);
mRenderer = renderer;
}
开发者ID:sdrausty,项目名称:buildAPKsApps,代码行数:11,代码来源:DialChart.java
注:本文中的org.achartengine.renderer.DialRenderer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论