Vision Posted November 19, 2010 Share Posted November 19, 2010 hi i am using the GraphGDIPlus UDF for my graph but i cant clear the graph (nothing happens) can you help me`? Link to comment Share on other sites More sharing options...
UEZ Posted November 19, 2010 Share Posted November 19, 2010 Where is your code? Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Vision Posted November 19, 2010 Author Share Posted November 19, 2010 cant post my complete code. cause it will not work without my bluetooth PCB/board. but heres the part where i create the graph Func _creategraph() $Graph = _GraphGDIPlus_Create($Form1_1,32,384,449,209,0xFF000000,0xCCCCCCC) _GraphGDIPlus_Set_RangeX($Graph,0,100); ,10,1,1) _GraphGDIPlus_Set_RangeY($Graph,0,16); ,10,1,1) _GraphGDIPlus_Set_GridX($Graph,1,0xFFFFFFFF) _GraphGDIPlus_Set_GridY($Graph,1,0xFFFFFFFF) _gradeline() Endfunc Func _gradeline() _GraphGDIPlus_Set_PenSize($Graph,1) ;----- Set line color and size ----- _GraphGDIPlus_Set_PenColor($Graph,0x96000000) ;black ;----- draw lines ----- _GraphGDIPlus_Plot_Start($Graph,0,3.5) _GraphGDIPlus_Plot_Line($Graph,100,3.5) _GraphGDIPlus_Refresh($Graph) EndFunc so if i get a new measurement result from my PCB, i tryed to delete the graph and recreate it with the func _creategraph() but then the graph is displayed not correctly (glitchy). and if i want to clear it with _GraphGDIPlus_Clear($Graph) just nothing happens. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now