In this section we'll show you how to create a Combination chart using XMLList |
Before you continue, we recommend that you go through "Your First Chart" section, as we start off from the concepts explained in that section. |
In the following code, data and chart parameters are provided through XMLIst. |
<?xml version="1.0" encoding="utf-8"?> // Create a XMLList object for chart data |
In the code, we have passed data through a XMLList object named chartData. It is essential that only data in appropriate format be provided to the object. We have also created another xmlList object named chartParams for storing the chart parameters and binding them to FCParams attribute. Now, when you run the code, you'll get the following chart: |
![]() |