<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Soby Pie Chart Demo</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<script src="/media/js/jquery-3.1.0.js" type="text/javascript"></script>
<link href="/media/css/soby.ui.components.css" rel="stylesheet" type="text/css" media="all" />
<script src="/media/js/soby.service.js"></script>
<script src="/media/js/soby.ui.components.js"></script>
<script src="/media/js/soby.ui.components.charts.js"></script>
</head>
<body>
<div id="soby_ChartDiv" ></div>
</body>
</html>
var dataSet = new SobyChartDataset();
dataSet.Title = "Chart1";
dataSet.Type=SobyChartTypes.PieChart;
dataSet.Data = [14, 10, 17, 35, 50, 20];
var pieChart = new SobyChart("#soby_ChartDiv", "Pie Chart", [dataSet], "There is no record found.", ["January", "February", "March", "April", "May", "June"]);
pieChart.Label.Format = "$label - $value$ - $percentage%";
pieChart.Width = 600;
pieChart.Height = 300;
pieChart.Initialize();
This example displays all array values