-
大小: 154KB文件类型: .rar金币: 2下载: 0 次发布日期: 2021-06-23
- 语言: 其他
- 标签: mondrian bi wcf jfreechart
资源简介
基于mondrian开发的小例子,通过写mdx语句,将查询结果展示出来。等有时间把数据的钻取链接加上,欢迎一起交流!如果你添加了记得发一份给我哦。

代码片段和文件信息
package com.olap.chart;
import java.awt.Color;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import javax.servlet.http.HttpSession;
import javax.xml.parsers.DocumentBuilder;
import org.apache.log4j.Logger;
import org.jfree.chart.ChartRenderingInfo;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.CategoryLabelPosition;
import org.jfree.chart.axis.CategoryLabelPositions;
import org.jfree.chart.axis.CategoryLabelWidthType;
import org.jfree.chart.entity.ChartEntity;
import org.jfree.chart.entity.EntityCollection;
import org.jfree.chart.entity.StandardEntityCollection;
import org.jfree.chart.plot.CategoryPlot;
import org.jfree.chart.plot.PiePlot;
import org.jfree.chart.plot.PiePlot3D;
import org.jfree.chart.plot.Plot;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.chart.servlet.ServletUtilities;
import org.jfree.chart.title.Legendtitle;
import org.jfree.chart.title.Texttitle;
import org.jfree.chart.urls.CategoryURLGenerator;
import org.jfree.chart.urls.StandardCategoryURLGenerator;
import org.jfree.chart.urls.StandardPieURLGenerator;
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.data.general.PieDataset;
import org.jfree.text.TextBlockAnchor;
import org.jfree.ui.HorizontalAlignment;
import org.jfree.ui.RectangleAnchor;
import org.jfree.ui.RectangleEdge;
import org.jfree.ui.RectangleInsets;
import org.jfree.ui.TextAnchor;
import org.jfree.ui.VerticalAlignment;
import org.jfree.util.TableOrder;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import com.tonbeller.jpivot.core.ModelChangeEvent;
import com.tonbeller.jpivot.core.ModelChangeListener;
import com.tonbeller.jpivot.olap.model.Cell;
import com.tonbeller.jpivot.olap.model.Member;
import com.tonbeller.jpivot.olap.model.OlapModel;
import com.tonbeller.jpivot.olap.model.Position;
import com.tonbeller.jpivot.olap.model.Result;
import com.tonbeller.jpivot.olap.navi.DrillThrough;
import com.tonbeller.jpivot.olap.navi.MemberTree;
import com.tonbeller.wcf.component.Component;
import com.tonbeller.wcf.component.ComponentSupport;
import com.tonbeller.wcf.controller.Dispatcher;
import com.tonbeller.wcf.controller.DispatcherSupport;
import com.tonbeller.wcf.controller.RequestContext;
import com.tonbeller.wcf.controller.RequestListener;
import com.tonbeller.wcf.table.ITableComponent;
import com.tonbeller.wcf.table.TableModel;
import com.tonbeller.wcf.utils.DomUtils;
import com.tonbeller.wcf.utils.xmlUtils;
/**
* Contains a reference to an OlapModel.
* Produces a chart image.
*
*/
public class ChartComponent extends ComponentSupport implements ModelChangeListener {
private static Logger logger = Logger.getLogger(ChartComponent.clas
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2981 2008-07-14 19:26 iQuery\.classpath
文件 382 2008-07-14 19:13 iQuery\.project
文件 528 2008-08-19 09:21 iQuery\doc\readme.txt
目录 0 2008-07-15 15:26 iQuery\doc
文件 852 2007-04-24 00:33 iQuery\jpivot\table\arrow-ab.gif
文件 852 2007-04-24 00:33 iQuery\jpivot\table\arrow-auf.gif
文件 852 2007-04-24 00:33 iQuery\jpivot\table\arrow-down.gif
文件 851 2007-04-24 00:33 iQuery\jpivot\table\arrow-gdown.gif
文件 852 2007-04-24 00:33 iQuery\jpivot\table\arrow-gup.gif
文件 851 2007-04-24 00:33 iQuery\jpivot\table\arrow-ndown.gif
文件 822 2007-04-24 00:33 iQuery\jpivot\table\arrow-none.gif
文件 852 2007-04-24 00:33 iQuery\jpivot\table\arrow-nup.gif
文件 822 2007-04-24 00:33 iQuery\jpivot\table\arrow-ohne.gif
文件 852 2007-04-24 00:33 iQuery\jpivot\table\arrow-rdown.gif
文件 850 2007-04-24 00:33 iQuery\jpivot\table\arrow-rup.gif
文件 852 2007-04-24 00:33 iQuery\jpivot\table\arrow-up.gif
文件 834 2007-04-24 00:33 iQuery\jpivot\table\drill-member-collapse.gif
文件 843 2007-04-24 00:33 iQuery\jpivot\table\drill-member-expand.gif
文件 821 2007-04-24 00:33 iQuery\jpivot\table\drill-member-other.gif
文件 834 2007-04-24 00:33 iQuery\jpivot\table\drill-position-collapse.gif
文件 843 2007-04-24 00:33 iQuery\jpivot\table\drill-position-expand.gif
文件 821 2007-04-24 00:33 iQuery\jpivot\table\drill-position-other.gif
文件 842 2007-04-24 00:33 iQuery\jpivot\table\drill-replace-collapse.gif
文件 840 2007-04-24 00:33 iQuery\jpivot\table\drill-replace-expand.gif
文件 821 2007-04-24 00:33 iQuery\jpivot\table\drill-replace-other.gif
文件 110 2007-04-24 00:33 iQuery\jpivot\table\drill-through.gif
文件 850 2007-04-24 00:33 iQuery\jpivot\table\filter-nochange.gif
文件 948 2007-04-24 00:33 iQuery\jpivot\table\filter-stepslope.gif
文件 930 2007-04-24 00:33 iQuery\jpivot\table\filter-transient.gif
文件 3209 2007-04-24 00:33 iQuery\jpivot\table\mdxtable.css
............此处省略48个文件信息
相关资源
- CanuMobiSim
- 联想H61主板BIOS升级F9KT58AUS支持22NM.i
- Diltiazem augmented pentobarbital-induced LORR
- Lenovo Z460 SLIC2.1 LENOVO-29CN38WW(V2.15)
- 联想G400G500G490BIOS
- ASUS BIOS 加NVME协议文件: Nvme.ffs NV
- Phoenix BIOS Editor.rar
- CAD2010注册机32bit and 64bit
- HP笔记本BIOS丢失解决方法,DMI TOOLK
- Y450 BIOS白名单
- HEX到Bin文件源代码
- BIOS修改工具DMI236
- keil vcom windows 7 64bit 驱动
- 联想F40/F41bios3.13版
- 经典的Viterbi算法
- 联想启天M4350 BIOS升级文件
- CentOS-6.7-x86_64-bin-DVD1to2
- Furan-BDOPV Donor-Acceptor Polymers with Plana
- Thermal stability and glass-forming ability of
- Homogenization of Monotone Systems of Non-coer
- 详细图解联想Y430\\Y530笔记本SLIC表2.
- 联想g460 bios 29CN38WW(V2.15)
- G460 2.15 x64 bios
- 大数据中的云网络Cloud Networking for B
- 三星通用bios更新程序
- 毕索龙bixolon 2478bsc打印机驱动 v4.6.6
- 毕索龙bixolon 3468bsc打印机驱动 v4.6.6
- win7 64bit 串口调试工具
- Synthesis Characterization and in vitro Antitu
- Anti-biofilm Activity of Resveratrol and Ursol
评论
共有 条评论