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,393 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")

| müller+krahmer GmbH | Büro: Könitzer Straße 14, 07338 Kaulsdorf |
| Tel.: +49 36733 / 2328 - 6 | Fax: - 7 | Mobil: +49 160 / 287 7294 |
| E-Mail: mueller@mueller-krahmer.de | Web: www.mueller-krahmer.de |
Message 2 of 3
(2,355 Views)

Hello:

Thanks so much. This answer is very helpful.. 

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