hi @water nope, i dont need in excel. i want to draw it in my GUI. but i confuse how to convert from "Coordinate" to be "Value". i just want to make a tiny one in my GUI. my code so far: #include <GUIConstantsEx.au3>
GUICreate("My Draw")
GUICtrlCreateGraphic(20, 220, 80, 80)
local $val1 = 919, $val2 = 923, $Val3 = 921, $val4 = 918, $val5 = 922
$1_Val = $Val1 - $val2
$2_Val = $Val1 - $val3
$3_Val = $Val1 - $val4
$4_Val = $Val1 - $val5
GUICtrlSetGraphic(-1, $GUI_GR_DOT, 0, 0)
GUICtrlSetGraphic(-1, $GUI_GR_LINE, 30, ($1_Val*5))
GUICtrlSetGraphic(-1, $GUI_GR_LINE, 60, ($2_Val*5))
GUICtrlSetGraphic(-1, $GUI_GR_LINE, 90, ($3_Val*5))
GUICtrlSetGraphic(-1, $GUI_GR_LINE, 120, ($4_Val*5))
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Select
Case $nMsg = $GUI_EVENT_CLOSE
Exit
EndSelect
WEnd