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

org.dashbuilder.renderer.chartjs.lib.data.Data Maven / Gradle / Ivy

The newest version!
package org.dashbuilder.renderer.chartjs.lib.data;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Data storage used for Pie, Radar charts
 */
public class Data extends JavaScriptObject{

    protected Data() {
    }

    public final native void setValue(double value)/*-{
        this.value = value;
    }-*/;
    public final native double setValue()/*-{
        return this.value;
    }-*/;

    public final native void setColor(String color)/*-{
        this.color = color;
    }-*/;
    public final native String setColor()/*-{
        return this.color;
    }-*/;

    public final native void setHighlighColor(String color)/*-{
        this.highlightColor = color;
    }-*/;
    public final native String setHighlighColor()/*-{
        return this.highlightColor;
    }-*/;

    public final native void setLabel(String label)/*-{
        this.label = label;
    }-*/;
    public final native String setLabel()/*-{
        return this.label;
    }-*/;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy