Skip to content

Commit

Permalink
small changes to scatterplot formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hamilton committed Oct 21, 2014
1 parent 686fc33 commit 1f9594e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ $(document).ready(function() {
data: data,
chart_type: 'point',
width: trunk.width,
height: trunk.height,
height: trunk.height*1.5,
right: trunk.right,
target: '#scatter1',
xax_format: function(f) {
Expand All @@ -687,13 +687,13 @@ $(document).ready(function() {
y_accessor: 'y'
})
moz_chart({
title: "Least Squares",
description: "Least squares line. To get that, set <i>least_squares</i> to true.",
title: "Simple Line of Best Fit",
description: "For any scatterplot, set <i>least_squares</i> to true to add",
data: data,
least_squares: true,
chart_type: 'point',
width: trunk.width,
height: trunk.height,
height: trunk.height*1.5,
right: trunk.right,
target: '#scatter2',
xax_format: function(f) {
Expand Down

0 comments on commit 1f9594e

Please sign in to comment.