h5chart Wiki
Status: Beta
Brought to you by:
lenysoft
Displays information in graph references format.
The text can be displayed in rows or flow in natural way.
Can customize the width (automatic height), flow (rows or natural), background, backcolor, border
color and text color, font family and size.
var r=new References();
var pal=getPalette();
r.addReference({color:pal[0],label:'Shirts (10)'});
r.addReference({color:pal[1],label:'Sweaters (20)'});
r.addReference({color:pal[2],label:'T-shirts (30)'});
r.addReference({color:pal[3],label:'Shoes (40)'});
r.set( {
left: 0,
top: 180,
width: 200 ,
order: 'natural',
background: true,
backgroundColor:'#FFFAC9',
borderColor: 'grey',
shadow: true
});
r.setLabelStyle({
font : ' 10px Arial ',
color: 'black'
});
r.draw(canvasId);