Home forums Feature Requests & Feedback How to plot the graph based on equation using canvasjs spline? Reply To: How to plot the graph based on equation using canvasjs spline?

#12096

Vishwas R
Keymaster

Prasanth,

You can use JavaScript eval() function to evaluate an expression. According to user input expression generate dataPoints and render chart. Here is an example.