Skip to content

Commit

Permalink
Change help answer to what is actually shown in the preview
Browse files Browse the repository at this point in the history
  • Loading branch information
rduivenvoorde authored and nyalldawson committed Oct 13, 2019
1 parent 0eff373 commit 5f24a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/function_help/json/scale_linear
Expand Up @@ -10,8 +10,8 @@
{"arg":"range_max", "description":"Specifies the maximum value in the output range, the largest value which should be output by the function."}
],
"examples": [
{ "expression":"scale_linear(5,0,10,0,100)", "returns":"72"},
{ "expression":"scale_linear(5,0,10,0,100)", "returns":"50"},
{ "expression":"scale_linear(0.2,0,1,0,360)", "returns":"72", "note": "scaling a value between 0 and 1 to an angle between 0 and 360"},
{ "expression":"scale_linear(1500,1000,10000,9,20)", "returns":"10.22", "note": "scaling a population which varies between 1000 and 10000 to a font size between 9 and 20"}
{ "expression":"scale_linear(1500,1000,10000,9,20)", "returns":"9.6111111", "note": "scaling a population which varies between 1000 and 10000 to a font size between 9 and 20"}
]
}

0 comments on commit 5f24a0b

Please sign in to comment.