As is, you won't see anything your array in the console.log. That is for a few reasons. this.myObservableArray is an Observable of type any[]. At most currently, you will see the Observable wrapper in your console, but not the array. Observables are asynchronous, so the line this.myObservableArray = this.httpClient... is setting up the http call to run, but until the Observable returned from that method is subscribed to, the http call won't actually occur. The best way to update your code to see the array from the ts file would be as follows:
import {Observable} from 'rxjs';
import {tap} from 'rxjs/operators';
variable = Number();
myObservableArray : Observable<any[]>;
OnClickFunction(){
this.myObservableArray = this.httpClient.get<any[]>("http://myUrl/?lbs="+this.variable,{responseType: 'json'}).pipe(tap(arr => console.log(arr)));
The | async (or AsyncPipe) will handle subscribing to and unsubscribing from that Observable. The operator tap will allow you to see the array from the ts file without modifying it at all.
console.log(this.myObservable.Array)->console.log(this.myObservableArray). Also, you aren't subscribing to the get function in thets, so if you are seeing it in the 'html', are you using theasyncpipe there?