Here, we'll show how to send data to a Combination chart using Model. For example, here we will build a 2D Single Y Combination Chart using Model as data source. |
Before you go further, we recommend you to see the section "Your First Chart" , as we start off from the concepts explained in that page. |
Here we would use Model object to provide chart data and chart parameters. The code would look like shown below: |
<?xml version="1.0" encoding="utf-8"?> |
As you see in the above code, we passed data through a Model object named chartData. For this, we created the object with valid chart data. We passed the chart parameters through FCParams attribute binding another Model object chartParams to it. chartParams stores all the chart parameters. Now, if you run the above code you will get the following figure. |
![]() |