1. How can I increase the distance between the axisY2 title and the labels? I found a margin property for the gap between the title and axisy2 title … but I can’t seem to find a “LabelMargin” property to increase the gap as indicated in the URL (example) above.
Sorry, this feature is not available as of now.
2. ALSO -> I would VERY MUCH like to have the DATA VALUE printed in the BAR. On the HTML it is great that the user can slide the mouse interactively and see the value. However, we need to EXPORT as an image and, obviously, that ability is lost. If the value could be printed, it would be helpful.
You can use the indexLabel property to display additional information about a dataPoint. Please refer documentation for more information.
____
Shashi Ranjan
Team CanvasJS
You can achieve the above requirement by removing the label from dataPoints which fall below a threshold value before rendering the chart as shown in this JSFiddle.
____
Shashi Ranjan
Team CanvasJS
When x-values are not passed to dataPoints, it’ll assign the x-value based on the number of dataPoints. As you are performing shift operation every second, x-value doesn’t get incremented. Incrementing the x-value manually along with the y-value and passing it to dataPoint should work fine in your case.
____
Shashi Ranjan
Team CanvasJS
My team has provided you with a solution on our website chat support. In case you have any further questions please feel free to contact sales[at]canvasjs[dot]com.
____
Shashi Ranjan
Team CanvasJS
In this case, updated x-values should be pushed along with y-values to display the dataPoints as shown in this updated JSFiddle.
____
Shashi Ranjan
Team CanvasJS
Thanks for sharing the details. You seem to be facing this issue because the WebKit has dropped the canvas buffer memory from 448MB to 224MB. Because of this, there was some memory issue with CanvasJS Charts in the latest iOS. However, we have optimized memory consumption in CanvasJS v2.3.1 and we will further optimize this in future versions.
____
Shashi Ranjan
Team CanvasJS
To achieve the above the requirement you can set the labelAngle of Axis X to some positive value(for example 25) to re-arrange the Axis labels accordingly.
____
Shashi Ranjan
Team CanvasJS
Yes, you can use viewportMinimum and viewportMaximum on Axis X to zoom/pan chart programmatically.
____
Shashi Ranjan
Team CanvasJS
You can achieve the above requirement by combining Area and Column Chart as shown in this JSFiddle.
____
Shashi Ranjan
Team CanvasJS
Can you please brief me more about what do you mean by “show labels only for Top N datapoints”?
____
Shashi Ranjan
Team CanvasJS
Please take a look at this JSFiddle to add jQuery Slider on Axis X with static data.
____
Shashi Ranjan
Team CanvasJS
Thanks for sharing the details. It seems like a bug, we will be fixing it in future releases.
____
Shashi Ranjan
Team CanvasJS
You can achieve the above requirement by setting the valueFormatString as “hh:mm:ss”, intervalType as “minute” and interval to 5 for Axis X.
____
Shashi Ranjan
Team CanvasJS