In this section we'll create a stacked chart by providing data as XML String. |
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 the chart XML is provided through a string variable: |
<?xml version="1.0" encoding="utf-8"?> // Create a string with valid chart data and with xml tags |
In the code, we have passed data through a XML String object named xmlData. Now run the code, you'll get the following chart: |
![]() |