轉(zhuǎn)帖|其它|編輯:郝浩|2010-10-14 14:01:35.000|閱讀 1711 次
概述:今天我在工作中利用Teechart生成成績分析圖,在此特地把源代碼主要片段發(fā)上來,希望對大家有用。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
今天我在工作中利用Teechart生成 成績分析圖,在此特地把源代碼主要片段發(fā)上來,希望對大家有用。
WebChart wc=new WebChart();
wc.Visible=true;
Steema.TeeChart.Chart ch2=wc.Chart;
MemoryStream tmpChart2=new MemoryStream();
ch2.Header.Text="總分對比";
ch2.Header.Font.Bold=false;
ch2.Header.Font.Color=Color.Red;
ch2.Header.Font.Size=10;
//控制面板的背景色
ch2.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(0xFF,0xEE,0xF2);
ch2.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(0xFE,0xCB,0xD7);
ch2.Panel.Brush.Gradient.Visible = true;
ch2.ASPect.View3D = false;
//外觀
ch2.Aspect.Elevation = 315;
ch2.Aspect.Orthogonal = false;
ch2.Aspect.Perspective = 0;
ch2.Aspect.Rotation = 360;
ch2.Invalidate();
//設(shè)置線條
Line AnalyLine2=new Line();
AnalyLine2.OutLine.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(0)));
AnalyLine2.ColorEachLine=false;
AnalyLine2.OutLine.Visible = true;
AnalyLine2.Pointer.Visible = true;<>
慧都2010促銷季開幕,TeeChart for .NET 8折促銷!詳情咨詢:400-700-1020或023-66090381活動詳情://fc6vip.cn/zh-CN/Products_cn/TeeChart_chinese.html
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉(zhuǎn)載自:網(wǎng)絡(luò)轉(zhuǎn)載