Introducing the PopChart Embedder

The PopChart Embedder is a programming utility that helps you embed a PopChart image into a web page. The utility is available for Java, JavaBeans, JavaScript, .NET, and COM, meaning that it can be used in most of the common web environments.

In this chapter, and throughout most of this manual, we will use the JavaScript PopChart Embedder. The reason for this is that almost all users already know enough HTML and JavaScript to be able to use the JavaScript embedder.

Not to worry, though. The PopChart Embedder API is virtually the same for all versions, You will easily be able to apply example code for the JavaScript embedder to the Java, JavaBean, .NET, or COM embedder.

Important: Though the JavaScript embedder is great for learning how to use PopChart Server, we do not recommend that you use it in a production environment. It is significantly slower than other embedders, and will result in a higher server load. Also, because of the nature of JavaScript, the JavaScript embedder cannot support some of PopChart Embedder's more advanced functionality—such as importing data directly from a database, or streaming PopChart XML or data to PopChart Server.

After you feel comfortable using the PopChart Embedder in general, refer to Chapter 5, "Using PopChart Embedder." That chapter will help you set up the PopChart Embedder for your programming environment.