全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1567
推到 Plurk!
推到 Facebook!

請問各位高手,ChartFX物件如何呼叫我給予之數值

答題得分者是:william
23240559
一般會員


發表:2
回覆:2
積分:0
註冊:2002-10-29

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-10-29 16:36:17 IP:210.241.xxx.xxx 未訂閱
各位高手: 本人僅有Delphi v2.0版本,由於此版本並無Chart物件可供使用,僅在OCX中有ChartFX、VCFirstImpression及GraphicsServer等物件可製成類似Microsoft Graph圖表物件,本人查無該物件如何撰寫程式可取得相關資料以便繪成圖表,請問各位高手是否可提供相關資料,以解決問題,謝謝您。
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-10-30 09:33:02 IP:147.8.xxx.xxx 未訂閱
I remeber there is a winhelp file (or a simple project in Delphi/VB?) for it in, perhaps, the windows\system directory. I will try to find some more info when I am back to home later.
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#3 引用回覆 回覆 發表時間:2002-10-30 23:09:11 IP:210.3.xxx.xxx 未訂閱
Inside Delphi 2.0 installation directory, there is a sub-directory "OCX\CHARTFX". Inside it you should find the winhelp file for ChartFX 2 and a sample pascal unit. As far as I remember, after the update to Delphi 2, you need to deploy a .lic file (actually I find I can just create an empty file with the same name) together with the ocx and dll files.
23240559
一般會員


發表:2
回覆:2
積分:0
註冊:2002-10-29

發送簡訊給我
#4 引用回覆 回覆 發表時間:2002-10-31 15:49:44 IP:210.241.xxx.xxx 未訂閱
Mr. William 很感激您大力的幫忙,我在”\OCX\CHARTFX”次目錄下雖有找到了help,但照help檔說明程式執行,仍舊出現錯誤訊息,可否請您幫幫忙,示範按下一個Buttom可使得ChartFX物件顯示2列3欄圖表的程式,寄給我hung559@yahoo.com.tw,可使用Delphi 6.0以下版本。非常感謝。
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#5 引用回覆 回覆 發表時間:2002-11-02 12:10:07 IP:210.3.xxx.xxx 未訂閱
Don't konw if it is what you need, please use the unit CFXOCX2 since all constants are defined there.
     with ChartFX1 do begin
          Type_ := BAR;
          Adm[CSA_MIN] := 0;
          Adm[CSA_MAX] := 5;
          Adm[CSA_GAP] := 1;
          ThisSerie := 0;
          OpenDataEx(COD_VALUES,1,3);
          Value[0] := 2;
          Value[1] := 3;
          Value[2] := 4;
          CloseData(COD_VALUES);
     end;
23240559
一般會員


發表:2
回覆:2
積分:0
註冊:2002-10-29

發送簡訊給我
#6 引用回覆 回覆 發表時間:2002-11-02 15:16:47 IP:61.223.xxx.xxx 未訂閱
非常感激不盡,問題已解決了。
系統時間:2024-05-16 14:13:45
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!