FusionCharts encapsulation-dataset and categories

Source: Internet
Author: User

Chart. java:


/*** @ Title: Chart. java * @ Package: com. fusionchart. model * @ Description: FusionCharts encapsulate dataSet and categories * @ author: Youhaidong (Youhaidong) * @ date: 10:10:44 * @ version V1.0 */package com. fusionchart. model; import java. io. serializable;/*** class Function Description * class modifier modification date * modification Description *

Title: Chart. java

*

Description: Personal Development of youhaidong

*

Copyright: Copyright (c) 2013

* @ Author: You Haidong * @ date: 10:10:44 * @ version V1.0 */public class Chart implements Serializable {/*** @ Fields serialVersionUID: serial number */private static final long serialVersionUID = 1L;/* categories */private Categories categories;/* dataSet */private DataSet dataSet; /*** @ return the categories */public Categories getCategories () {return categories;}/*** @ param categories the categories to set */public void setCategories (Categories categories) {this. categories = categories;}/*** @ return the dataSet */public DataSet getDataSet () {return dataSet ;} /*** @ param dataSet the dataSet to set */public void setDataSet (DataSet dataSet) {this. dataSet = dataSet;}/* (non-Javadoc )*

Title: toString

*

Description:

* @ Return * @ see java. lang. object # toString () */@ Overridepublic String toString () {return "'category': [{" + categories + "}]," + "'dataset ': ["+ dataSet +"] ";}}


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.