Examples of CategoriesConfig


Examples of org.g4studio.core.web.report.fcf.CategoriesConfig

    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
    graphConfig.setCanvasBorderThickness(new Boolean(true));
    //实例化组合种类配置对象
    CategoriesConfig categoriesConfig = new CategoriesConfig();
    List cateList = new ArrayList();
    cateList.add(new Categorie("一月"));
    cateList.add(new Categorie("二月"));
    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4Group(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("2dColumnMsView");
  }

Examples of org.g4studio.core.web.report.fcf.CategoriesConfig

    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
    graphConfig.setCanvasBorderThickness(new Boolean(true));
    //实例化组合种类配置对象
    CategoriesConfig categoriesConfig = new CategoriesConfig();
    List cateList = new ArrayList();
    cateList.add(new Categorie("一月"));
    cateList.add(new Categorie("二月"));
    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4Group(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("3dColumnMsView");
  }

Examples of org.g4studio.core.web.report.fcf.CategoriesConfig

    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
    graphConfig.setCanvasBorderThickness(new Boolean(true));
    //实例化组合种类配置对象
    CategoriesConfig categoriesConfig = new CategoriesConfig();
    List cateList = new ArrayList();
    cateList.add(new Categorie("一月"));
    cateList.add(new Categorie("二月"));
    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    cateList.add(new Categorie("七月"));
    cateList.add(new Categorie("八月"));
    cateList.add(new Categorie("九月"));
    cateList.add(new Categorie("十月"));
    cateList.add(new Categorie("十一月"));
    cateList.add(new Categorie("十二月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4AreaGroup(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("areaMsView");
  }

Examples of org.g4studio.core.web.report.fcf.CategoriesConfig

    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
    graphConfig.setCanvasBorderThickness(new Boolean(true));
    //实例化组合种类配置对象
    CategoriesConfig categoriesConfig = new CategoriesConfig();
    List cateList = new ArrayList();
    cateList.add(new Categorie("一月"));
    cateList.add(new Categorie("二月"));
    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    cateList.add(new Categorie("七月"));
    cateList.add(new Categorie("八月"));
    cateList.add(new Categorie("九月"));
    cateList.add(new Categorie("十月"));
    cateList.add(new Categorie("十一月"));
    cateList.add(new Categorie("十二月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4LineGroup(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("lineMsView");
  }

Examples of org.g4studio.core.web.report.fcf.CategoriesConfig

    graphConfig.setCanvasBorderThickness(new Boolean(true));
    graphConfig.setShowValues(new Boolean(false));
    //是否格式化数字,默认为1(True),自动的给你的数字加上K(千)或M(百万);若取0,则不加K或M
    graphConfig.put("formatNumberScale ", "0");
    //实例化组合种类配置对象
    CategoriesConfig categoriesConfig = new CategoriesConfig();
    List cateList = new ArrayList();
    cateList.add(new Categorie("一月"));
    cateList.add(new Categorie("二月"));
    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    cateList.add(new Categorie("七月"));
    cateList.add(new Categorie("八月"));
    cateList.add(new Categorie("九月"));
    cateList.add(new Categorie("十月"));
    cateList.add(new Categorie("十一月"));
    cateList.add(new Categorie("十二月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4LineGroup42Y(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    System.out.println(xmlString);
    return mapping.findForward("lineMs2YView");

Examples of org.g4studio.core.web.report.fcf.CategoriesConfig

    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
    graphConfig.setCanvasBorderThickness(new Boolean(true));
    //实例化组合种类配置对象
    CategoriesConfig categoriesConfig = new CategoriesConfig();
    List cateList = new ArrayList();
    cateList.add(new Categorie("一月"));
    cateList.add(new Categorie("二月"));
    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    cateList.add(new Categorie("七月"));
    cateList.add(new Categorie("八月"));
    cateList.add(new Categorie("九月"));
    cateList.add(new Categorie("十月"));
    cateList.add(new Categorie("十一月"));
    cateList.add(new Categorie("十二月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4JCT(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("3dLineColumnView");
  }

Examples of org.g4studio.core.web.report.fcf.CategoriesConfig

    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
    graphConfig.setCanvasBorderThickness(new Boolean(true));
    //实例化组合种类配置对象
    CategoriesConfig categoriesConfig = new CategoriesConfig();
    List cateList = new ArrayList();
    cateList.add(new Categorie("一月"));
    cateList.add(new Categorie("二月"));
    cateList.add(new Categorie("三月"));
    cateList.add(new Categorie("四月"));
    cateList.add(new Categorie("五月"));
    cateList.add(new Categorie("六月"));
    categoriesConfig.setCategories(cateList);
    List list = getFcfDataList4Group(new BaseDto());
    String xmlString = FcfDataMapper.toFcfXmlData(list, graphConfig, categoriesConfig);
    request.setAttribute("xmlString", xmlString);
    return mapping.findForward("2dBarMsView");
  }
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.