zoukankan      html  css  js  c++  java
  • FusionCharts重写单系列图

    /**
     * @Title:FusionChart.java
     * @Package:com.yhd.chart.model
     * @Description:封装FusionChart单系列图
     * @author:Youhaidong(游海东)
     * @date:2014-1-18 下午11:36:48
     * @version V1.0
     */
    package com.yhd.chart.model;
    
    /**
     * 类功能说明
     * 类修改者 修改日期
     * 修改说明
     * <p>Title:FusionChart.java</p>
     * <p>Description:游海东个人开发</p>
     * <p>Copyright:Copyright(c)2013</p>
     * @author:游海东
     * @date:2014-1-18 下午11:36:48
     * @version V1.0
     */
    public class FusionChart 
    {
    	/**
    	 * label 标签
    	 */
    	private String label;
    	
    	/**
    	 * value 值
    	 */
    	private String value;
    	
    	/**
    	 * color 颜色
    	 */
    	private String color;
    
    	/**
    	 * @return the label
    	 */
    	public String getLabel() {
    		return label;
    	}
    
    	/**
    	 * @param label the label to set
    	 */
    	public void setLabel(String label) {
    		this.label = label;
    	}
    
    	/**
    	 * @return the value
    	 */
    	public String getValue() {
    		return value;
    	}
    
    	/**
    	 * @param value the value to set
    	 */
    	public void setValue(String value) {
    		this.value = value;
    	}
    
    	/**
    	 * @return the color
    	 */
    	public String getColor() {
    		return color;
    	}
    
    	/**
    	 * @param color the color to set
    	 */
    	public void setColor(String color) {
    		this.color = color;
    	}
    
    	/* (non-Javadoc)
    	 * <p>Title:toString</p>
    	 * <p>Description:</p>
    	 * @return
    	 * @see java.lang.Object#toString()
    	 */
    	@Override
    	public String toString() 
    	{
    		return "{'label':'" + label + "'," + "'value':'" + value + "'}";
    	}
    
    }
    

  • 相关阅读:
    Pycharm快捷键
    unittest自动化测试框架
    Python简介
    Git工作流介绍
    GitFlow ⼯作流
    go 整分钟开始执行程序
    vue 保留两位小数
    vue 格式化时间戳
    Supervisor-进程守护工具
    为什么计算机语言中的变量名都不能以数字开头呢?
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315456.html
Copyright © 2011-2022 走看看