    

 ## On this page

  

 

 # createDataMonitor

 Last update: 16.07.2025 

abstract fun [createDataMonitor](create-data-monitor.md)(component: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), x: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), y: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [DataMonitor](../-data-monitor/index.md)

create a data monitor and associate it with a particular component

#### Return

a PHXCOMDataMonitor COM object representing the data monitor control

#### Parameters

componentthe name of the component under which to create this data monitortitlethe title of the new data monitorxthe x coordinate (in model space) of the new data monitorythe y coordinate (in model space) of the new data monitor