We are looking into your query and will get back to you at the earliest.
—
Shashi Ranjan
Team CanvasJS
Updating chart options based on user selection and re-rendering it should work fine in this case. Please refer this documentation page for more information on updating chart options. Also take a look at this JSFiddle for updating dataPoints based on the value selected from the dropdown list.
—
Shashi Ranjan
Team CanvasJS
Labels are skipped to avoid overlapping. However, to show all the labels, you can set the interval to 1 in axisX (vertical in case of the bar chart).
If this doesn’t fulfill your requirement, kindly create a JSFiddle reproducing the issue you are facing and share it with us along with the sample data and a brief description of your requirement so that we can look into the code, understand the scenario better and help you out?
—
Shashi Ranjan
Team CanvasJS
The range of an axis (minimum and maximum) depends on the range of data being attached to that axis and not just based on x-values of first and last dataPoints. If you like to match the range of both primary and secondary axes, you can do so by setting minimum and maximum as per your requirements. Please take a look at this updated sample.
—
Shashi Ranjan
Team CanvasJS
Can you kindly create a sample project reproducing the issue and share it with us over Google-Drive or Onedrive along with the sample data/database so that we can look into the code, run it locally to understand the scenario better and help you resolve?
—
Shashi Ranjan
Team CanvasJS
Sorry, the feature to rotate axes title is not available as of now.
—
Shashi Ranjan
Team CanvasJS
From the JSFiddle shared above, we can observe that there are a couple of labels with more characters because of which some of the axis labels are skipped to avoid overlapping. This can be customized to show all the labels using interval property.
In your case, setting the axisX interval as 1 should work fine. Please take a look at this updated JSFiddle for the same.
—
Shashi Ranjan
Team CanvasJS
Can you kindly create a sample project reproducing the issue and share it with us over Google-Drive or Onedrive along with the sample data so that we can look into the code, run it locally to understand the scenario better and help you resolve?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—
Shashi Ranjan
Team CanvasJS
Can you kindly create a sample project reproducing the issue and share it with us over Google-Drive or Onedrive along with the sample data so that we can look into the code, run it locally to understand the scenario better and help you resolve?
—
Shashi Ranjan
Team CanvasJS
You can control the interval at which the axes labels are rendered using the interval property. For more customization options please refer to this documentation page.
If this doesn’t fulfill your requirements, kindly create a JSFiddle with your use-case and share it with us so that we can look into the code, understand the scenario better and help you out.
—
Shashi Ranjan
Team CanvasJS
@hai,
Can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with the sample data and a brief description of your requirement so that we can look into the code, understand the scenario better and help you out?
—
Shashi Ranjan
Team CanvasJS
@mat,
The document.getElementById() method returns the HTML DOM element that has the ID attribute with the specified value. To access the methods and properties of the chart, you will have to use its reference(e.g chart.render()). Please refer to this documentation page for more information on accessing the methods and properties of the chart.
—
Shashi Ranjan
Team CanvasJS
In JavaScript month index starts from 0(January) and ends at 11(December). For more information please refer to this StackOverflow page.
____
Shashi Ranjan
Team CanvasJS
It is not a bug. When the % symbol is used in yValueFormatString it multiplies the number by 100 and appends a % sign to it. If you wish to add the % symbol in the indexLabel, kindly use the yValueFormatString as shown in this updated JSFiddle.
—
Shashi Ranjan
Team CanvasJS