Hello I have a graph field and a graph data. I want attach it to graph with a checkbox if it is true [GRAPH_AttachData(hItem,_hDataYT0);] and if it is no true detach it [GRAPH_DetachData(hItem,_hDataYT0);] and do it with a button. But I could not control it with check box and button.. It is complicated a bit. Here is my code block. I made it with emWin GUIBuilder. In this project ADC is activated and my board is stm32f746g_disco C Source Code (216 lines)