We don’t have official npm package published yet, the npm package that you were using (v1.8.0) is not an official one. Please take a look at Angular Gallery for examples on integrating CanvasJS in Angular project. Also you can download sample project from our download page and run it locally to understand it better.
—-
Manoj Mohan
Team CanvasJS
It’s not possible to control the starting point of label, as of now. We will reconsider this behaviour in future releases.
—–
Manoj Mohan
Team CanvasJS
By setting dataPointWidth based on axis width and number of dataPoints in column chart, histogram chart can be rendered. Please take a look below code snippet for the same
chart.set("dataPointWidth",Math.ceil(chart.axisX[0].bounds.width/chart.data[0].dataPoints.length),true);
Please check this JSFiddle for complete code.
—
Manoj Mohan
Team CanvasJS
Chart animates only on the first / initial render, as of now. We will re-consider this behavior for future releases.
—
Manoj Mohan
Team CanvasJS
Walterw,
Can you kindly share a sample csv so that we can reproduce the issue at our end and help you out?
—-
Manoj Mohan
Team CanvasJS
You can use labelFormatter to format crosshair labels based on your requirement.
—-
Manoj Mohan
Team CanvasJS
Jason,
Glad that you have figured it out :)
Also, you can checkout at this gallery page for more examples for integrating CanvasJS Chart in Angular app. You can also download Angular sample project from our download page that you can run locally.
—-
Manoj Mohan
Team CanvasJS
You can achieve your requirement using viewportMaximum and viewportMinimum as shown in this JSFiddle.
—-
Manoj Mohan
Team CanvasJS
You can create multi series chart as shown in this JSFiddle.
—-
Manoj Mohan
Team CanvasJS