书签 分享 收藏 举报 版权申诉 / 35

类型ChartDirector例如手册.docx

  • 文档编号:28061480
  • 上传时间:2023-07-08
  • 格式:DOCX
  • 页数:35
  • 大小:549.19KB

file=<%=()%>">

ViewChartSourceCode


"+chart1URL)%>'

usemap="#map1"border="0">

<%=imageMap1%>

六、Multi-SymbolLineChart

例如代码:

<%@pageimport="ChartDirector.*"%>

<%@pageimport=".*"%>

<%

etTime(),newGregorianCalendar(

2000,0,1).getTime(),newGregorianCalendar(2000,1,1).getTime(),

newGregorianCalendar(2000,3,1).getTime(),newGregorianCalendar(2000,4,8

).getTime(),newGregorianCalendar(2000,6,5).getTime(),newGregorianCalendar(

2001,2,5).getTime(),newGregorianCalendar(2001,3,7).getTime(),

newGregorianCalendar(2001,4,9).getTime(),newGregorianCalendar(2002,1,4

).getTime(),newGregorianCalendar(2002,3,4).getTime(),newGregorianCalendar(

2002,4,8).getTime(),newGregorianCalendar(2002,6,7).getTime(),

newGregorianCalendar(2002,7,30).getTime(),newGregorianCalendar(2003,0,2

).getTime(),newGregorianCalendar(2003,1,16).getTime(),newGregorianCalendar(

2003,10,6).getTime(),newGregorianCalendar(2004,0,4).getTime()};

XYChartc=newXYChart(600,300,0xffccff,0x,1);

();

Sethorizontalandverticalgridlinestogrey(cccccc).

(55,58,520,195,0xffffff,-1,-1,0xcccccc,0xcccccc);

Use10pts

SetthebackgroundandbordercolortoTransparent.

(55,30,false,"ArialBoldItalic",10).setBackground;

15ptsThetextis

("Multi-SymbolLineChartDemo","TimesNewRomanBoldItalic",15,

0xffffff).setBackground(0x,-1,);

etLabelFormat("{value}%");

9ptetTitle("AxisTitlePlaceholder","ArialBoldItalic",9);

().setTitle("AxisTitlePlaceholder","ArialBoldItalic",9);

etLabelStyle("ArialBold");

().setLabelStyle("ArialBold");

Thescatterlayersare

(Thisexampleusesbothxandycoordinates.Forchartsthathavenox

(dataX),newArrayMath(dataY).selectEQZ(pointType,

.result(),"PointType0",(5),15,0xffff00);

(dataX),newArrayMath(dataY).selectEQZ(newArrayMath(

pointType).sub

(1).result(),.result(),"PointType1",

(6),13,0x00ff00);

(dataX),newArrayMath(dataY).selectEQZ(newArrayMath(

pointType).sub

(2).result(),.result(),"PointType2",

(),13,0xff0000);

18pt

"%>

<%

12ptsetBackground(

0x,0,-1);

18pt

"%>

<%

AngularMeterm=newAngularMeter(200,200,(),0x,-2);

();

Set2pixelslinewidthfor

(0,2,1);

15ptsetBackground(0x,0x,-1);

18pt

"%>

<%@pageimport=""%>

<%!

etServletContext(),request);

();

10pts18pt

"%>

<%@pageimport=""%>

<%!

AngularMeterm=newAngularMeter(110,110,(),0x,-2);

Meterspansfrom90-0degrees.

(15,95,85,90,0);

etBackground(0,0,-1);

}elseif(index==1){

(15,15,85,90,180);

etBackground(0,0,-1);

}elseif(index==2){

(95,15,85,270,180);

etBackground(0,0,-1);

}else{

Meterspansfrom270-360degrees.

(95,95,85,270,360);

etBackground(0,0,-1);

}

18pt

"%>

<%

(2,2,2);

12ptsetShape;

etShape;

etShape;

etShape;

18pt

"%>

<%

LinearMeterm=newLinearMeter(250,75,(),0,-2);

8ptsetBackground(0,0,-1);

(193,70,(value1,"2"),"Arial",8,0x33ff33,

.setBackground(0,0,-1);

(238,70,(value2,"2"),"Arial",8,0xff3333,

.setBackground(0,0,-1);

18pt

"%>

<%

LinearMeterm=newLinearMeter(210,45,(),0,-2);

The

etBackground(

-1,1);

etShape;

18pt

"%>

<%

etLabels(labels);

18pt

"%>

<%

Setbackgroundcolortogold,

15ptsThetitletextis

etBackground(0x);

(240,210,150,0xffffff);

10ptsSet

LegendBoxb=(470,35,true,"ArialBold",10);

;

(),,1);

Adda

(data0,0xcc,"ModelSaturn");

(data0,0x6666cc).setLineWidth(3);

Addared

(data1,0x80cc6666,

配套讲稿:

如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

特殊限制:

部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

关 键  词:
ChartDirector 例如 手册
提示  冰豆网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:ChartDirector例如手册.docx
链接地址:https://www.bdocx.com/doc/28061480.html
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2008-2022 冰点文档网站版权所有

经营许可证编号:鄂ICP备2022015515号-1

收起
展开