diff --git a/examples/weeks.html b/examples/weeks.html
index 0e3943f..3623104 100644
--- a/examples/weeks.html
+++ b/examples/weeks.html
@@ -46,7 +46,11 @@ Morris.Line({
data: week_data,
xkey: 'period',
ykeys: ['licensed', 'sorned'],
- labels: ['Licensed', 'SORN']
+ labels: ['Licensed', 'SORN'],
+ numXLabels: 7,
+ xLabelFormat: function(x) {
+ var d = new Date(x); return (d.getMonth()+1)+'-'+d.getFullYear()
+ }
});