SpiritualStorms
07-10-2004, 04:56 PM
I was going to the Documentation thread of this section, and i saw a link that lead me to a rather interesting site. Here's the link:
http://home.t-online.de/home/lutz.tautenhahn/diagram/introduction.html
At any rate, i did not know you could do diagrams with JavaScript. Imagine that.
Here's an example of the methods that can be used:
<script language="">
document.open();
var D = new Diagram();
D.setFrame( 80, 160, 420, 360 );
D.setBorder( 10, 50, 0, 4 );
D.setText( "X-Lavel" , "Y-Label" , "Title" );
D.setGridColor( "#44cc44" );
D.Draw( "#80ff80" , "#0000ff" , true, "Click On Me!" , "DiagramClick()" );
document.close();
function DiagramClick() {
alert( "Use your own function here!" );
}
</script>
Pretty little fish, isn't she?
http://home.t-online.de/home/lutz.tautenhahn/diagram/introduction.html
At any rate, i did not know you could do diagrams with JavaScript. Imagine that.
Here's an example of the methods that can be used:
<script language="">
document.open();
var D = new Diagram();
D.setFrame( 80, 160, 420, 360 );
D.setBorder( 10, 50, 0, 4 );
D.setText( "X-Lavel" , "Y-Label" , "Title" );
D.setGridColor( "#44cc44" );
D.Draw( "#80ff80" , "#0000ff" , true, "Click On Me!" , "DiagramClick()" );
document.close();
function DiagramClick() {
alert( "Use your own function here!" );
}
</script>
Pretty little fish, isn't she?