Jump to content
Sign in to follow this  

GraphGDIPlus Graph clear

Recommended Posts



i am using the GraphGDIPlus UDF for my graph but i cant clear the graph (nothing happens)

can you help me`?

Share this post

Link to post
Share on other sites

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)




Func _gradeline()

    ;----- Set line color and size -----
    _GraphGDIPlus_Set_PenColor($Graph,0x96000000) ;black

    ;----- draw lines -----



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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.