Package org.openfaces.component.chart

Examples of org.openfaces.component.chart.ChartNoDataMessage


        Float foregroundAlpha = chart.getChartView().getForegroundAlpha();
        if (foregroundAlpha != null) {
            plot.setForegroundAlpha(foregroundAlpha);
        }

        ChartNoDataMessage chartNoDataMessage = chart.getNoDataMessage();
        if (chartNoDataMessage != null && chartNoDataMessage.getText() != null) {
            plot.setNoDataMessage(chartNoDataMessage.getText());

            StyleObjectModel cssMessageModel = chartNoDataMessage.getStyleObjectModel();
            if (cssMessageModel != null) {
                plot.setNoDataMessagePaint(cssMessageModel.getColor());
                plot.setNoDataMessageFont(CSSUtil.getFont(cssMessageModel));
            }
        }
View Full Code Here

TOP

Related Classes of org.openfaces.component.chart.ChartNoDataMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.