Feature Update – *share your program, set *min and *max values on a *chart

Here’s what’s new:

Entice users to *share your program

Users will be able to easily share your program via Facebook, and pretty soon we’ll be adding a Twitter option as well.

Here’s how the button will look to users:

Here’s what they’ll see when they click the button:

And here’s the sample code:

These posts will automatically link to your program and can be customized with three pieces of information:

  • *description: (required) the text description of the program to be shared.
  • *title: (optional) the larger title that will display across the user’s post.
  • *picture: (optional) the image that will appear in the post.

A couple tips to keep in mind:

  • You can use variables in any part of your share data.
  • The ideal image size is 1200 x 630 pixels, or, a 1.9:1 apect ratio.
  • Facebook doesn’t know quite what to make of certain symbols, such as a %. These may need to be written out (e.g. writing “percent” instead of using a % sign), as we’ve done in our example.

Add *min and *max values to your chart


By default, the x- and y-axis of a chart will stretch to a size relative to the largest and smallest bits of data you’re displaying.

You can customize the size of your chart though with ease. For instance:

Setting a *min of 0 won’t be necessary if your chart data is always in the positive, but it can be useful when you have very specific ranges you would like to set.

You can additionally customize the *xaxis with *scatter charts.

 

Update: use .shuffle instead of .randomize

Let’s say you have a collection like so:

If you wanted to randomize the order of a collection, you would previously type >> .randomize

However, a new update requires you to shuffle your collection like so:

Why this change? There was some confusion over the difference between *randomize and .randomize. *randomize still functions as it always did, allowing you to randomly provide one of several possible bits of text or code to the user. With .shuffle though, you don’t just randomize one item in a collection, but shuffle all of them around. You’ll see shuffle used again in another soon-to-launch feature that shuffles question answer options.