code: private void updateDots()
  	{
  		ArrayList<Float> xs = serie.getXs();
  		ArrayList<Float> ys = serie.getYs();
  		String color = serie.getColor();
  
  		assert xs.size() == ys.size() : "BAD x and y arrays are not the same size : THEY SHOULD";
  
  		emphasizePoint( -1 );
  
  		int nbPoints = xs.size();
  
  		if( dots == null )
  		{
  			dots = new Circle[nbPoints];
  		}
  		else if( dots.length != nbPoints )
  		{
  			for( int i = 0; i < dots.length; i++ )
  				dots[i].removeFromParent();
  			dots = new Circle[nbPoints];
  		}
  
  		for( int i = 0; i < nbPoints; i++ )
  		{
  			float x = xs.get( i );
  			float y = ys.get( i );
  
  			if( dots[i] == null )
  			{
  				dots[i] = layer.addCircle( ref.getRealX( x ), ref.getRealY( y ), dotNormalSize );
  			}
  			else
  			{
  				dots[i].attr( "cx", ref.getRealX( x ) );
  				dots[i].attr( "cy", ref.getRealY( y ) );
  				dots[i].attr( "r", dotNormalSize );
  			}
  
  			dots[i].attr( "fill", color );
  			dots[i].attr( "opacity", "1" );
  			dots[i].attr( "stroke", dotStrokeColor );
  			dots[i].attr( "stroke-width", dotStrokeWidth );
  		}
  	}
docs: draw dots