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.