All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.cq.social.reporting.dv.model.api.DonutChartLabels Maven / Gradle / Ivy

There is a newer version: 6.5.21
Show newest version
/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2014 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/
package com.adobe.cq.social.reporting.dv.model.api;

import java.util.List;

/**
 * DonutChartLabels is a second level object within DonutChartModel that we will pass on to DV.
 */
public class DonutChartLabels {

    /**
     * specifies '2' for each segment to label
     */
    private final List x;

    /**
     * specifies the percent location (a value between 0-100) along the circle to draw the segment label
     */
    private final List y;

    /**
     * specifies the segment label
     */
    private final List categories;

    /**
     * specifies the segment percentage
     */
    private final List percentLabels;

    /**
     * specifies the total count to go in the center of the pie
     */
    private final long totalCount;

    public DonutChartLabels(final List x, final List y, final List categories,
        final List percentLabels, final long totalCount) {
        this.x = x;
        this.y = y;
        this.categories = categories;
        this.percentLabels = percentLabels;
        this.totalCount = totalCount;
    }

    public List getX() {
        return x;
    }

    public List getY() {
        return y;
    }

    public List getCategories() {
        return categories;
    }

    public List getPercentLabels() {
        return percentLabels;
    }

    public long getTotalCount() {
        return totalCount;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy