Examples of newChartCategoriesElement()


Examples of org.odftoolkit.odfdom.dom.element.chart.ChartAxisElement.newChartCategoriesElement()

    plotArea.setSvgYAttribute(PLOTAREA_SVG_Y);

    // chart:axis
    ChartAxisElement axisX = plotArea.newChartAxisElement(ChartDimensionAttribute.Value.x.toString());
    if (getTableCellRange() != null) {
      ChartCategoriesElement categories = (ChartCategoriesElement) axisX.newChartCategoriesElement();
      categories.setTableCellRangeAddressAttribute(getTableCellRange());
    }
    axisX.setChartDimensionAttribute(ChartDimensionAttribute.Value.x.toString());
    axisX.setChartNameAttribute("primary-x");
    axisX.setProperty(StyleChartPropertiesElement.DisplayLabel, "true");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.