Set chart type as Column in VB
-
- Posts: 5
- Joined: Thu Jun 08, 2023 11:15 pm
Set chart type as Column in VB
Is there any way to set chart type as column chart and modify its shape to cylinder from Box?
Last edited by MrProgrammer on Sat Jun 17, 2023 3:56 pm, edited 1 time in total.
Reason: Edited topic's subject
Reason: Edited topic's subject
Abishek M
OpenOffice 4.1
Windows 10
OpenOffice 4.1
Windows 10
Re: Charts in VB
This is the same question as your other thread - what was wrong with the answer you got there?
viewtopic.php?p=538612#p538612
viewtopic.php?p=538612#p538612
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Re: Charts in VB
You can use the XlChartType enumeration in VB to set the chart type and shape. For example, if you want a 3D cylinder column chart, you would use the xlCylinderCol value which is 98. Here's the link to the official Microsoft documentation that provides a full list of available chart types and their corresponding values:https://learn.microsoft.com/en-us/offic ... lcharttype
OpenOffice 4.1.14
OS
OS
-
- Posts: 5
- Joined: Thu Jun 08, 2023 11:15 pm
Re: Charts in VB
I Need to do this using Open office i have done this with Excel already, is there any possible way to have chart like this in open office through VB.
- Attachments
-
- Screenshot 2023-06-13 104753.png (116.86 KiB) Viewed 2230 times
Abishek M
OpenOffice 4.1
Windows 10
OpenOffice 4.1
Windows 10
Re: Charts in VB
VB = Microsoft
Do it with (native) StarBasic.
Studdy this snippet code: viewtopic.php?t=88567
If you do not achieve this, attach a document.
Do it with (native) StarBasic.
Studdy this snippet code: viewtopic.php?t=88567
If you do not achieve this, attach a document.
Co-admin french forum branch
-
- Posts: 5
- Joined: Thu Jun 08, 2023 11:15 pm
Re: Set chart type as Column in VB
https://www.openoffice.org/api/docs/com ... le-ix.html ---> has anyone tried using this in your code
Abishek M
OpenOffice 4.1
Windows 10
OpenOffice 4.1
Windows 10
Re: Set chart type as Column in VB
Did you read my last post?