The drawing API Marker3 object
Usage example
<script> var line = new RGraph.Line({ id: 'cvs', data: [4,9,1,3,2,6,5], options: { labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'], hmargin: 5, tickmarks: 'endcircle', colors: ['black'] } }).draw() var x = line.coords[2][0], y = line.coords[2][1], radius = 25; var marker3 = new RGraph.Drawing.Marker3({ id: 'cvs', x: x, y: y, radius: radius, options: { fillstyle: 'rgba(255,0,0,1)' } }).draw(); </script>
Properties
Layout style:
Colors
Property | Description | Default |
---|---|---|
fillstyle | The color used to fill the circle. | red |
Interactive features
Events
Property | Description | Default |
---|---|---|
eventsClick | If you want to add your own onclick function you can do so by assigning it to this property. See here for details. | null |
eventsMousemove | If you want to add your own onmousemove function you can do so by assigning it to this property. See here for details. | null |