Hi Sanjay,
please check the following documentation https://docs.mendix.com/refguide/charts-configuration
and https://docs.mendix.com/howto7/extensibility/charts-basic-create
Basically you have to create following JSON structure
[
{
"x": [ 1, 2 ],
"y": [ 1, 2 ],
"type": "scatter"
}
]