## FusionCharts PHP Class API >HTML Embedding
Here, we create a chart using HTML embedding method . We don't need to include FusionCharts.js - FusionCharts JavaScript Embedding Class.
Let's see how to use FusionCharts PHP Class to create a chart using HTML embedding method:
<html> <head> <title>Render as HTML Using FusionCharts PHP Class</title> </head> <body> <?php # Pass true to renderChart() function # to use HTML Embedding Method. # This is helpful if you wish not use FusionCharts.js # or when rendering the chart using AJAX $FC->renderChart(true); ?> </body> </html>
Let's analyze the steps involved in the above code: We don't use FusionCharts.js to embedd javascript. Here, we render the chart as: $FC->renderChart(true); The renderChart() function passes a parameter 'true'.This helps in using HTML Embedding Method. Passing this parameter 'true' helps us not to use FusionCharts.js. This also helps to render chart using AJAX.