Simple Demo


Demo Sample Code

 <div id="mblock_here"></div>
<script>
 $(function () {
    buildMBlock();
 });
 function buildMBlock() {
 var tasks = {
 data: [
    { label: 'Crit', count: '1', backgroundColor: '#fc3927', color: 'black', href: 'http://www.ExtensiveJS.com' },
    { label: 'High', count: '10', backgroundColor: '#fef65b', color: 'black' }, 
    { label: 'Med', count: '99', backgroundColor: '#56c871', color: 'black' } 
 ]
 };
    xtnsvmblock.config.headerText = "Title Here";
    xtnsvmblock.config.footerText = "Widgets";
    xtnsvmblock.config.includeSubPanel = true;
    xtnsvmblock.config.href = "http://www.google.com";
    xtnsvmblock.init($("#mblock_here"));
    xtnsvmblock.parse(tasks);
 };
 </script>