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

org.dashbuilder.renderer.chartjs.lib.options.LegendOption Maven / Gradle / Ivy

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

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

public class LegendOption extends ChartOption{

    protected LegendOption(){
        super();
    }

    public static LegendOption get(){
        return JavaScriptObject.createObject().cast();
    }

    /**
     * Template String of legend widget.
     * For example 
    -legend\"><% for (var i=0; i
  • \"><%if(datasets[i].label){%><%=datasets[i].label%><%}%>
  • <%}%>
* @param template */ public final native void setLegendTemplate(String template)/*-{ this.legendTemplate = template; }-*/; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy