Jump to content
Sign in to follow this  

GraphGDIPlus Graph clear

Recommended Posts

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...