Package org.zkoss.poi.hssf.usermodel

Examples of org.zkoss.poi.hssf.usermodel.HSSFChartX


  @Test
  public void testColumnchart() {
    HSSFSheet sheet1 = (HSSFSheet) _book.getSheet("Sheet1");
    List<ZssChartX> chartXes = new DrawingManagerImpl(sheet1).getChartXs();
    assertEquals(1, chartXes.size());
    HSSFChartX chartX = (HSSFChartX) chartXes.get(0);
    HSSFChart chart = (HSSFChart) chartX.getChartInfo();
    assertNull(chart.getChartTitle());
    System.out.println("getgetChartWidth():"+chart.getChartWidth());
    HSSFSeries[] series = chart.getSeries();
    assertEquals(1, series.length);
    for(int j = 0; j < series.length; ++j) {
View Full Code Here

TOP

Related Classes of org.zkoss.poi.hssf.usermodel.HSSFChartX

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.