翻譯|使用教程|編輯:凌霄漢|2022-04-12 14:04:11.003|閱讀 181 次
概述:此次報表開發(fā)工具TeeChart Pro .NET使用教程將為大家介紹設(shè)計時、運行時和許可要求。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關(guān)鏈接:
TeeChart Pro 將自動為您定義所有 Axis 標(biāo)簽,并提供足夠的靈活性來定制您可能有的任何特定要求。 TeeChart Pro 提供真正的多軸。 這些在設(shè)計或運行時可用,并為 Axis 定義提供了無數(shù)的可能性和靈活性。
本教程著眼于 TeeChart 應(yīng)用程序的運行時安裝的某些方面。
您的 TeeChart 應(yīng)用程序需要與 TeeChart.dll 一起分發(fā),如果您的應(yīng)用程序使用 Steema.TeeChart.Languages 命名空間,則需要與 TeeChart.Languages.dll 一起分發(fā)。您需要在此處決定是在本地安裝這些 dll,例如,在應(yīng)用程序目錄下的 bin 目錄中,在 AssemblyFolders 注冊表項中注冊文件夾,還是將它們安裝在全局程序集緩存 (GAC) 中。
TeeChart 的編輯器可以在運行時實現(xiàn),以使您的應(yīng)用程序用戶能夠修改圖表設(shè)置。 TeeChart 自己的設(shè)計時程序員幫助不會擴(kuò)展到運行時,但您可以選擇添加自己的幫助文件,以便在運行時由圖表編輯器上的幫助按鈕打開。
您的幫助文件應(yīng)該是 chm 格式(HTML 幫助 v1) 安裝在以下注冊表位置時,幫助文件應(yīng)在運行時注冊:
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\HTML Help] "YourHelpfile.chm"="drive:\directory"
TeeChart 語言,即以不同語言顯示 TeeChart 編輯器和其他 TeeChart 對話框的能力,目前僅支持運行時。
要在運行時更改語言,您只需使用類似于以下的代碼:
Steema.TeeChart.Languages.German.Activate();
這里填充一個組合框以用于語言選擇:
private void Form1_Load(object sender, System.EventArgs e) commander1.Chart = tChart1; tChart1.Aspect.View3D = false; line1.FillSampleValues(20); comboBox1.Items.Add("Arabic"); comboBox1.Items.Add("Brazilian"); comboBox1.Items.Add("Catalan"); comboBox1.Items.Add("Chinese Simple"); comboBox1.Items.Add("Chinese Traditional"); comboBox1.Items.Add("Danish"); comboBox1.Items.Add("Dutch"); comboBox1.Items.Add("English"); comboBox1.Items.Add("Finnish"); comboBox1.Items.Add("French"); comboBox1.Items.Add("Galician"); comboBox1.Items.Add("German"); comboBox1.Items.Add("Hebrew"); comboBox1.Items.Add("Hellenic"); comboBox1.Items.Add("Hungarian"); comboBox1.Items.Add("Indonesian"); comboBox1.Items.Add("Italian"); comboBox1.Items.Add("Japanese"); comboBox1.Items.Add("Korean"); comboBox1.Items.Add("Norwegian"); comboBox1.Items.Add("Polish"); comboBox1.Items.Add("Portuguese"); comboBox1.Items.Add("Russian"); comboBox1.Items.Add("Slovak"); comboBox1.Items.Add("Slovene"); comboBox1.Items.Add("Spanish"); comboBox1.Items.Add("Swedish"); comboBox1.Items.Add("Turkish"); comboBox1.Items.Add("Ukranian"); comboBox1.SelectedItem = "English"; private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e) switch(comboBox1.SelectedIndex) case 0: Steema.TeeChart.Languages.Arabic.Activate(); break; case 1: Steema.TeeChart.Languages.Brazilian.Activate(); break; case 2: Steema.TeeChart.Languages.Catalan.Activate(); break; case 3: Steema.TeeChart.Languages.ChineseSimp.Activate(); break; case 4: Steema.TeeChart.Languages.ChineseTrad.Activate(); break; case 5: Steema.TeeChart.Languages.Danish.Activate(); break; case 6: Steema.TeeChart.Languages.Dutch.Activate(); break; case 7: Steema.TeeChart.Languages.English.Activate(); break; case 8: Steema.TeeChart.Languages.Finnish.Activate(); break; case 9: Steema.TeeChart.Languages.French.Activate(); break; case 10: Steema.TeeChart.Languages.Galician.Activate(); break; case 11: Steema.TeeChart.Languages.German.Activate(); break; case 12: Steema.TeeChart.Languages.Hebrew.Activate(); break; case 13: Steema.TeeChart.Languages.Hellenic.Activate(); break; case 14: Steema.TeeChart.Languages.Hungarian.Activate(); break; case 15: Steema.TeeChart.Languages.Indonesian.Activate(); break; case 16: Steema.TeeChart.Languages.Italian.Activate(); break; case 17: Steema.TeeChart.Languages.Japanese.Activate(); break; case 18: Steema.TeeChart.Languages.Korean.Activate(); break; case 19: Steema.TeeChart.Languages.Norwegian.Activate(); break; case 20: Steema.TeeChart.Languages.Polish.Activate(); break; case 21: Steema.TeeChart.Languages.Portuguese.Activate(); break; case 22: Steema.TeeChart.Languages.Russian.Activate(); break; case 23: Steema.TeeChart.Languages.Slovak.Activate(); break; case 24: Steema.TeeChart.Languages.Slovene.Activate(); break; case 25: Steema.TeeChart.Languages.Spanish.Activate(); break; case 26: Steema.TeeChart.Languages.Swedish.Activate(); break; case 27: Steema.TeeChart.Languages.Turkish.Activate(); break; case 28: Steema.TeeChart.Languages.Ukrainian.Activate(); break;
TeeChart 可以設(shè)置默認(rèn)的設(shè)計時語言,該語言將在將 TeeChart 添加到表單時立即生效。 在第一次打開圖表項目時,語言鍵中激活的語言將生效,或者可以通過圖表右鍵菜單“選項”選項設(shè)置語言。
[HKEY_LOCAL_MACHINE\SOFTWARE\Steema Software\TeeChart.NET] "Language"=dword:00000011 //Hex 11 is decimal 17 (Japanese)
如果您想了解TeeChart for .NET正版價格,歡迎咨詢
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn