Microsoft Graph Excel获取图表未实现

时间:2018-03-25 07:22:40

标签: office365 microsoft-graph

我正在从Excel文件中使用MS Graph到load a chart

适用于多种图表类型,但如果我尝试检索直方图,图表会返回以下错误:

{  
   "code":"UnsupportedOperation",
   "message":"This operation is not implemented.",
   "innerError":{  
      "request-id":"3085f0fc-c785-45bf-ab65-1833e9fed648",
      "date":"2018-03-25T06:47:28"
   }
}

支持哪些图表类型?

1 个答案:

答案 0 :(得分:1)

I believe it supports the same set as the Excel Web Add-in's ChartCollection.Add() method:

ColumnClustered, ColumnStacked, ColumnStacked100, _3DColumnClustered, _3DColumnStacked, _3DColumnStacked100, BarClustered, BarStacked, BarStacked100, _3DBarClustered, _3DBarStacked, _3DBarStacked100, LineStacked, LineStacked100, LineMarkers, LineMarkersStacked, LineMarkersStacked100, PieOfPie, PieExploded, _3DPieExploded, BarOfPie, XYScatterSmooth, XYScatterSmoothNoMarkers, XYScatterLines, XYScatterLinesNoMarkers, AreaStacked, AreaStacked100, _3DAreaStacked, _3DAreaStacked100, DoughnutExploded, RadarMarkers, RadarFilled, Surface, SurfaceWireframe, SurfaceTopView, SurfaceTopViewWireframe, Bubble, Bubble3DEffect, StockHLC, StockOHLC, StockVHLC, StockVOHLC, CylinderColClustered, CylinderColStacked, CylinderColStacked100, CylinderBarClustered, CylinderBarStacked, CylinderBarStacked100, CylinderCol, ConeColClustered, ConeColStacked, ConeColStacked100, ConeBarClustered, ConeBarStacked, ConeBarStacked100, ConeCol, PyramidColClustered, PyramidColStacked, PyramidColStacked100, PyramidBarClustered, PyramidBarStacked, PyramidBarStacked100, PyramidCol, _3DColumn, Line, _3DLine, _3DPie, Pie, XYScatter, _3DArea, Area, Doughnut, Radar

That said, it sure seems like this should be supported (in both Microsoft Graph and Office.js). I'd suggest opening a UserVoice for Histogram Chart support.