@samyukta,
Sorry, it’s not possible to show legends for dataPoints as of now. Legends are shown to represent dataSeries incase of column, bar, line, are, etc chart with axis and not dataPoints. Please refer documentation for more information.
—
Vishwas R
Team CanvasJS