Package org.g4studio.core.web.report.fcf

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


   * @return
   */
  public ActionForward fcf3DColumnMsInit(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表");
    //设置数字值的前缀
    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("二月"));
View Full Code Here


   * @return
   */
  public ActionForward fcfAreaMsInit(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表");
    //设置数字值的前缀
    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("二月"));
View Full Code Here

   * @return
   */
  public ActionForward fcfLineMsInit(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表");
    //设置数字值的前缀
    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("二月"));
View Full Code Here

   * @return
   */
  public ActionForward fcfLineMs2YInit(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表");
    //设置数字值的前缀
    //graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
    //主Y轴坐标名
    graphConfig.put("PYAxisName", "Product A"); //不支持中文
    //次Y轴坐标名
    graphConfig.put("SYAxisName", "Product B"); //不支持中文
    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("二月"));
View Full Code Here

   * @return
   */
  public ActionForward fcf3DLineColumnInit(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表");
    //设置数字值的前缀
    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("二月"));
View Full Code Here

   * @return
   */
  public ActionForward fcfAdvancedInit(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表");
    graphConfig.setSubcaption("点击柱子看看交互效果");
    //设置数字值的前缀
    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
        Dto qDto = new BaseDto();   
        qDto.put("product", "2");
        //查询原始数据
View Full Code Here

   * @return
   */
  public ActionForward fcf2DBarInit(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表");
    //X坐标轴名称
    graphConfig.setXAxisName("月度");
    //数字值前缀
    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《G4Studio开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
        Dto qDto = new BaseDto();   
        qDto.put("product", "1");
        //查询原始数据
View Full Code Here

   * @return
   */
  public ActionForward fcf2DBarMsInit(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表");
    //设置数字值的前缀
    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("二月"));
View Full Code Here

   * @return
   */
  public ActionForward integrateFlashReport1Init(ActionMapping mapping, ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    //实例化一个图形配置对象
    GraphConfig graphConfig = new GraphConfig();
    //主标题
    graphConfig.setCaption("Google软件2010年月度销售业绩图表(产品一)");
    //X坐标轴名称
    graphConfig.setXAxisName("月度");
    //数字值前缀
    graphConfig.setNumberPrefix("$");
    //使用这种方式可以加入框架没有封装的原生报表属性,原生属可以参考《G4Studio开发指南》的相关章节
    //graphConfig.put("propertyName", "value");
        Dto qDto = new BaseDto();   
        qDto.put("product", "1");
        //查询原始数据
View Full Code Here

TOP

Related Classes of org.g4studio.core.web.report.fcf.GraphConfig

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.