All you need is the CSS file, dowload the full package or simply insert the code below in your web pages, in the <head> section:
<link href="http://lab.sid05.com/EasyCchart/EasyCchart-v02.css" rel="stylesheet" type="text/css">
With this step you've imported the CSS file in your pages; ok, now we need to write the HTML. This is a classical code to show a bar chart:
<dl class="middle">
<dt>Easy Cchart Players Result</dt>
<dd class="v95"><span>the
CSS robot 95%</span></dd>
<dd class="v63"><span>just
a couples of JPGs 63%</span></dd>
<dd class="v30"><span>HTML
vs the Monster 30%</span></dd>
<dd class="v3"><span>Me
3%</span></dd>
</dl>
And the result:
Let me explain some roots.
The first class (in <dl> tag) is the only class needed and you can choose big, middle or small.
Second class is the dimension bar class
named
v# (and
apply at the <dd> tag).
There are 101 classes called v# (from v0 to v100).
You can choose the tool dimension (9 fixed dimension) and also a grid view; just insert another class in the <dl> tag:
<dl class="middle w600grid">
This is the result:
Colors: you can also change the single bar colors; i write 6 colors classes at the moment, green, blue, red, orange, purple, yellow. Insert the color class in every single bar line (<dd> tag):
<dd class="v95 red">...</dd>
<dd class="v63 yellow">...</dd>
Look at the result:
Need more blablabla? I have a blog, it's in italian but if you need more details just write a comment on this post and let me understand...