FusionCharts PHP Class API > Creating Multi-series Chart |
||||||||||||||||||
To plot multiple datasets we use Multiseries charts. Consider the Weekly Sales chart for two consecutive months. Here, for each week, we have two sets of data coming from current month and previous month. |
||||||||||||||||||
Let's examine the following data for a multi-series chart. | ||||||||||||||||||
|
||||||||||||||||||
![]() |
||||||||||||||||||
Before you go further with this page, we recommend you to please see the previous page "Creating First Chart " as we start off from concepts explained in that page. |
||||||||||||||||||
Let's go through the code that builds this chart: | ||||||||||||||||||
<?php # Include FusionCharts PHP Class # Create Multiseries Column3D chart object using FusionCharts PHP Class # Set chart attributes # Create a new dataset # Create second dataset ?> <html> <?php
|
||||||||||||||||||
As you can see in the above code, we're doing the following:
|
||||||||||||||||||
Please go through FusionCharts PHP Class API Reference section to know more about the functions used in the above code. | ||||||||||||||||||
And the Multi-series chart is ready! | ||||||||||||||||||
![]() |