sponsored links

实现FusionChart动态获取数据(一)

封装FusionChart属性文件

TitlesAxisNames.java:

/**
 * @Title:TitlesAxisNames.java
 * @Package:com.fusionchart.model
 * @Description:FusionChart图的属性
 * @author:Youhaidong(游海东)
 * @date:2013-8-15 下午11:51:46
 * @version V1.0
 */
package com.fusionchart.model;

/**
 * 类功能说明
 * 类修改者 修改日期
 * 修改说明
 * <p>Title:TitlesAxisNames.java</p>
 * <p>Description:游海东个人开发</p>
 * <p>Copyright:Copyright(c)2013</p>
 * @author:游海东
 * @date:2013-8-15 下午11:51:46
 * @version V1.0
 */
public class TitlesAxisNames {

    //图形标题
    private String caption;

    //图形子标题
    private String subCaption;

    //图形X轴名称
    private String xAxisName;

    //图形Y轴名称
    private String yAxisName;

    /**
     * <p>Title:</p>
     * <p>Description:</p>
     * @param caption
     * @param subCaption
     * @param xAxisName
     * @param yAxisName
     */
    public TitlesAxisNames(String caption, String subCaption, String xAxisName,
            String yAxisName) {
        super();
        this.caption = caption;
        this.subCaption = subCaption;
        this.xAxisName = xAxisName;
        this.yAxisName = yAxisName;
    }

    /**
     * @return the caption
     */
    public String getCaption() {
        return caption;
    }

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

    /**
     * @return the subCaption
     */
    public String getSubCaption() {
        return subCaption;
    }

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

    /**
     * @return the xAxisName
     */
    public String getxAxisName() {
        return xAxisName;
    }

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

    /**
     * @return the yAxisName
     */
    public String getyAxisName() {
        return yAxisName;
    }

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

}
Tags: