Please take a look at this jsfiddle.
Also please refer to the tutorial on Positioning Images over Chart for more info.
—
Vishwas R
Team CanvasJS
Thanks for your valuable suggestion on labelMinWidth. I will discuss with the team regarding.
Meanwhile, you can get reference of the chart components that are created and set the axis margin as shown in the jsfiddle.
—
Vishwas R
Team CanvasJS
Tooltip doesn’t capture any events. Setting pointer-events: auto !important;
along with setting height and overflow-y should work fine in your case. Please refer this documentation page for more information on toolTip. Also take a look at this JSFiddle for an example on same.
—
Vishwas R
Team CanvasJS
You can add custom colorSet, which is an array of colors, to render chart data with custom colors.
Can you kindly create JSFiddle or share sample project reproducing the issue you are facing over Google-Drive or Onedrive so that we can understand your code & scenario better and help you out.
—
Vishwas R
Team CanvasJS
Exporting chart data as xlsx or csv is not supported as of now. However with couple of lines of code, you can achieve this. Please take a look at this JSFiddle.
—
Vishwas R
Team CanvasJS
Thanks for your feedback.
You can align axisY of multiple chart by setting margin based on axisX bounds. Please take a look at this JSFiddle.
—
Vishwas R
Team CanvasJS
The package that you are using through npm is not an official package but from a third party.
You can download CanvasJS from our download page and save it (canvasjs.min.js) in source folder of your project (‘src/app’ or ‘src/app/assets/js’ or ‘src/app/lib’) and import the CanvasJS library to your app using import * as CanvasJS from './canvasjs.min'
(path may vary based on file location like ‘./assets/js/canvasjs.min’ or ‘./lib/canvasjs.min’).
Out library works with all versions of Angular / AngularJS. Please take a look at this gallery page for examples on integrating CanvasJS in angular apps. Also take a look at this sample project for an example on adding CanvasJS in Angular 5 App.
—
Vishwas R
Team CanvasJS
Vineet,
You can fix the position of the toolTip by adding style to toolTip DOM (canvasjs-chart-tooltip class). Please take a look at this JSFiddle.
—
Vishwas R
Team CanvasJS
Thanks for your interest in purchasing CanvasJS. I have forwarded your query to our sales team. They will get in touch with you soon and assist you purchase appropriate license :)
—
Vishwas R
Team CanvasJS
You can use toolTip contentFormatter to format the content to the be displayed in toolTip. Please take a look at this JSFiddle.
For further queries, kindly create JSFiddle along with sample data, so that we can look into working code, understand it better and help you out.
—
Vishwas R
Team CanvasJS
Please refer this tutorial for step-to-step guide on rendering Live Updating Charts from JSON API & AJAX.
—
Vishwas R
Team CanvasJS
You can assign any valid string as dataSeries name either directly or by passing a variable that’s a string. Please take a look at this jsfiddle.
If you are looking for something else, can kindly create a jsfiddle and brief further about your requirement so that we can understand it better and help you out?
—
Vishwas R
Team CanvasJS
Sankalp,
Retrieving data from database has been handled in service.php which is loaded in index.php using AJAX request. You can combine both into a single php file according to your requirement / coding-style. Please take a look at this updated sample project.
The sample projects shared seems to be working fine, can you kindly check browser console for any errors? Also can you kindly brief more about the issue you are facing like screenshot of the output, whether the chart is rendering with just axis atleast or chart is not at all rendering, etc which helps us understand your scenario better and help you out?
Please refer PHP Chart from Database for an example on rendering chart in PHP from database. Also you can download & checkout PHP Samples from our download page.
—
Vishwas R
Team CanvasJS
Scale-breaks seems to be working fine in the use-case you have shared. However as you have mentioned in your other post, there seems to be issue when candlestick chart is combined with column chart. Please take a look at this updated jsfiddle where the scale-break that you have applied is working fine irrespective of chart-type.
Considering this as duplicate of your other post I’m closing this post.
—
Vishwas R
Team CanvasJS