It would help us understand the scenario better and provide solution faster if you could navigate us to the exact code related to CanvasJS or share a sample by isolating the CanvasJS related code which reproduces the issue.
From what we have observed, sometimes things get delayed mostly when we are unable to reproduce the issue or when we are unable to debug CanvasJS related code as the application has many dependencies (.js files).
—
Vishwas R
Team CanvasJS
It seems to be working fine. Can you kindly share JSFiddle reproducing the issue you are facing so that we can look into it and help you out?
P.S.: Legend will be shown for every series incase of multi-series column, stacked-column, line, area, etc.
—
Vishwas R
Team CanvasJS
You can use valueFormatString to format labels being displayed in axis (setting it to “MMMM YYYY”).
If you are still facing issue, kindly share JSFiddle along with sample data so that we can look into your code, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
Rendering chart on shown.bs.collapse event should work fine in your case. Please take a look at this JSFiddle.
If you are still facing issue, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look in to the code, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS
Julia,
Thanks for your interest in CanvasJS. Our sales team will get in touch with you soon over email. For any sales related queries, please contact sales@canvasjs.com.
—
Vishwas R
Team CanvasJS
Setting viewportMinimum and viewportMaximum to null within rangeChanged will reset the chart as shown in this JSFiddle.
—
Vishwas R
Team CanvasJS
You can get base64 image of chart using toDataURL. And passing this image as image source will work in your case. Please check this JSFiddle.
If you are still facing issue, kindly create JSFiddle reproducing the same and share it with us so that we can look in to the code, understand the use-case better and help yo out.
—
Vishwas R
Team CanvasJS
Currently, there is no documented API to fetch current colorset of dataPoints in a single series – whereas you can get color of dataSeries (incase of multiseries chart as chart.data[index].get("color")
). But you can get the colors of dataPoints as chart._selectedColorSet
. As this API is undocumented it might be removed in the future releases.
As this feature has been requested by many other CanvasJS users, we will consider getting current colorset as public API in the future versions.
—
Vishwas R
Team CanvasJS
Sorry, this feature is not available as of now. However with few lines of code, you can set minimum height to the columns with y-value as 0 as shown in this JSFiddle.
Thanks for your suggestion, we will reconsider this behavior in future releases.
—
Vishwas R
Team CanvasJS
Leo,
You can add minor-grids to axisX, when axisX is of date-time type, as shown in this JSFiddle.
—
Vishwas R
Team CanvasJS
We had fixed this issue in v1.5.6 as addressed in the comment and seems to be working fine across the browsers like Chrome, Edge, etc. But the issue seems to have re-appeared in recent versions of Firefox and we will fix it at the earliest.
—
Vishwas R
Team CanvasJS
You can position image on top of chart as shown in this tutorial or with few lines of code, you can draw it on chart and export as shown in this example.
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce your use-case or not able to understand the exact requirements. Having a JSFiddle helps us in understanding your case better and many a times we can just edit your code on JSFiddle to fix the issue right-away. I request you to brief more along with JSFiddle with your use-case if you have further queries or facing any issue.
—
Vishwas R
Team CanvasJS
Ghanshyam Bhatt,
It seems to be working fine with salesforce lightning component. I tried creating charts in salesforce lightning component with canvasjs.min.js it seems to be working fine. Please take a look at this Github Repo for the working code.
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