Automate LO Calc to generate charts

Hi all

I was hoping to us some command similar to automating Excel like:
CreateObject(“Excel.Application”)

Is this possible in LO? If so is there a comprehensive link that someone can kindly point me to.

Kind regards
Bhavbhuti