The Lasso feature is new in version 6.13 - it allows you to select points on your Scatter chart and highlight them. There are a number of properties that are available to you that allow you to customise that appearance and how the feature behaves (for example a callback function so that you can integrate it into your existing code along with persistence, custom persistence load/save functions and appearance customisation).


[No canvas support]>


Please draw a rectangle around some (or all) of the points on your chart.

Parameter for creation of chart:

{rgraph  chart_name="scatter" type="Scatter" width="600" height="400" data="file" file="plugins/content/rgraph/doc/scatterdata2.json" title="Body Size versus Length of Arms" yaxisTitlePos="0.30" xaxisScaleMin="156" xaxisScaleMax="200" xaxisScale="true" xaxisLabelsOffsety="2" yaxisScaleMin="150" xaxisScaleUnitsPost=" cm" colors="blue"  lasso="true"  lassoPersist="1" lassoPersistLocal="1"
yaxisScaleUnitsPost=" cm" yaxisTitle="Body Size" xaxisTitle=""Length of Arms in cm"  marginLeft="80" trendline="true" trendlineColors="red" trendlineClipping="false"  tickmarksStyle="circle" 
 tooltip="<b>Body Size: #val#cm<br>Length of Arm: #valx#cm" tickmarksSize="6"}cvs{/rgraph}    


Important: If you want to test this sample via copy/paste, ensure that you paste with option "paste as plain text" otherwise imbedded html-codes may invalidate your input.
go back...


Today: 2
Yesterday: 56
This Week: 241
Last Week: 339
This Month: 379
Last Month: 1,626
Total: 231,811
Germany 30.3% Germany
USA 23.4% USA
France 3.3% France
Italy 2.8% Italy
Indonesia 2.1% Indonesia
Poland 2.0% Poland
Netherlands 1.8% Netherlands
Spain 1.8% Spain
India 1.8% India





Weather in Ashburn

9th December, 2023 - 9:12
Clear Sky
38°F 32°F min 44°F max
13:17 22:47
Humidity: 86 %
Wind: 3.4 mph NorthEast
Pressure: 1,021 hPa
Visibility: 32,808 ft
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.