当前位置: 首页>>代码示例>>Java>>正文


Java DialChart类代码示例

本文整理汇总了Java中org.achartengine.chart.DialChart的典型用法代码示例。如果您正苦于以下问题:Java DialChart类的具体用法?Java DialChart怎么用?Java DialChart使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


DialChart类属于org.achartengine.chart包,在下文中一共展示了DialChart类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getDialChartIntent

import org.achartengine.chart.DialChart; //导入依赖的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.chart.DialChart; //导入依赖的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: getDialChartView

import org.achartengine.chart.DialChart; //导入依赖的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

示例4: getDialChartIntent

import org.achartengine.chart.DialChart; //导入依赖的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


注:本文中的org.achartengine.chart.DialChart类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。