Hi!
How make visible label data point in the bar chart at OO basic?
[Solved] Show the signature data in the chart
[Solved] Show the signature data in the chart
Last edited by Hagar Delest on Wed Nov 30, 2016 10:38 pm, edited 1 time in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
OpenOffice 3.1 on Windows Vista / NeoOffice 2.2.3 with MacOS 10.4 / OpenOffice 2.4 on Ubuntu 9.04
Re: Show the signature data in the chart
I recorded this code with MRI
Setting DataCaption to 0 sets the data label to NONE, a DataCaption of 1 shows the value, and a DataCaption of 2 shows Percent. That is documented here.
Code: Select all
oSheets = ThisComponent.getSheets()
oObj1 = oSheets.getByIndex(0)
oCharts = oObj1.getCharts()
oObj2 = oCharts.getByIndex(0)
oEmbeddedObject = oObj2.getEmbeddedObject()
oDiagram = oEmbeddedObject.getDiagram()
oDiagram.DataCaption = 0
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: Show the signature data in the chart
Thanks a lot! It is working!FJCC wrote:I recorded this code with MRISetting DataCaption to 0 sets the data label to NONE, a DataCaption of 1 shows the value, and a DataCaption of 2 shows Percent. That is documented here.Code: Select all
oSheets = ThisComponent.getSheets() oObj1 = oSheets.getByIndex(0) oCharts = oObj1.getCharts() oObj2 = oCharts.getByIndex(0) oEmbeddedObject = oObj2.getEmbeddedObject() oDiagram = oEmbeddedObject.getDiagram() oDiagram.DataCaption = 0
OpenOffice 3.1 on Windows Vista / NeoOffice 2.2.3 with MacOS 10.4 / OpenOffice 2.4 on Ubuntu 9.04