SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been working with the chart webparts, and was wondering if there is a way to add a timestamp to them. Thanks so much.

share|improve this question

You could probably do this with a little JavaScript and CSS.

Use JavaScript to generate the current time, and to place it in an element on the page somewhere, perhaps using jQuery to make that bit easier (for instance, placing it somewhere adjacent to the chart in the DOM), and position it using CSS absolute positioning to place it over the chart.

If you know C# server side programming you could go a step further and override the ChartWebPart class and add the timestamp at the server side.

share|improve this answer
Thank you! One more question: can Javascript access the lastitemmodified date property of the list? That's what I need to be visible. – user13788 Jan 24 '13 at 20:47
You could use SPServices (a jQuery extension, helps you query SharePoint data) to pull out the last modified date - - you'll need to get the first item of the list that comes back, when sorted by modified date descending (if that makes sense). – James Love Jan 24 '13 at 20:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.