Home Forums StockChart Support Graph with CSV data Reply To: Graph with CSV data

#34188

@usha,

You can show custom text in legend-items by setting legendText property (which falls back to name property). You can achieve this by passing legendText property along with label for each dataPoint as shown in the below code-snippet.

dataPoints.push({
	label: (points[0]),
	legendText: (points[0]),
	y: parseFloat(points[1])
});

Legend-Text in Datapoint Level

If you are still facing issue, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code / chart-options being used, understand the scenario better and help you resolve.

___________
Indranil Deo
Team CanvasJS