org.chartistjsf.component.chart.renderer.BaseChartistRenderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ChartistJSF Show documentation
Show all versions of ChartistJSF Show documentation
Highly Customizable Responsive Charts for JSF based on PrimeFaces
The newest version!
package org.chartistjsf.component.chart.renderer;
import java.io.IOException;
import javax.faces.context.FacesContext;
import org.chartistjsf.component.chart.Chart;
public abstract class BaseChartistRenderer {
public void render(FacesContext context, Chart chart) throws IOException {
encodeData(context, chart);
encodeOptions(context, chart);
}
protected abstract void encodeData(FacesContext context, Chart chart) throws IOException;
protected void encodeOptions(FacesContext context, Chart chart) throws IOException {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy