Favourite dog breeds
How could you resist such a gorgeous face?! Here's an amusing chart that shows you exactly what you favorite dog breed should be. This type of dog was even starred in the Tom Hanks film Turner and Hooch. A funny film from the 1980's that's definitely worth watching.
The chart demonstrates the
sketch variant (add
variant: 'sketch' to
your chart configuration) that the Bar chart has that gives the
chart more of "hand drawn" look. The background image depicts a French Mastiff dog that was
added using the
The font has been set to
Comic sans MS so that it goes with the style of the chart.
The chart has been given a large bottom margin so that the slogan on the background image is clearly visible.
This goes in the documents header:
<script src="RGraph.common.core.js"></script> <script src="RGraph.bar.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="900" height="550" style="background-color: white; border-radius: 5px; box-shadow: 2px 2px 2px #999"> [No canvas support] </canvas>This is the code that generates the chart: