cancel
Showing results for 
Search instead for 
Did you mean: 

Rendering frequency spectrum

Petr3
Associate III

Hello,

i want to render frequency spectrum FFT in the small area of screen and handle touch in this area. This should be done by some custom widget/container. Can you help me how to do it?

 

Best Regards,

Petr

10 REPLIES 10

Hello @Petr3 ,

 

I assume you put your FFT graph inside a custom container.
You can just call

setTouchable(true);

in the setupScreen function of that custom container to enable touch on it.
This way you will be able to use the handleDragEvent and HandleClickEvent.

If you want to see how to use these 2 functions, have a look at this custom container example .

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)