Please take a look at this tutorial on rendering chart with dataPoints from user input.
Also refer our gallery section for example on JSP and Spring MVC. You can also download working samples from our download page and try running it locally.
—
Vishwas R
Team CanvasJS
Can you kindly create a sample project reproducing the issue you are facing and share it over Google-Drive or Onedrive so that we can look into your code, understand it better and help you out?
—
Vishwas R
Team CanvasJS
Border to columns / bars (dataPoints) are not available as of now. However with few lines of code, you can achieve the same as shown in this jsfiddle.
—
Vishwas R
Team CanvasJS
We don’t have exporting chart as pdf as an inbuilt feature as of now. However with couple of lines of code you can export chart as pdf using jsPDF. Please find the code-snippet below.
var pdf = new jsPDF();
pdf.addImage(dataURL, 'JPEG', 0, 0);
pdf.save("download.pdf");
Please take a look at this JSFiddle for complete code.
To export multiple charts present in a page, you can merge all charts into single using html2canvas. And then you can export the merged images to pdf using jspdf. Please take a look at this JSFiddle for an example on the same.
Exporting more than 5 charts also seems to be working fine, when you configure html2canvas options accordingly. Please take a look at this updated JSFiddle. Please refer html2canvas documentation for more configuration options available and configure it in your webpage / app accordingly.
—
Vishwas R
Team CanvasJS
@leo,
Email Based Support is available in Priority Support licenses with turnaround time of 24 hours. One of our team member will get in touch with you soon over mail.
—
Vishwas R
Team CanvasJS
Streifix,
You can set gridThickess to 0 to remove grids from any axis.
If this doesn’t solve your requirement, kindly create jsfiddle with the issue you are facing so that we can look into the code and chart-options that you are using, understand it better and help you out.
—
Vishwas R
Team CanvasJS
Please refer tutorial on adding Charts to ASP.NET MVC Applications.
If you are using other technologies like Spring MVC or PHP etc, you can download working sample examples from our download page and try out locally. Also refer examples for ASP.NET MVC, Spring MVC, PHP in Integration section.
—
Vishwas R
Team CanvasJS
Can you kindly create sample project along with sample data and share it over Google-Drive or Onedrive, so that we can look into code, understand it better and help you out?
—
Vishwas R
Team CanvasJS
@leo,
We are looking into the issue that you have mentioned and will get back to you at the earliest.
Meanwhile you can try handling pushing and popping according to the zoom / step-back action performed and let us know your feedback.
—
Vishwas R
Team CanvasJS
Legends will be shown for dataSeries incase of line, column charts. However you can add custom DOM as legend as shown in this jsfiddle.
—
Vishwas R
Team CanvasJS
Please take a look at PHP Chart Data from Database for an example on rendering chart with data from mysql database. If you are using ASP.Net, here is a tutorial on rendering chart with Data from Database.
—
Vishwas R
Team CanvasJS
@leo,
You can hide the zoom / reset toobar by changing CSS visibility property to hidden. Below is the code snippet.
document.getElementsByClassName("canvasjs-chart-toolbar")[0].style.visibility = 'visible';
Please take a look at this updated code.
—
Vishwas R
Team CanvasJS
You can copy base64 image to clipboard as shown in this jsfiddle. Also take a look at this stackoverflow thread for alternative options.
—
Vishwas R
Team CanvasJS
You can copy base64 image to clipboard as shown in this jsfiddle. Also take a look at this stackoverflow thread for alternative options.
—
Vishwas R
Team CanvasJS