this code run ... but the axis position does not change
worst : checking with XRay, the Position.Y is not change
Code: Select all
sub x
dim Chart, Feuille, Position, p, sxa
feuille = thisComponent.currentController.activeSheet
Chart = Feuille.Charts(1)
sxa = Chart.EmbeddedObject.Diagram.SecondaryXAxis
p = sxa.getPosition
p.Y = 3000
sxa.setPosition(p)
end sub
Code: Select all
sxa.position.Y = 3000
thanks