peethebee 3 Posted August 17, 2005 Hi! I started coding a UDF which allows in this version to draw pies, half-pies and relative bars. They have a little 3d effect and can be explained using legends. I hope you like it! Question: Please see History.txt to see eexact question (sth. about sorting of an 2-dimensional array) If somebody is searching for a project to code, I would invite you to help me coding the part which is dealing with auto-scaling, creating a coordinates system and so on. peethebee p.s. grab the file in my filman vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
peethebee 3 Posted August 19, 2005 Hi! I included the absolute data drawing func and loadad it into my fileman. Please test it! There are some screenshots included. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
tuape 0 Posted August 19, 2005 Hi!I included the absolute data drawing func and loadad it into my fileman.Please test it!There are some screenshots included.peethebee<{POST_SNAPBACK}>Really nice!! Good work, again. Share this post Link to post Share on other sites
peethebee 3 Posted August 20, 2005 Hi! v1.0 Beta 2 is now in the fileman. What's new: - sorting works now - winhandle supplied as optional param to draw also if win is in background peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
peethebee 3 Posted August 22, 2005 (edited) Hi! It would be the first time that my script would have been perfect from the beginning on *g* Please share your experiences! peethebee Edited August 22, 2005 by peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
peethebee 3 Posted October 19, 2005 Hi! I tought it would be time to take this up on the first page of the Scripts & Scraps again. Sorry for that *g* peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
Nuffilein805 0 Posted October 19, 2005 good idea as you know i could use it in at least 1 of my progs my little chatmy little encryption toolmy little hidermy unsafe clickbot Share this post Link to post Share on other sites
peethebee 3 Posted October 19, 2005 Hi! I would like to see it in your script. Please PM if the script is completed so that I can see my work contributing to a great program. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
ptrex 162 Posted October 19, 2005 @peethebeeNice job, but when running the DEMO I get lot' s of errors.>"C:\Program Files\AutoIt3\SciTe\CompileAU3\CompileAU3.exe" /run /beta /ErrorStdOut /in "C:\_\Apps\AutoIT\Graphs\demo.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams >Running AU3Check...C:\Program Files\AutoIt3\SciTe\Defs\Unstable\Au3Check\au3check.datC:\_\Apps\AutoIT\Graphs\statistics.au3(78,138) : ERROR: GUICtrlSetGraphic() [built-in]called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_pie, Round($_stat_width / 2) + 0.04 * $radius, Round($_stat_height / 2) + 0.03 * $radius, $radius, 0, 360) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(82,241) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_pie, Round($_stat_width / 2) - 0.04 * $radius, Round($_stat_height / 2) - 0.03 * $radius, $radius, _stat_percent_to_degrees(_stat_array_sum_2_dim($data, 0, $i - 1, 0)), _stat_percent_to_degrees($data[$i][0])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(139,138) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_pie, Round($_stat_width / 2) + 0.04 * $radius, Round($_stat_height / 2) + 0.03 * $radius, $radius, 0, 180) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(143,235) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_pie, $_stat_width / 2 - 0.04 * $radius, $_stat_height / 2 - 0.03 * $radius, $radius, _stat_percent_to_degrees(_stat_array_sum_2_dim($data, 0, $i - 1, 0)) / 2, _stat_percent_to_degrees($data[$i][0]) / 2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(146,128) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_pie, $_stat_width / 2 + 0.04 * $radius, $_stat_height / 2 + 0.03 * $radius, $radius / 3, 0, 180) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(148,135) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_pie, $_stat_width / 2 + 0.09 * $radius, $_stat_height / 2 + 0.025 * $_stat_height, $radius / 3, 0, 180) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(203,37) : WARNING: $gui_gr_rect: possibly used before declaration. GUICtrlSetGraphic (-1, $gui_gr_rect, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(203,135) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_rect, 5 + 0.05 * $_stat_width, 5 + 0.02 * $_stat_height, 0.95 * $_stat_width - 3, 0.98 * $_stat_height) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(208,101) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_rect, 3, $_stat_top_bar, 0.95 * $_stat_width - 3, $_stat_height_bar) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(287,80) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic (-1, $gui_gr_rect, 2, 2, $_stat_width - 4, $_stat_height - 4) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(291,69) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic ($ids[0], $gui_gr_rect, 10, 10 + $i * 25, 10, 10) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(431,45) : WARNING: $gui_gr_pensize: possibly used before declaration. GUICtrlSetGraphic ($ids[0], $gui_gr_pensize, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(433,42) : WARNING: $gui_gr_move: possibly used before declaration. GUICtrlSetGraphic ($ids[0], $gui_gr_move, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(499,118) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic ($ids[0], $gui_gr_rect, $val_x_pos - $advanced / 2, $nullpos, $advanced, $val_y_pos - $nullpos) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\_\Apps\AutoIT\Graphs\statistics.au3(502,124) : ERROR: GUICtrlSetGraphic() [built-in] called with wrong number of args. GUICtrlSetGraphic ($ids[0], $gui_gr_rect, $val_x_pos - $advanced / 2, $val_y_pos, $advanced, $nullpos - $val_y_pos + 1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Program Files\AutoIt3\Include\GUIConstants.au3(327,31) : ERROR: $GUI_GR_LINE previously defined as a non-'Const' var.Global Const $GUI_GR_LINE = 2~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~^C:\Program Files\AutoIt3\Include\GUIConstants.au3(330,32) : ERROR: $GUI_GR_COLOR previously defined as a non-'Const' var.Global Const $GUI_GR_COLOR = 8~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~^C:\Program Files\AutoIt3\Include\GUIConstants.au3(333,31) : ERROR: $GUI_GR_PIE previously defined as a non-'Const' var.Global Const $GUI_GR_PIE = 14~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^C:\Program Files\AutoIt3\Include\GUIConstants.au3(334,31) : ERROR: $GUI_GR_DOT previously defined as a non-'Const' var.Global Const $GUI_GR_DOT = 16~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~^C:\_\Apps\AutoIT\Graphs\demo.au3 - 16 error(s), 3 warning(s)>Exit code: 0 Time: 5.837Do you have a working example available somewhere ? Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Share this post Link to post Share on other sites
peethebee 3 Posted October 20, 2005 Hi! The demo.exe should work. It is compiled with a beta version around 75. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
ptrex 162 Posted October 22, 2005 Indead the EXE works. why did the script not run any Idea ? Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Share this post Link to post Share on other sites
peethebee 3 Posted October 23, 2005 Hi! There might have been some changes to the function "GUICtrlSetGraphic". See the history files for that in the help file of actual beta. If I find time, I will try to correct it and adapt it to the new capabilities. peethebee p.s. please post, what changed if you find it, so that I do not have that much work... *g* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
FuryCell 3 Posted October 23, 2005 Nice Job. I just looked at the demo and it was awesome. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Share this post Link to post Share on other sites
peethebee 3 Posted October 23, 2005 Hi! Thank you! peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
busysignal 0 Posted October 25, 2005 @peethebee, what's up! Nice utility. This would be really nice to use in any future applet needing graphical display.. Very cool!!!!! Cheers.. Share this post Link to post Share on other sites
peethebee 3 Posted October 25, 2005 Hi! I would like to see it them, busysignal! peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
busysignal 0 Posted October 27, 2005 Hi!I would like to see it them, busysignal!peethebeeYou got it!Cheers.. Share this post Link to post Share on other sites
peethebee 3 Posted November 2, 2005 Hi! I hope so, busysignal. Mail me, if it is completed! peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Share this post Link to post Share on other sites
joseLB 1 Posted December 28, 2005 Hi!Thank you!peethebeeHi, peethebeeI'm triyng to get your graph script, but I'm not finding thm. Can you give me the adress and name? I visited the address above, but could'n find them. Share this post Link to post Share on other sites