Android绘制简单饼状图(4)

/**
  * @param circleBorderColor
  *            the circleBorderColor to set
  */
 public void setCircleBorderColor(int circleBorderColor) {
  this.circleBorderColor = circleBorderColor;
 }

/**
  * @return the displayRadius
  */
 public boolean isDisplayRadius() {
  return displayRadius;
 }

/**
  * @param displayRadius
  *            the displayRadius to set
  */
 public void setDisplayRadius(boolean displayRadius) {
  this.displayRadius = displayRadius;
 }
}

---------------------------------分割线---------------------------------

/*
 * TitleValueEntity.java
 * Android-Charts
 *
 * Created by limc on 2011/05/29.
 *
 * Copyright 2011 limc.cn All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.nekocode.xuedao.piechart;

public class TitleValueEntity {
 private String title;
 private float value;
 
 public TitleValueEntity(String title, float value) {
  super();
  this.title = title;
  this.value = value;
 }

public TitleValueEntity() {
  super();
 }

/**
  * @return the title
  */
 public String getTitle() {
  return title;
 }

/**
  * @param title
  *            the title to set
  */
 public void setTitle(String title) {
  this.title = title;
 }

/**
  * @return the value
  */
 public float getValue() {
  return value;
 }

/**
  * @param value
  *            the value to set
  */
 public void setValue(float value) {
  this.value = value;
 }
}

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/51502872597f0fe68fce7a596068373b.html