@noesiscanvasjs,
There is no change in the API between v1.9.10 and v2.3.1 except change in theme and addition of new features in v2.0. Please refer this blog post for more info. Just replacing canvasjs.min.js should work fine.
Can you share the JSFiddle with your use-case & the chart-options that you are using so that we can look into it, understand it better and help you resolve the issue?
—
Vishwas R
Team CanvasJS