#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Dim $Y[14] = [12, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003]
Dim $M[14] = [12, 132.7, 138.8, 140.8, 161.1, 158.8, 163.7, 165.1, 151.9, 159.3, 185.0, 213.5, 191.2]
Dim $N[8] = [6, " 0", " 50", "100", "150", "200", "250"]
Dim $MaxX = 600, $MaxY = 400
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", $MaxX + 100, $MaxY + 100, -1, -1)
For $i = 1 To 6
GUICtrlCreateLabel($N[7 - $i], 55, 63 + $MaxY / 5 * ($i - 1), 20, 17)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
Next
For $i = 1 To 12
GUICtrlCreateLabel($Y[$i], 78 + $MaxX / 25 * ($i * 2 - 1), 475, 30, 17)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
Next
$P = GUICtrlCreateGraphic(80, 70, $MaxX, $MaxY)
GUICtrlSetBkColor(-1, 0xffffff)
GUICtrlSetColor(-1, 0)
GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x000000, 0xcccccc)
For $i = 1 To 5
GUICtrlSetGraphic(-1, $GUI_GR_RECT, 0, $MaxY / 5 * ($i - 1), $MaxX, $MaxY / 5)
Next
GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x000000, 0x6666cc)
For $i = 1 To 12
GUICtrlSetGraphic(-1, $GUI_GR_RECT, $MaxX / 25 * ($i * 2 - 1), $MaxY * (1 - 1 / 250 * $M[$i]), $MaxX / 25, $MaxY / 250 * $M[$i])
Next
For $i = 1 To 12
GUICtrlCreateLabel($M[$i], 77 + $MaxX / 25 * ($i * 2 - 1), $MaxY * (1 - 1 / 250 * $M[$i]) + 55, 30, 17)
GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
Next
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd