Created attachment 198325 [details] document with macro to change the chart type Open attached document. It contains a line chart "only Points" and a macro to change the chart type to a Histogram chart. Error: Changing does not work. The chart type HistogramDiagram is listed as service in com::sun::star::chart. So it is not exactly the same problem as in bug 164516 for the new 'Of-Pie' chart. But the final solutions might be similar. Problems might be: HistogramDiagram is not contained in offapi/type_reference/offapi.idl HistogramDiagram is missing in chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx But I'm not an expert for charts, so above might be irrelevant and other places might be missing.
Created attachment 198326 [details] Similar to previous attachment, but for to change to column chart This document has the same macro as attachment 198324 [details]. Only that here the type is changed to a BarDiagram (and the amount of data values is reduced). With this document you can test, that the macro for changing the type of the diagram works in principle.
Repro Arch Linux 64-bit Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d0e936765b1b68d614271642629df6c615c7e9ae CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: gtk3 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 8 October 2025