#latest #basic
#latest
#basic
<link rel="stylesheet" href="css/sbchart.css"/> <script type="text/javascript" src="js/sbchart.js"></script>
<div id="chartWrap"></div>
var chart = sb.chart.render("#chartWrap", { data: { columns: [ ["data1", 5, 2, 3, 4, 5, 6], ["data2", 15, -12, 13, -14, 15, 16], ["data3", 25, 22, 23, 24, -25, 26], ] } });
var chart = new sb.chart("#chartWrap", { data: { columns: [ ["data1", 5, 2, 3, 4, 5, 6], ["data2", 15, -12, 13, -14, 15, 16], ["data3", 25, 22, 23, 24, -25, 26], ] } }); chart.render();
var chart = new sb.chart("#chartWrap"); chart.render({ data: { columns: [ ["data1", 5, 2, 3, 4, 5, 6], ["data2", 15, -12, 13, -14, 15, 16], ["data3", 25, 22, 23, 24, -25, 26], ] } });