silhouette vs wiggle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Indent everything under h1,h2,h3 and h4 tags with indent width relative to order of headers. | |
<h1>ffoooo</h1> | |
<p> stuff | |
<pre> | |
<h2> | |
<p> level 2 stuff | |
<h3> | |
<h4>level 3 stuff | |
<p> level 4 stuff. | |
<h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="css/rickshaw.css"> | |
<style> body{ margin: 10px; padding: 0 } </style> | |
</head> | |
<body> | |
<div id="dowChart"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).on('resize', function(){ | |
graph.configure({ | |
width: window.innerWidth - 20, | |
height: window.innerHeight - 20 | |
}); | |
graph.render(); | |
}); |