XYChart component X-Trace mode

Hello.

I´m trying to set the X-Trace mode into an XYChart in perspective enviroment but don´t get it.
How can i do it?
I´ve triyed with a self.setMode(4) method but not sucessfully
Thank you very much.