<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Soby Line 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.ui.components.min.js"></script>
</head>
<body>
<div id="soby_ChartDiv" ></div>
</body>
</html>
var dataSet1 = new SobyChartDataset();
dataSet1.Title = "Chart1";
dataSet1.Type=SobyChartTypes.LineChart;
dataSet1.Data = [1, 10, 70, 35, 50, 100];
var dataSet2 = new SobyChartDataset();
dataSet2.Title = "Chart2";
dataSet2.Type=SobyChartTypes.LineChart;
dataSet2.Data = [12, 15, 17, 71, 22, 50];
var dataSet3 = new SobyChartDataset();
dataSet3.Title = "Chart3";
dataSet3.Type=SobyChartTypes.LineChart;
dataSet3.Data = [21, 51, 31, 6, 62, 24];
var lineChart = new SobyChart("#soby_ChartDiv", "Line Chart", [dataSet1, dataSet2, dataSet3], "There is no record found.", ["January", "February", "March", "April", "May", "June"]);
lineChart.Width = 600;
lineChart.Height = 300;
lineChart.Legend.Position = SobyChartElementPosition.Top;
lineChart.Legend.VerticalAligment = SobyChartVerticalAligment.Bottom;
lineChart.Legend.HorizontalAligment = SobyChartHorizontalAligment.Right;
lineChart.Initialize();
This example displays all array values