[function] BarChart

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
Learning one
Posts: 173
Joined: 04 Oct 2013, 13:59
Location: Croatia

[function] BarChart

26 Dec 2015, 14:38

Continued from old BarChart thread.
User avatar
Joe Glines
Posts: 771
Joined: 30 Sep 2013, 20:49
Location: Dallas

Re: [function] BarChart

03 Jan 2016, 21:46

@Learning one. I still think this is awesome! Thank you for your previous work! :bravo:

I was wondering how hard would it be to throw in some code to have
1) An axis showing numbers
2)Gridlines at the above mentioned numbers

Here is a simple example what I'm referring to
Sign-up for the 🅰️HK Newsletter

AHK Tutorials:Web Scraping | | Webservice APIs | AHK and Excel | Chrome | RegEx | Functions
Training: AHK Webinars Courses on AutoHotkey :ugeek:

:thumbup: Quick Access Popup, the powerful Windows folders, apps and documents launcher!
Posts: 47
Joined: 24 Aug 2017, 13:02

Re: [function] BarChart

31 Oct 2017, 07:52

where can you download the code for the BarChart library?
Posts: 9085
Joined: 30 Sep 2013, 06:48

Re: [function] BarChart

25 Dec 2017, 19:28

concepter wrote:where can you download the code for the BarChart library?
It would be great, if someone could provide a copy of this function/library.
User avatar
Posts: 428
Joined: 05 Oct 2015, 16:41

Re: [function] BarChart

25 Dec 2017, 20:17

I have a copy of it here.
(647.22 KiB) Downloaded 543 times
Posts: 9085
Joined: 30 Sep 2013, 06:48

Re: [function] BarChart

25 Dec 2017, 21:10

Alguimist wrote:I have a copy of it here.
Oh, thanks a lot. I appreciate it.
Posts: 1736
Joined: 22 Jan 2017, 19:37

Re: [function] BarChart

26 Dec 2017, 14:25

Thanks for the BarChart library download, Alguimist!
And thanks to @Learning one for writing it, of course :)
Posts: 934
Joined: 30 Sep 2017, 03:59
Location: Romania

Re: [function] BarChart

25 Mar 2022, 13:37


I updated this version of BarChart.

=Change log=
-- v1.2 - vendredi 25 mars 2022
-- added options: MaxPercentValue, AutoCalculateHeight, BarHeight
-- set AutoCalculateHeight=1 to have the function automatically calculate
the size of th returned bitmap
-- BgrStyle=1 = gradient background
BgrStyle=2 = hatch background
BgrStyle=3 = simple solid colored background
BgrStyle=0 = default [combined 1 and 2]

-- changed: -- if TextSize=0 no labels or values are displayed for the bars
-- ChartData is only accepting arrays
-- LabelsData -- new parameter to set the text labels for the bars
-- one can set BarColorDirection=2, to draw bars with a simple color
-- set BarColorDirection=3 to draw bars with a simple/solid color and peaks; set BarPeaksColor

(92.39 KiB) Downloaded 124 times
Best regards, Marius.
KeyPress OSD v4: GitHub or forum. (presentation video)
Quick Picto Viewer: GitHub or forum.
AHK GDI+ expanded / compilation library (on GitHub)
My home page.

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: silverrs8 and 50 guests