prepare function to fill graphic with function test
factorize function in c_graph class and prepare to init the graphic interface to display a performance function