Documentation v8.1.8

Downloads Preview
Google chart tools are powerful, simple to use, and free. For more info see the official site.

Pie Chart Example

Here's an example of a Pie Chart. For more info, please visit the official website.
google.load('visualization', '1', {
    packages: ['corechart', 'bar', 'line']

google.setOnLoadCallback(function () {
    var data = google.visualization.arrayToDataTable([
        ['Task', 'Hours per Day'],
        ['Work', 11],
        ['Eat', 2],
        ['Commute', 2],
        ['Watch TV', 2],
        ['Sleep', 7]

    var options = {
        title: 'My Daily Activities',
        colors: ['#fe3995', '#f6aa33', '#6e4ff5', '#2abe81', '#c7d2e7', '#593ae1']

    var chart = new google.visualization.PieChart(document.getElementById('kt_docs_google_chart_pie'));
    chart.draw(data, options);
<div id="kt_docs_google_chart_column"></div>
Preview Get Help Buy Now