It seems to be working fine with salesforce lightning component. Error could be because of missing jquery when using jquery.canvasjs.min.js or of some other library added in the project. I tried creating charts in salesforce lightning component with canvasjs.min.js and jquery.canvasjs.min.js separately and it seems to be working fine. Please take a look at this Github Repo for the working code that was used in creating the component with jquery.canvasjs.min.js.
If you are still facing the issue, kindly share the complete code over Gist / Google-Drive / Onedrive so that we can try running it at our end, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
CanvasJS library just renders chart with dataPoints provided by you and it don’t modify the dataPoints that you have passed. To add missing dates, you can parse through dataPoints array and add missing dates to it before rendering the chart as shown in this JSFiddle.
—
Vishwas R
Team CanvasJS
Please take a look at this JSFiddle – which is already mentioned in the previous reply-post.
—
Vishwas R
Team CanvasJS
You can apply for Non-Commercial version of CanvasJS here. Please refer FAQ for more info and contact sales@canvasjs.com for further sales related queries.
—
Vishwas R
Team CanvasJS
Chart elements looks blur when either zoom within display setting of windows or browser is changed. Resetting zoom to 100% should work fine.
—
Vishwas R
Team CanvasJS
It seems to be proper and not blur across browsers including Chrome, Firefox, Opera, Edge, IE11.
Can you kindly share your OS, Browser(browser name and its version) details so that we can try at our end and fix the issue, if any?
—
Vishwas R
Team CanvasJS
I have forwarded your query to our sales team. One of our team-member will get in touch with you over mail. Please contact sales@canvasjs.com for further sales related queries.
—
Vishwas R
Team CanvasJS
It seems to be working fine irrespective of chart-type. Can you kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into your code, understand the scenario better and help you out?
—
Vishwas R
Team CanvasJS
Considering this thread as duplicate of Text is Blur and closing this thread.
—
Vishwas R
Team CanvasJS
Importing canvasjs.min.js file to the project as import * as CanvasJS from '/path-to-canvasjs-file/canvasjs.min'
should work fine. Please take a look at this Sample Project.
If you are still facing the issue, please share sample project reproducing the issue you are facing over Google-Drive / Onedrive, so that we can run it locally at our end, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
CanvasJS Chart just renders the data that’s being passed to chart-options. It seems like you are passing x-value(date) as label because of which there could be the mismatch of values. Passing date-time values as x-value, that’s read from the database, should work fine in this case.
—
Vishwas R
Team CanvasJS
Thanks for your comparison and suggestion. We will reconsider this behavior in future releases.
—
Vishwas R
Team CanvasJS
Please refer this documentation-page for step-to-step tutorial on rendering chart from CSV data.
—
Vishwas R
Team CanvasJS