@gaurav-sharma6,
You can change the position of legends within individual chart by setting verticalAlign & horizontalAlign. Please refer our documentation for more customization options available.
If you are still facing issue kindly create JSFiddle with your use-case and share it with us so that we can look into the code / chart-options being used, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS