{"id":334,"date":"2011-03-29T10:44:06","date_gmt":"2011-03-29T10:44:06","guid":{"rendered":"http:\/\/www.ericwhite.com\/home2\/bm8qcmjy\/public_html\/blog\/?p=334"},"modified":"2011-03-29T10:47:58","modified_gmt":"2011-03-29T10:47:58","slug":"update-data-behind-an-embedded-chart-in-an-open-xml-wordprocessingml-document","status":"publish","type":"post","link":"https:\/\/www.ericwhite.com\/blog\/2011\/03\/29\/update-data-behind-an-embedded-chart-in-an-open-xml-wordprocessingml-document\/","title":{"rendered":"Update Data behind an embedded Chart in an Open XML WordprocessingML Document"},"content":{"rendered":"<p>I\u2019ve been lurking over at OpenXMLDeveloper.org, answering questions.\u00a0 A fairly involved question came up recently, which is: If you have an embedded chart in a word-processing document, how do you update the data behind the chart?\u00a0 As it turns out, you have to update the data in two different places.\u00a0 You have to update the data in the embedded spreadsheet, and you have to update cached values in the word-processing document.<\/p>\n<p>I\u2019ve written a <a href=\"http:\/\/openxmldeveloper.org\/archive\/2011\/03\/28\/132189.aspx\" target=\"_blank\">post on OpenXMLDeveloper.org<\/a> that contains example to update the data and update the cached values.\u00a0 In addition, I recorded the following screencast, which walks through the process:<\/p>\n<div id=\"scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:0b9a919a-866c-4f26-910e-6f3e3dc7a724\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px; display: inline; float: none; padding: 0px;\">\n<div><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"448\" height=\"252\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/xOJ_AgXgL-M?hl=en&amp;hd=1\" \/><embed type=\"application\/x-shockwave-flash\" width=\"448\" height=\"252\" src=\"http:\/\/www.youtube.com\/v\/xOJ_AgXgL-M?hl=en&amp;hd=1\"><\/embed><\/object><\/div>\n<div style=\"width: 448px; clear: both; font-size: .8em;\">Walks through the process of updating the data behind a chart that is embedded in an Open XML WordprocessingML document.<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>11 minute video that walks through the process of embedding a chart in a word-processing document, and then programmatically updating that data so that the chart reflects the new data.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_s2mail":"","footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-334","post","type-post","status-publish","format-standard","hentry","category-open-xml","category-wordprocessingml"],"_links":{"self":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/posts\/334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/comments?post=334"}],"version-history":[{"count":2,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/posts\/334\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/posts\/334\/revisions\/336"}],"wp:attachment":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/media?parent=334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/categories?post=334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/tags?post=334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}