Using a macro how is a data source connected to a secondary y-axis?

I have created a macro in lobasic that creates a line diagram with three sets of y values. All are connected to the y-axis. I would like one of these to be connected to the secondary y-axis. Both the primary y-axis and secondary y-axis are configured and displayed correctly. What is the secret piece of code that connects the one set data to the secondary axis?

If you show your code, is more easy for someone want help you, and for who have the same question.