Hi,

is there any possibility to set GapWidth and Overlap for Bar Charts in the new chart engine ? I tried the following for a simple bar diagram with two data series:

Sub Main
oSheet = ThisComponent.sheets.getByIndex(0)
oChartShape = oSheet.DrawPage.getByIndex(0)
oChartObject = oChartShape.EmbeddedObject.Component

msgbox oChartObject.Diagram.XAxis.getPropertyValue("GapWidth") 'returns nothing
oChartObject.Diagram.XAxis.setPropertyValue("GapWidth", 30)
msgbox oChartObject.Diagram.XAxis.getPropertyValue("GapWidth") 'returns 30, but no effect in the chart

msgbox oChartObject.Diagram.XAxis.getPropertyValue("Overlap") 'returns nothing
oChartObject.Diagram.XAxis.setPropertyValue("Overlap", 30)
msgbox oChartObject.Diagram.XAxis.getPropertyValue("Overlap") 'returns 30, but no effect in the chart

End Sub


I did not find any properties in chart2 / FirstDiagram ...


ms777

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to