Zero Weight JavaScript Library
Выбрано: 0 | English

JavaScript Charts

This page is under construction now, some charts are not completed. I am using my own free time to work on these things.

chart/pie

<div id="draw5bf0c5453be01"></div>
<script type="text/javascript">
z.Draw.ready(function(){
  new z.Pie({"id":"draw5bf0c5453be01",data:[439,370,198,163,25,10],
	  legends:["Firefox ","Opera","Internet Explorer","Chrome","Opera Mini","Other"],
	  'width':300,
	  'height':150
  });
});
</script>
dependencies: draw/draw, draw/shape, draw/ellipse, draw/rect, draw/line, draw/text
Файлов: 1
file size
pie.js 5.03 KBs

chart/barchart

Bar chart
<div id="draw5bf0c5453bf5c"></div>
<script type="text/javascript">
z.Draw.ready(function(){
  new z.BarChart({"id":"draw5bf0c5453bf5c",data:[[10,50,60,80,40,60,30],[50,60,100,40,20,40,30]],
	  'width':300, 'height':150
  });
});
</script>
dependencies: draw/draw, draw/shape, draw/ellipse, draw/rect, draw/line, draw/text
Файлов: 1
file size
barchart.js 2.28 KBs

chart/linechart

Line chart
<div id="draw5bf0c5453c03c"></div>
<script type="text/javascript">
z.Draw.ready(function(){
  new z.LineChart({"id":"draw5bf0c5453c03c",data:[[439,370,198,163,25,10],[139,270,98,63,5,80]],
	  'width':300, 'height':150,
	  'xlabels':['1 april','2 april','3 april','4 april','5 april','6 april'],
	  'legends':['hits','session']
  });
});
</script>
dependencies: draw/draw, draw/shape, draw/ellipse, draw/rect, draw/line, draw/text, draw/path
Файлов: 1
file size
linechart.js 8.08 KBs