Home forums Using CanvasJS Line Graph Bugs Reply To: Line Graph Bugs




In your case chart is not displayed initially because chart.render is called with data as an empty array. Calling chart.render after initializing data with dataPoints should solve the issue. If still the problem persists creating an jsfiddle will help us to understand the problem better and help you out.

And here you have a typo, instead of showinLegend it will be showInLegend.