9 Apr 2013

Using a date column in a sharepoint online web chart web part

I added a "web chart" web part to a sharepoint online page from the browser interface.

Next, I decided to run the Data connection wizard to connect my chart to an excel services. In the step 3 of the wizard (Retrieve and filter data), I can preview the Data.

There comes the problem: my Date column display five-digit integers instead of dates. I've tried to change the format of the column in the source excel book to YYYY-MM-DD, is does not solve my issue.

Go into page edit mode for the web part and select Advanced Properties. Click on the link for Series and scroll down to the Data section. Set either the XValueType or YValueType from Auto to Date and click Finish.

Chart web part with Excel services

http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/09/02/how-to-use-the-chart-web-part-with-excel-services.aspx

Using the Excel Services 2010 REST API


Discover Items in a Workbook
http://myserver/mywebsite/_vti_bin/ExcelRest.aspx/Shared%20Documents/Sales_Report.xlsx/Model

Retrieve Various Items in Different Formats
http://myserver/mywebsite/_vti_bin/ExcelRest.aspx/Shared%20Documents/Sales_Report.xlsx/Model/Range




http://msdn.microsoft.com/en-us/library/ff961897(v=office.14).aspx

Total Pageviews