[Solved] chart.diagram updating
Posted: Fri Aug 27, 2021 4:12 am
may be a basic question ... did not find answer !
this code run ... but the axis position does not change
worst : checking with XRay, the Position.Y is not change
using next code, checking by XRay, the value changed, but nothing changed in the diagram and if running the sub again the previous value is back !
I'll apreciate any tip !
thanks
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