Within clearThis()
, you are trying to assign dataPoints to dataSeries. Updating it properly should work fine in this case i.e. Replacing chart1.data = load1;
with chart1.options.data[0].dataPoints = load1;
should work fine. Here is the working code of the same.
—
Vishwas R
Team CanvasJS
Whenever you move finger / pointer on the chart, the chart has to know if you are trying to scroll or interact with the chart. Hence we have implemented a behavior where if you hold the finger for a while on the chart, it captures the event and doesn’t scroll. On the other hand, if you move pointer / finger quickly without pausing, it allows you to scroll the page and chart won’t zoom / pan. Can you try as mentioned above and let us know your feedback!?
—
Vishwas R
Team CanvasJS
We have just released v2.0.1 with this bug fix. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.
—
Vishwas R
Team CanvasJS
We have just released v2.0.1 with this bug fix. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.
—
Vishwas R
Team CanvasJS
Thanks for the suggestion. We will reconsider the behavior in future releases.
—
Vishwas R
Team CanvasJS
Yes, you can set axisY minimum to the lowest y-value. You can achieve that by finding the lowest y-value and changing axisY minimum using set method. Please take a look at this JSFiddle.
—
Vishwas R
Team CanvasJS
You can use convertValueToPixel to get pixel coordinate of the given value on the axis and convertPixelToValue to get the value along axis for the given pixel.
However can you kindly create jsfiddle along with sample data, that helps us understand your scenario better by checking out the chart-options being used and help you out?
—
Vishwas R
Team CanvasJS
Ravneet,
In the previous jsfiddle labels were being shown to the end of the quarter, however you can change that behavior to show in the beginning of every quarter by changing interval according to your requirement. Please take a look at this updated jsfiddle.
—
Vishwas R
Team CanvasJS
Events are not being captured in toolTip. So overriding style to toolTip class should work fine in your case. Please try adding following CSS.
.canvasjs-chart-tooltip, .canvasjs-chart-tooltip > *{
pointer-events: auto !important;
-webkit-user-select: auto !important; /* Safari 3.1+ */
-moz-user-select: auto !important; /* Firefox 2+ */
-ms-user-select: auto !important; /* IE 10+ */
user-select: auto !important; /* Standard syntax */
}
Also please take a look at mouseover event handler function where you can get dataSeries, dataPoints, etc values just by hovering on dataPoint.
—
Vishwas R
Team CanvasJS
Are you looking for adding hyperlink in toolTip? If so, you can do that using toolTipContent as shown in the second example in toolTip page.
If this doesn’t solve your requirement, can you kindly create jsfiddle along with sample data, so that we can understand it better and help you out?
—
Vishwas R
Team CanvasJS
Arun Kumar,
Can you kindly brief more about your requirement, so that we can understand it better and help you out!
—
Vishwas R
Team CanvasJS
You can use stripLines to achieve this. Please take a look at this jsfiddle.
—
Vishwas R
Team CanvasJS
Changing width & height of the chart before exporting it and resetting it back should work fine in your case. Please take a look at this jsfiddle.
—
Vishwas R
Team CanvasJS