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: 31
This Week: 2
Last Week: 343
This Month: 1,602
Last Month: 2,555
This Year: 13,332
Germany 31.7% Germany
USA 22.3% USA
France 3.3% France
Italy 2.7% Italy
Indonesia 2.1% Indonesia
Poland 2.0% Poland
Netherlands 1.8% Netherlands
Spain 1.7% Spain





Weather in Ashburn

22nd July, 2024 - 0:40
Overcast Clouds
76°F 73°F min 78°F max
6:02 20:30
Humidity: 80 %
Wind: 2.3 mph South-East
Pressure: 1,017 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.