You can post your question in forum by clicking ‘Ask Question’ button available in the top of the page in every forum. Please refer the screenshot below.
—
Vishwas R
Team CanvasJS
You are trying to update visible property directly and not through chart-options. Updating chart options should work fine in this case. Can you kindly update your code to chart.options.data[i].visible = false;
instead of chart.data[i].visible = false;
and the same in ShowAll() aswell.
If this doesn’t solve your issue, kindly create jsfiddle reproducing the issue, so that we can look in to your code, understand it better and help you out.
—
Vishwas R
Team CanvasJS
Thanks for reporting. We will look into the issue and fix it in the future releases.
—
Vishwas R
Team CanvasJS
if I want to move the point inside the chart shoud i use draggable function ? is the drag of a point supported?
You can overlay custom DOM on top of chart, please refer Chart with Image Overlay for an example on the same.
Dragging and updating the dataPoint is possible in CanvasJS. Please refer ‘Interactivity Example’ in Features section of our homepage for the same. Also please take a look at an example in out gallery on Draggable Column Chart.
can I also keep more points like D, F, G at the same time?
Yes, you can have as many dataPoints and legends as you want.
—
Vishwas R
Team CanvasJS
The behavior of zooming in your case is due to number of dataPoints in each dataSeries. We will reconsider this behavior for future releases.
Showing legends to every dataPoint in bubble chart is not possible, as of now. I would suggest you to use single dataSeries with custom legends as shown in this jsfiddle.
If you have any other queries / issues, kindly create jsfiddle reproducing the issue and share the same.
—
Vishwas R
Team CanvasJS
Thanks for your interest in CanvasJS. One of our team-members will get in touch with you soon and help you out in setting up CanvasJS in your application.
—
Vishwas R
Team CanvasJS
Adding legendText doesn’t affect zooming. The code that you have shared seems to be working fine.
Can you kindly create jsfiddle reproducing the issue, so that we can look into it, understand the use-case better and help you out?
—
Vishwas R
Team CanvasJS
legendText in dataPoint level works only in Pie, Doughnut, Funnel and Pyramid charts, whereas legendText in dataSeries level – that describes the dataSeries, works across every chart type. Setting legendText in dataSeries level should work fine in your case.
However if you are trying to show some text to every dataPoint, you can use indexLabel.
—
Vishwas R
Team CanvasJS
You can set indexLabelLineThickness to show lines drawn from dataPoint to the indexLabel, which defaults to 0 in every chart-type except pie/doughnut. Please take a look at this jsfiddle.
If you specifically looking to show lines downwards, you can do so with couple of lines of code. Please take a look at this jsfiddle.
—
Vishwas R
Team CanvasJS
Can you kindly create jsfiddle reproducing the issue so that we can look into your code, understand the scenario better and help you out?
—
Vishwas R
Team CanvasJS
Charts take chart-container’s width by default. If the width is not set for the chart container, it defaults to 500.
If you mean removing the extra space between the axisY and the dataPoints towards left and right side of the plotArea, you can achieve that by setting minimum and maximum. Please take a look at this jsfiddle.
—
Vishwas R
Team CanvasJS