Home forums Using CanvasJS Xpages Graph Issues Reply To: Xpages Graph Issues

#22408

Priyanka M S
Member

@ajeetkumar786,

You need to make sure that the dataPoints are updated before rendering the chart. If the axis is rendered and the plot area is blank, then there is a possibility that the dataPoints are not passed to chart before rendering it.

Passing the valid dataPoints to chart before calling chart.render() method, should work fine in your case.

__
Priyanka M S
Team CanvasJS