DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set curve2 to Yaxis2, curve3 to Yaxis3 by coding?

Solved!
Go to solution

Hello:

My DIAdem is 11.0. I am trying to create a layout with 2-4 Yaxis(depending on the channel number of data), but after  creating the 4 Yaxis and curves, i find the curve2,3,4 are still related with Yaxis1 instead of  corresponding to the Yaxis2,3,4. How can i modify this issue with codes?

0 Kudos
Message 1 of 3
(2,786 Views)
Solution
Accepted by topic author DinaDing

In DIAdem 11 have to set the parameter D2CAxisPairNo:

 

Call GraphObjOpen("Diagramm2")
  Call GraphObjOpen("Diagramm2_Curve1")
    D2CAxisPairNo    = 2 ' = Y2
  Call GraphObjClose("Diagramm2_Curve1")
Call GraphObjClose("Diagramm2")

Holger Müller

DIAdem experience since 1996
Turn-key applications - Remote and on-site trainings - On-the-job training

| müller+krahmer GmbH | Koenitzer Straße 14, 07338 Kaulsdorf / Germany |
| Phone: +49 36733 / 2328 - 6 | Mobile: +49 160 / 287 7294 |
| Email: mueller@mueller-krahmer.de | Web: www.mueller-krahmer.de |
Message 2 of 3
(2,748 Views)

Hello:

Thanks so much. This answer is very helpful.. 

0 Kudos
Message 3 of 3
(2,735 Views)