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
There seems to be issue with variable declaration. Declaring dataPoints2
should work fine in this case. Please take a look at this JSFiddle for working code.
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
The issue seems to with mismatch in the brackets in your code. Please check browser-console for error. Closing the get method, window.onload event and declaring dataPoints variable should work fine in your case.
—
Vishwas R
Team CanvasJS
You can programmatically zoom / pan to a region by setting viewportMinimum & viewportMaximum. Please take a look at this JSFiddle which shows setting viewport based on values entered in input-fields.
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
You can programmatically zoom / pan to a region by setting viewportMinimum & viewportMaximum. Please take a look at this JSFiddle which shows setting viewport based on values entered in input-fields.
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.
Considering this as duplicate of Scaling, hence closing the same.
—
Vishwas R
Team CanvasJS
You can download all versions of CanvasJS from My Account page, once you have purchased the license. Please contact sales@canvasjs.com for sales related queries.
—
Vishwas R
Team CanvasJS
As of now, risingColor and fallingColor are used to fill the body of candlestick chart whereas border of the body and the color of wick can be controlled by color property of dataSeries. To make entire body and wick to have same color, you can set color property of dataPoint. Please take a look at this JSFiddle for an example which shows customizing the entire candlestick to be single color based on their values.
Thanks for sharing the use-case, we will reconsider this behavior in future versions.
—
Vishwas R
Team CanvasJS
For security reasons, browsers restrict cross-origin requests. Serving JSON file from local webserver and making an AJAX call to it or serving it from CORS enabled JSON hosting service like myjson.com should work fine. Please take a look at this JSFiddle.
—
Vishwas R
Team CanvasJS
Glad that it worked for you with some minor modifications :)
And thanks for sharing the modified code, which would help others if they are looking for something similar :)
—
Vishwas R
Team CanvasJS
With few lines of code, you can hide / unhide multiple dataSeries by clicking just one legend and grouping them as shown in this JSFiddle.
My other issue is attempting to make this dynamically load. This is just but one pump and I would have to extract the data for various other pumps. The chart trims, HP, etc. all change drastically and there’s possibly fewer or more series lines. I saw it’s possible to load dataPoints, however is it possible to store and load each series from within data, axisX etc.
CanvasJS Just renders chart with the data being passed to it. You can pass and store anything inside chart, data, etc and access it as chart.options.propertyName (chart.options.data[index].propertyName if stored within dataSeries).
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. Having a JSFiddle helps us in figuring out the issue and many a times we can just edit your code on JSFiddle to fix the issue right-away. I request you to share JSFiddle with your use-case if you have further queries or facing any issue.
—
Vishwas R
Team CanvasJS
Heatmap is there in our Wishlist. But we don’t have definite timeline as we are busy implementing some important features at this point of time.
—
Vishwas R
Team CanvasJS