Please take a look at this jsfiddle.
Please refer to the example of creating dynamic charts in our documentation.
__
Priyanka M S
Team CanvasJS
Please provide a pictorial representation of your requirement with the sample data that you have provided above, so that we can understand the requirement better and help you out.
__
Priyanka M S
Team CanvasJS
Please take a look at this example in our documentation on shifting dataPoints in dynamic charts, which makes the charts readable.
Refer to this youtube tutorial on creating a jsfiddle.
__
Priyanka M S
Team CanvasJS
leo,
You can use the borderColor property of the toolTip to set the required color.
__
Priyanka M S
Team CanvasJS
Manoj,
You can hide legends as you hide the dataSeries, but once the legend is hidden on click, you wouldn’t be able to regain that legend.
Along with setting dataSeries visibility to false in toggleDataSeries method, set showInLegend property of that dataSeries to false.
if (typeof (e.dataSeries.visible) === "undefined" || e.dataSeries.visible) {
e.dataSeries.visible = false;
e.dataSeries.showInLegend = false;
} else {
e.dataSeries.visible = true;
}
__
Priyanka M S
Team CanvasJS
We don’t have official NPM package as of now. However, you can download the library from our download page & integrate Charts & StockCharts with all versions of Angular / AngularJS easily. Below are the steps to import CanvasJS to your app.
1. Save canvasjs.min.js within source-folder of your Angular application ( src or src/assets or src/lib ).
2. Import CanvasJS to your Angular app import * as CanvasJS from './canvasjs.min';
( Remember to give the proper file-path if you have saved library in src/assets or src/lib, etc ).
Please take a look at this gallery page for more examples. You can also download Angular sample project from our download page that you can run locally.
__
Priyanka M S
Team CanvasJS
himanshu,
This feature isn’t available as of now.
__
Priyanka M S
Team CanvasJS
Please refer to our documentation for the available chart types.
__
Priyanka M S
Team CanvasJS
Kindly share a sample project reproducing the issue you are facing along with sample data over Google-Drive or Onedrive, so that we can understand your requirements better and help you out.
__
Priyanka M S
Team CanvasJS