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

Trying to build a page with multiple graphs. Looking to use Google Code as it is nicer looking than a simple Excel graph set.

The first set of code always works in the CEWP. But it doesn't matter if I add another set of code to the same CEWP or a completely different CEWP on the same page- it never shows up. However, if I were to go back and delete the first set of code while still having the second set in the editor, the second set will now show up.

The problem is the page only ever accepts ONE graphical codeset, no matter the number of CEWPs. How can I add unlimited sets?

share|improve this question

Try placing your code with the 2 charts on a page outside of SharePoint and see if you have the same problem. If the error occurs only inside the CEWP, then try putting the code for your web part in a text file and store in a document library on your site. Then, in the CEWP use the "Content link" to provide the location to your text file.

share|improve this answer

My guess, quickly checking the html that is generated, is that a chart with an is generated. You should not have two elements with the same ID on your page. Try to generate unique ID's for your placeholder and it should work.

share|improve this answer

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.