This Javascript module is a chart related library.
It was originally created for business needs,
but has been extended for general use.
Samples
The source is in my github repository.
GITHUB
MIT license.
------------
Bar Graph
label1 723
label2 37
label3 127
label4 25
label5 809
label6 610
label1 | 723 | ||
label2 | 37 | ||
label3 | 127 | ||
label4 | 25 | ||
label5 | 809 | ||
label6 | 610 |
Line Graph
Label1.
Label2
Label3
Label4
Label1.
Label2
Label3
Label4
Label1. | ||
Label2 | ||
Label3 | ||
Label4 |
Label1. | ||
Label2 | ||
Label3 | ||
Label4 |
Pie Graph
<script src="https://truemaxdh.github.io/simpleGraph.js/simpleGraph.js">
</script>
<div id='PieGraph' style="width:300; height:300;"></div>
<p id='tblPieGraph'></p>
<script>
var gr = new simpleGraph();
var vals = [163, 21, 3, 15, 25, 55, ];
var lbls = ['label1', 'label2', 'label3', 'label4', 'label5', 'label6'];
gr.drawPieGraph("PieGraph", vals);
gr.showColorLabelValueTable("tblPieGraph", lbls, 30, vals);
</script>
label1 163
label2 21
label3 3
label4 15
label5 25
label6 55
label1 | 163 | ||
label2 | 21 | ||
label3 | 3 | ||
label4 | 15 | ||
label5 | 25 | ||
label6 | 55 |
댓글 없음:
댓글 쓰기