Add gradient to global example
This commit is contained in:
parent
58a5c90f4d
commit
ffeb914945
|
|
@ -18,8 +18,8 @@
|
|||
<!--<script type="text/javascript">
|
||||
// Initialize container when document is loaded
|
||||
window.onload = function () {
|
||||
paper = Raphael(0, 0, 640, 720, "container");
|
||||
paper.circle(100, 100, 100); //example
|
||||
var paper = Raphael(0, 0, 640, 720, "container");
|
||||
paper.circle(100, 100, 100).attr({'fill':'270-#FAE56B:0-#E56B6B:100'}); //example
|
||||
};
|
||||
//Work here, in a separate script file or via command line
|
||||
</script>-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue