Ignore:
Timestamp:
06/09/12 21:36:15 (13 years ago)
Author:
tbretz
Message:
Fill graph only if it is a single one.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/smartfact/index.js

    r14136 r14137  
    13601360
    13611361    // --- data ---
     1362    var cnt = 0;
    13621363    for (var j=1; j<data.length; j++)
    13631364    {
     
    13751376        ctx.fillStyle = "#"+color(100);
    13761377        ctx.stroke();
     1378
     1379        cnt++;
     1380    }
     1381    if (cnt==1)
    13771382        ctx.fill();
    1378     }
    13791383
    13801384    ctx.beginPath();
Note: See TracChangeset for help on using the changeset viewer.