??xml version="1.0" encoding="utf-8" standalone="yes"?> 用于不可预料处理错误的基本异常。此异常cȝ于报告格式良好的错误以及不可预料的处理条件?
囧。?换了1.6 ok。?/p>
JFreeChartc: ----------------------------------------------------------------------------------------------------------- TextTitlec: ----------------------------------------------------------------------------------------------------------- StandardLegend(Legend)c: ----------------------------------------------------------------------------------------------------------- Axisc: ValueAxis(Axis)c: NumberAxis(ValueAxis)c: DateAxis(ValueAxis)c: CategoryAxis(Axis)c: ----------------------------------------------------------------------------------------------------------- Plotc: CategoryPlot(Plot)c: PiePlot(Plot)c: PiePlot3D(PiePlot)c: MultiplePiePlot(Plot)c: ----------------------------------------------------------------------------------------------------------- AbstractRendererc: AbstractCategoryItemRenderer(AbstractRenderer)c: BarRenderer(AbstractCategoryItemRenderer)c: BarRenderer3D(BarRenderer)c: StackedBarRenderer(BarRenderer)c: StackedBarRenderer3D(BarRenderer3D)c: GroupedStackedBarRenderer(StackedBarRenderer)c: LayeredBarRenderer(BarRenderer)c: WaterfallBarRenderer(BarRenderer)c: IntervalBarRenderer(BarRenderer)c: GanttBarRenderer(IntervalBarRenderer)c: StatisticBarRenderer(BarRenderer)c: LineAndShapeRenderer(AbstractCategoryItemRenderer)c: LevelRenderer(AbstractCategoryItemRenderer)c: CategoryStepRenderer(AbstractCategoryItemRenderer)c: MinMaxCategoryRenderer(AbstractCategoryItemRenderer)c: AreaRender(AbstractCategoryItemRenderer)c: StackedAreaRender(AreaRender)c:
eclipse 中删除文件的恢复
在Eclipse内可以恢复项目内被删除的文gQ或者类似SVN那样来具体恢复一个java文g?
被删除的内容?
如果目内的文g被删除,恢复步骤Q?
1 选中目Q右键;
2 选择Restore from Local historyQ?
3 ?#8220;Check files to restore from local history:”选择对应的要恢复的文件?
如果恢复文g内被删除的内容,恢复步骤Q?
1 打开要恢复的java文gQ?
2 选中要恢复的部分Q右键;
3 Local History--〉Replace withQ?
4 在弹出的对话框内选择要恢复到的时间点?
]]>
offset 偏移?0表示从第一条开?br />
limit 共取几条 10表示本次查询10?br />
]]>
public class XMLStreamException
spring2.5 下蝲地址 http://s3.amazonaws.com/dist.springframework.org/release/SPR/spring-framework-2.5.6.SEC01-with-dependencies.zip
hibernate3.3 下蝲地址 http://downloads.sourceforge.net/project/hibernate/hibernate3/3.3.2.GA/hibernate-distribution-3.3.2.GA-dist.zip
struts/lib?扑և以下5个jar文g 它们是用struts2必须的jar文g
commons-logging-1.0.4.jar
freemarker-2.3.8.jar
ognl-2.6.11.jar
struts2-core-2.0.11.1.jar
xwork-2.0.4.jar
再找?nbsp; struts2-spring-plugin-2.0.14.jar 它是struts2与spring整合必须的jar文g
spring/dist?nbsp;
spring.jar
spring/lib/aspectj?nbsp; 在spring中用aspectj 必须的jar?br />
aspectjrt.jar
aspectjweaver.jar
spring/lib/log4j
log4j-1.2.15.jar
hibernate/hibernate3.jar
hibernate/lib/required ?所有jar文g 它们是用hibernate必须的jar文g
注意其中有slf4j-api-1.5.8.jar 文g 它只是一个规?br />
我们需要下载它对log4j实现的jar文g
下蝲地址 http://www.slf4j.org/dist/slf4j-1.5.2.zip
扑և其中有一个slf4j-log4j12-1.5.2.jar
以上一?8个jar文g
二、修攚w|文?br />
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:applicationContext-*.xml</param-value>
</context-param>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>hibernateFilter</filter-name>
<filter-class>
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>hibernateFilter</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter>
<filter-name>Spring character encoding filter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Spring character encoding filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
hibernate.cfg.xml
<?xml version="1.0"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="format_sql">false</property>
<property name="show_sql">true</property>
<property name="connection.driver_class">
org.gjt.mm.mysql.Driver
</property>
<property name="connection.url">
jdbc:mysql://localhost:3306/s2sh
</property>
<property name="connection.username">root</property>
<property name="connection.password">password</property>
<property name="dialect">
org.hibernate.dialect.MySQLDialect
</property>
<property name="hbm2ddl.auto">none</property>
<mapping resource="com/illu/pojo/User.hbm.xml" />
</session-factory>
</hibernate-configuration>
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:lang="http://www.springframework.org/schema/lang"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="configLocation">
<value>classpath:hibernate.cfg.xml</value>
</property>
</bean>
<bean id="hibernateTemplate" class="org.springframework.orm.hibernate3.HibernateTemplate">
<property name="sessionFactory">
<ref bean="sessionFactory"/>
</property>
</bean>
<!-- 配置事务理?nbsp;-->
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory">
<ref bean="sessionFactory" />
</property>
</bean>
<!-- 配置事物传播Ҏ(gu)?nbsp;-->
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="add*" propagation="REQUIRED" />
<tx:method name="delete*" propagation="REQUIRED" />
<tx:method name="modify*" propagation="REQUIRED" />
<tx:method name="*" read-only="true" />
</tx:attributes>
</tx:advice>
<!-- 哪些cȝ哪些Ҏ(gu)参与事物, (* com.evan.crm.service.*.*(..))中几个通配W的含义Q?br />
W一?nbsp;* —?nbsp;通配 Lq回值类?br />
W二?nbsp;* —?nbsp;通配 包com.evan.crm.service下的Lclass
W三?nbsp;* —?nbsp;通配 包com.evan.crm.service下的Lclass的Q意方?br />
W四?nbsp;.. —?nbsp;通配 Ҏ(gu)可以?个或多个参数
lgQ包com.evan.crm.service下的Lclass的具有Q意返回值类型、Q意数目参数和L名称的方?/span>-->
<aop:config>
<aop:pointcut id="allManagerMethod"
expression="execution(* com.struts2.service.*.*(..))" />
<aop:advisor pointcut-ref="allManagerMethod"
advice-ref="txAdvice" />
</aop:config>
</beans>
]]>
在web开发中Q往往需要讲|站中的所有页面用树Ş列表体现出来Q而这些页面的地址是存在于数据库中的,那么前台AS代码中只能拿?br />
q个数据的XML格式Q最初的设想是用eval来实玎ͼ但AS3中取消了evalQ后来又使用反射Q无奈AS3的反实在是有点问题Q最后查到可以用
ModuleLoader来解册个问题?br />
ȝ?br />
<?xml version="1.0" encoding="utf-8"?>
2<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
3 <mx:Script>
4 <![CDATA[
5 import mx.events.ListEvent;
6 import mx.controls.Alert;
7
8 function showCanvas(event:ListEvent) {
9 var selectedNode:XML = Tree(event.target).selectedItem as XML;
10 Alert.show(selectedNode.@name);
11 rightCanvas.url="StuModule.swf";//url指向StuModule.mxml
12 rightCanvas.loadModule();//发出指o调用模块
13
14 }
15 ]]>
16 </mx:Script>
17 <mx:XMLList id="ct">
18 <node name="根节?>
19 <node name="学生理">
20 <node name="学生览"/>
21 <node name="学生查看"/>
22 </node>
23 <node name="班理">
24 <node name="班览"/>
25 </node>
26 </node>
27 </mx:XMLList>
28
29 <mx:Panel layout="vertical" width="80%" height="80%" x="63.5" y="58">
30 <mx:HDividedBox width="100%" height="100%">
31 <mx:Tree width="20%" height="100%" dataProvider="{ct}" showRoot="false"
32 labelField="@name" change="showCanvas(event);"/>
33 <mx:ModuleLoader id="rightCanvas" width="80%" height="100%" />
34 </mx:HDividedBox>
35 </mx:Panel>
36</mx:Application>
37
子程序:
<?xml version="1.0" encoding="utf-8"?>
2<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="400" height="300">
3 <mx:Canvas width="100%" height="100%">
4 <mx:Label x="243.5" y="181" text="asdfa;sldkfjaks;djf;alskdjfkld" width="144" height="103"/>
5 </mx:Canvas>
6</mx:Module>
]]>
void setAntiAlias(boolean flag) 字体模糊边界
void setBackgroundImage(Image image) 背景囄
void setBackgroundImageAlignment(int alignment) 背景囄寚w方式Q参数常量在org.jfree.ui.AligncM定义Q?br />
void setBackgroundImageAlpha(float alpha) 背景囄透明度(0.0?.0Q?br />
void setBackgroundPaint(Paint paint) 背景?br />
void setBorderPaint(Paint paint) 边界U条颜色
void setBorderStroke(Stroke stroke) 边界U条W触
void setBorderVisible(boolean visible) 边界U条是否可见
void setFont(Font font) 标题字体
void setPaint(Paint paint) 标题字体颜色
void setText(String text) 标题内容
void setBackgroundPaint(Paint paint) 囄背景?br />
void setTitle(String title) 囄标题内容
void setTitleFont(Font font) 囄标题字体
void setBoundingBoxArcWidth(int arcWidth) 囄边界圆角?br />
void setBoundingBoxArcHeight(int arcHeight) 囄边界圆角?br />
void setOutlinePaint(Paint paint) 囄边界U条颜色
void setOutlineStroke(Stroke stroke) 囄边界U条W触
void setDisplaySeriesLines(boolean flag) 囄Ҏ(gu)否显C横U(折线图有效)
void setDisplaySeriesShapes(boolean flag) 囄Ҏ(gu)否显CŞӞ折线图有效)
void setItemFont(Font font) 囄字?br />
void setItemPaint(Paint paint) 囄字体颜?br />
void setAnchor(int anchor) 囄在图表中的显CZ|(参数帔R在LegendcM定义Q?/font>
void setVisible(boolean flag) 坐标轴是否可?br />
void setAxisLinePaint(Paint paint) 坐标轴线条颜Ԍ3D轴无效)
void setAxisLineStroke(Stroke stroke) 坐标轴线条笔触(3D轴无效)
void setAxisLineVisible(boolean visible) 坐标轴线条是否可见(3D轴无效)
void setFixedDimension(double dimension) Q用于复合表中对多坐标u的设|)
void setLabel(String label) 坐标轴标?br />
void setLabelFont(Font font) 坐标轴标题字?br />
void setLabelPaint(Paint paint) 坐标轴标题颜?br />
void setLabelAngle(double angle)` 坐标轴标题旋转角度(U坐标可以旋转)
void setTickLabelFont(Font font) 坐标轴标值字?br />
void setTickLabelPaint(Paint paint) 坐标轴标值颜?br />
void setTickLabelsVisible(boolean flag) 坐标轴标值是否显C?br />
void setTickMarkPaint(Paint paint) 坐标轴标颜?br />
void setTickMarkStroke(Stroke stroke) 坐标轴标笔?br />
void setTickMarksVisible(boolean flag) 坐标轴标是否显C?/font>
void setAutoRange(boolean auto) 自动讄数据轴数据范?br />
void setAutoRangeMinimumSize(double size) 自动讄数据轴数据范围时数据范围的最跨?br />
void setAutoTickUnitSelection(boolean flag) 数据轴的数据标签是否自动定Q默认ؓtrueQ?br />
void setFixedAutoRange(double length) 数据轴固定数据范_讄100的话是昄MAXVALUE到MAXVALUE-100那段数据范围Q?br />
void setInverted(boolean flag) 数据轴是否反向(默认为falseQ?br />
void setLowerMargin(double margin) 数据轴下Q左Q边?br />
void setUpperMargin(double margin) 数据轴上Q右Q边?br />
void setLowerBound(double min) 数据轴上的显C最?br />
void setUpperBound(double max) 数据轴上的显C最大?br />
void setPositiveArrowVisible(boolean visible) 是否昄正向头Q?D轴无效)
void setNegativeArrowVisible(boolean visible) 是否昄反向头Q?D轴无效)
void setVerticalTickLabels(boolean flag) 数据轴数据标{是否旋转到垂直
void setStandardTickUnits(TickUnitSource source) 数据轴的数据标签Q可以只昄整数标签Q需要将AutoTickUnitSelection设falseQ?/font>
void setAutoRangeIncludesZero(boolean flag) 是否强制在自动选择的数据范围中包含0
void setAutoRangeStickyZero(boolean flag) 是否强制在整个数据u中包?Q即?不在数据范围?br />
void setNumberFormatOverride(NumberFormat formatter) 数据轴数据标{昄格式
void setTickUnit(NumberTickUnit unit) 数据轴的数据标签Q需要将AutoTickUnitSelection设falseQ?/font>
void setMaximumDate(Date maximumDate) 日期轴上的最日?br />
void setMinimumDate(Date minimumDate) 日期轴上的最大日?br />
void setRange(Date lower,Date upper) 日期轴范?br />
void setDateFormatOverride(DateFormat formatter) 日期轴日期标{昄格式
void setTickUnit(DateTickUnit unit) 日期轴的日期标签Q需要将AutoTickUnitSelection设falseQ?br />
void setTickMarkPosition(DateTickMarkPosition position) 日期标签位置Q参数常量在org.jfree.chart.axis.DateTickMarkPositioncM定义Q?/font>
void setCategoryMargin(double margin) 分类轴边?br />
void setLowerMargin(double margin) 分类轴下Q左Q边?br />
void setUpperMargin(double margin) 分类轴上Q右Q边?br />
void setVerticalCategoryLabels(boolean flag) 分类轴标题是否旋转到垂直
void setMaxCategoryLabelWidthRatio(float ratio) 分类轴分cL{最大宽?/font>
void setBackgroundImage(Image image) 数据区的背景囄
void setBackgroundImageAlignment(int alignment) 数据区的背景囄寚w方式Q参数常量在org.jfree.ui.AligncM定义Q?br />
void setBackgroundPaint(Paint paint) 数据区的背景囄背景?br />
void setBackgroundAlpha(float alpha) 数据区的背景透明度(0.0?.0Q?br />
void setForegroundAlpha(float alpha) 数据区的前景透明度(0.0?.0Q?br />
void setDataAreaRatio(double ratio) 数据区占整个图表区的癑ֈ?br />
void setOutLinePaint(Paint paint) 数据区的边界U条颜色
void setOutLineStroke(Stroke stroke) 数据区的边界U条W触
void setNoDataMessage(String message) 没有数据时显C的消息
void setNoDataMessageFont(Font font) 没有数据时显C的消息字体
void setNoDataMessagePaint(Paint paint) 没有数据时显C的消息颜色
void setDataset(CategoryDataset dataset) 数据区的2l数据表
void setColumnRenderingOrder(SortOrder order) 数据分类的排序方?br />
void setAxisOffset(Spacer offset) 坐标轴到数据区的间距
void setOrientation(PlotOrientation orientation) 数据区的方向QPlotOrientation.HORIZONTAL或PlotOrientation.VERTICALQ?br />
void setDomainAxis(CategoryAxis axis) 数据区的分类?br />
void setDomainAxisLocation(AxisLocation location) 分类轴的位置Q参数常量在org.jfree.chart.axis.AxisLocationcM定义Q?br />
void setDomainGridlinesVisible(boolean visible) 分类轴网格是否可?br />
void setDomainGridlinePaint(Paint paint) 分类轴网格线条颜?br />
void setDomainGridlineStroke(Stroke stroke) 分类轴网格线条笔?br />
void setRangeAxis(ValueAxis axis) 数据区的数据?br />
void setRangeAxisLocation(AxisLocation location) 数据轴的位置Q参数常量在org.jfree.chart.axis.AxisLocationcM定义Q?br />
void setRangeGridlinesVisible(boolean visible) 数据轴网格是否可?br />
void setRangeGridlinePaint(Paint paint) 数据轴网格线条颜?br />
void setRangeGridlineStroke(Stroke stroke) 数据轴网格线条笔?br />
void setRenderer(CategoryItemRenderer renderer) 数据区的表示者(详见Rendererl)
void addAnnotation(CategoryAnnotation annotation) l数据区加一个注?br />
void addRangeMarker(Marker marker,Layer layer) l数据区加一个数D围区?/font>
void setDataset(PieDataset dataset) 数据区的1l数据表
void setIgnoreNullValues(boolean flag) 忽略无值的分类
void setCircular(boolean flag) 饼图是否一定是正圆
void setStartAngle(double angle) 饼图的初始角?br />
void setDirection(Rotation direction) 饼图的旋转方?br />
void setExplodePercent(int section,double percent) 抽取的那块(1l数据表的分cM标)以及抽取出来的距(0.0?.0Q,3D饼图无效
void setLabelBackgroundPaint(Paint paint) 分类标签的底?br />
void setLabelFont(Font font) 分类标签的字?br />
void setLabelPaint(Paint paint) 分类标签的字体颜?br />
void setLabelLinkMargin(double margin) 分类标签与图的连接线边距
void setLabelLinkPaint(Paint paint) 分类标签与图的连接线颜色
void setLabelLinkStroke(Stroke stroke) 分类标签与图的连接线W触
void setLabelOutlinePaint(Paint paint) 分类标签Ҏ(gu)颜色
void setLabelOutlineStroke(Paint paint) 分类标签Ҏ(gu)W触
void setLabelShadowPaint(Paint paint) 分类标签阴媄颜色
void setMaximumLabelWidth(double width) 分类标签的最大长度(0.0?.0Q?br />
void setPieIndex(int index) 饼图的烦引(复合饼图中用刎ͼ
void setSectionOutlinePaint(int section,Paint paint) 指定分类饼的Ҏ(gu)颜色
void setSectionOutlineStroke(int section,Stroke stroke) 指定分类饼的Ҏ(gu)W触
void setSectionPaint(int section,Paint paint) 指定分类饼的颜色
void setShadowPaint(Paint paint) 饼图的阴影颜?br />
void setShadowXOffset(double offset) 饼图的阴q对图的水q_U?br />
void setShadowYOffset(double offset) 饼图的阴q对图的垂直偏U?br />
void setLabelGenerator(PieSectionLabelGenerator generator) 分类标签的格式,讄成null则整个标{括连接线都不昄
void setToolTipGenerator(PieToolTipGenerator generator) MAP中鼠标移上的昄格式
void setURLGenerator(PieURLGenerator generator) MAP中钻取链接格?/font>
void setDepthFactor(double factor) 3D饼图的Z轴高度(0.0?.0Q?/font>
void setLimit(double limit) 每个饼图之间的数据关联(详细比较复杂Q?nbsp;
void setPieChart(JFreeChart pieChart) 每个饼图的显C方式(见JFreeChartcMPiePlotc)
void setItemLabelAnchorOffset(double offset) 数据标签的与数据点的偏移
void setItemLabelsVisible(boolean visible) 数据标签是否可见
void setItemLabelFont(Font font) 数据标签的字?br />
void setItemLabelPaint(Paint paint) 数据标签的字体颜?br />
void setItemLabelPosition(ItemLabelPosition position) 数据标签位置
void setPositiveItemLabelPosition(ItemLabelPosition position) 正数标签位置
void setNegativeItemLabelPosition(ItemLabelPosition position) 负数标签位置
void setOutLinePaint(Paint paint) 囑ŞҎ(gu)的线条颜?br />
void setOutLineStroke(Stroke stroke) 囑ŞҎ(gu)的线条笔?br />
void setPaint(Paint paint) 所有分cd形的颜色
void setShape(Shape shape) 所有分cd形的形状Q如折线囄点)
void setStroke(Stroke stroke) 所有分cd形的W触Q如折线囄U)
void setSeriesItemLabelsVisible(int series,boolean visible) 指定分类的数据标{是否可?br />
void setSeriesItemLabelFont(int series,Font font) 指定分类的数据标{字体
void setSeriesItemLabelPaint(int series,Paint paint) 指定分类的数据标{字体颜色
void setSeriesItemLabelPosition(int series,ItemLabelPosition position) 数据标签位置
void setSeriesPositiveItemLabelPosition(int series,ItemLabelPosition position) 正数标签位置
void setSeriesNegativeItemLabelPosition(int series,ItemLabelPosition position) 负数标签位置
void setSeriesOutLinePaint(int series,Paint paint) 指定分类的图形边框的U条颜色
void setSeriesOutLineStroke(int series,Stroke stroke) 指定分类的图形边框的U条W触
void setSeriesPaint(int series,Paint paint) 指定分类囑Ş的颜?br />
void setSeriesShape(int series,Shape shape) 指定分类囑Ş的ŞӞ如折U图的点Q?br />
void setSeriesStroke(int series,Stroke stroke) 指定分类囑Ş的笔触(如折U图的线Q?/font>
void setLabelGenerator(CategoryLabelGenerator generator) 数据标签的格?br />
void setToolTipGenerator(CategoryToolTipGenerator generator) MAP中鼠标移上的昄格式
void setItemURLGenerator(CategoryURLGenerator generator) MAP中钻取链接格?br />
void setSeriesLabelGenerator(int series,CategoryLabelGenerator generator) 指定分类的数据标{格式
void setSeriesToolTipGenerator(int series,CategoryToolTipGenerator generator) 指定分类的MAP中鼠标移上的昄格式
void setSeriesItemURLGenerator(int series,CategoryURLGenerator generator) 指定分类的MAP中钻取链接格?/font>
void setDrawBarOutline(boolean draw) 是否d形边?br />
void setItemMargin(double percent) 每个BAR之间的间?br />
void setMaxBarWidth(double percent) 每个BAR的最大宽?br />
void setMinimumBarLength(double min) 最短的BAR长度Q避免数值太而显CZ?br />
void setPositiveItemLabelPositionFallback(ItemLabelPosition position) 无法在BAR中显C的正数标签位置
void setNegativeItemLabelPositionFallback(ItemLabelPosition position) 无法在BAR中显C的负数标签位置
void setWallPaint(Paint paint) 3D坐标轴的墙体颜色
没有Ҏ(gu)的设|?/font>
没有Ҏ(gu)的设|?/font>
void setSeriesToGroupMap(KeyToGroupMap map) 分c自q映射成若q个l(KeyToGroupMap.mapKeyToGroup(series,group)Q?/font>
void setSeriesBarWidth(int series,double width) 讑֮每个分类的宽度(注意讄不要使某分类被覆盖)
void setFirstBarPaint(Paint paint) W一个柱囄颜色
void setLastBarPaint(Paint paint) 最后一个柱囄颜色
void setPositiveBarPaint(Paint paint) 正值柱囄颜色
void setNegativeBarPaint(Paint paint) 负值柱囄颜色
需要传IntervalCategoryDataset作ؓ数据?/font>
void setCompletePaint(Paint paint) 完成q度颜色
void setIncompletePaint(Paint paint) 未完成进度颜?br />
void setStartPercent(double percent) 讄q度条在整条中的起始位置Q?.0?.0Q?br />
void setEndPercent(double percent) 讄q度条在整条中的l束位置Q?.0?.0Q?/font>
需要传StatisticCategoryDataset作ؓ数据?/font>
void setDrawLines(boolean draw) 是否折线的数据点之间用线q?br />
void setDrawShapes(boolean draw) 是否折线的数据点Ҏ(gu)分类使用不同的Ş?br />
void setShapesFilled(boolean filled) 所有分cL否填充数据点囑Ş
void setSeriesShapesFilled(int series,boolean filled) 指定分类是否填充数据点图?br />
void setUseFillPaintForShapeOutline(boolean use) 指定是否填充数据点的Paint也被用于L据点形状的边?/font>
void setItemMargin(double percent) 每个分类之间的间?br />
void setMaxItemWidth(double percent) 每个分类的最大宽?/font>
void setStagger(boolean shouldStagger) 不同分类的图是否交错
void setDrawLines(boolean drawLines) 是否在每个分cȝ间画q接U?br />
void setGroupPaint(Paint groupPaint) 一l图形连接线的颜?br />
void setGroupStroke(Stroke groupStroke) 一l图形连接线的笔?br />
void setMaxIcon(Icon maxIcon) 最大值的ICON
void setMinIcon(Icon minIcon) 最值的ICON
void setObjectIcon(Icon objectIcon) 所有值的ICON
没有Ҏ(gu)的设|?/font>
没有Ҏ(gu)的设|?/font>
]]>
struts-config.xml
<controller
processorClass="org.springframework.web.struts.DelegatingRequestProcessor">
</controller>
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/classes/applicationContext.xml" />
</plug-in>
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);