You can achieve the above requirement with the help of stripLines as shown in this JSFiddle.
—
Shashi Ranjan
Team CanvasJS
Glad you fixed it :)
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue at our end or not able to understand the exact requirements or due to the variation in chart-options being used by you and us. Because of these reasons we expect you so share sample project along with sample data(dummy data) which helps us run it locally at our end to understand the use case and help you resolve the issue you are facing.
You can also refer to this article for passing data from controller to view in ASP.Net MVC.
—
Shashi Ranjan
Team CanvasJS
It seems to be working fine at our end.
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 along so that we run the code locally to understand the scenario better and help you out?
—
Shashi Ranjan
Team CanvasJS
Thanks for your suggestion. We will reconsider this behavior in future releases.
—
Shashi Ranjan
Team CanvasJS
As mentioned earlier, when toolTip shared property is enabled all the y-values corresponding to that particular x-value from each of the dataSeries are shown. If a dataSeries does not contain any dataPoints corresponding to that particular x-value it will not be shown in the toolTip.
—
Shashi Ranjan
Team CanvasJS
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 along with a brief description of your exact requirement 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 you are facing and share it with us over Google-Drive or Onedrive along with the sample data along with a brief description of your exact requirement 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
Y-Axis range depends on the range of y-values passed (from dataPoints array) and not on stripLine values. However, you can manually set the range of axisY by setting its minimum and maximum. Please take a look at this updated JSFiddle for the same.
—
Shashi Ranjan
Team CanvasJS
You can use shift method to display only the latest 100 dataPoints in the chart. Please take a look at this updated JSFiddle for the same.
—
Shashi Ranjan
Team CanvasJS
It seems like posting your reply got blocked by Cloudflare. This could happen when your reply has some content that Cloudflare considers as malicious.
Please upload your sample project to Google-Drive or Onedrive and share it with us so that we can look into it and help you resolve.
—
Shashi Ranjan
Team CanvasJS
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 so that we can look into the code, understand the scenario better and help you out?
—
Shashi Ranjan
Team CanvasJS
ToolTip is shown for every dataPoint. When toolTip shared property is set to true, all the y-values from each series for the corresponding x-value in the chart (if any dataPoint present) are shown. If the y-value is not present in one of the series, the toolTip content will show the y-values for the rest of the series. It’s not possible to show the previous y-value when it’s not present in one of the series as it’s for corresponding x-value and not previous.
—
Shashi Ranjan
Team CanvasJS